VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
makVrv::DtVirtualRealityChannel Class Reference

A VRV channel that represents the eyes of the HMD A Virtual Reality channel can render in a few different modes. main ones being single channel per eye, or multiview mode where multiple views are rendered in a single pass. In the multiview instance the channels render texture becomes a Texture2DArray and each view is rendered to a different layer of the array.

Inheritance diagram for makVrv::DtVirtualRealityChannel:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtVirtualRealityChannel ()
 
virtual bool initialize () override
 
virtual void setWidth (int width, bool reset=true)
 
virtual void setHeight (int height, bool reset=true)
 
virtual void setViewport (int x, int y, int width, int height) override
 
virtual void resetViewport ()
 
virtual void setRenderToTexture (bool enabled) override
 
virtual void setIsMultiView (bool enabled, bool useAA, int viewCount)
 
virtual bool isMultiView () const
 
virtual void setIgnoreZoom (bool ignore)
 
virtual bool isIgnoringZoom () const
 
virtual void setOverlayViewportMatchesScene (bool shouldMatch)
 
virtual bool overlayViewportMatchedScene ()
 
virtual void setProjectionConfiguration (DtChannelConfiguration::ProjectionUnits units, double left, double right, double bottom, double top, double zNear, double zFar)
 
virtual void setCameraOffsetConfiguration (const osg::Vec3d &trans, const osg::Quat &ori)
 
virtual void getNearFar (double &zNear, double &zFar)
 
virtual osg::Matrix calculateEyeProjecionMatrix (DtChannelConfiguration::ProjectionUnits units, float left, float right, float bottom, float top, float zNear, float zFar)
 
virtual void setFrustumAnglesForEye (const osg::Vec4 &frustumAngles, int multiViewEye)
 
virtual void setProjectionMatrixForEye (const osg::Matrix &matrix, int multiViewEye)
 
osg::Uniform * eyeProjectionMatrixUniform ()
 
osg::Uniform * eyeInverseProjectionMatrixUniform ()
 
virtual void updateProjectionConfigurationForMultiView ()
 
osg::Uniform * eyeOffsetMatrixUniform ()
 
void setOffsetForEye (const osg::Matrix &offset, const osg::Matrix &cameraSpaceOffset, int multiViewEye)
 
osg::Vec2 viewToClipSpace (osg::Vec3d worldCoords, int multiViewEye)
 
DtVariableRateShadingImageshadingRateImage () const
 
DtVariableRateShadingImagePaletteshadingRateImagePalette () const
 
virtual void installVrsUpdater (DtVariableRateShadingImageUpdater *updater)
 
virtual void setVrsEnabled (bool enabled)
 
virtual void setMultiViewUsesAA (bool enabled)
 
virtual void addPostProcessEffect (const std::string &postProcessorEffect) override
 
- Public Member Functions inherited from makVrv::DtOsgChannel
virtual ~DtOsgChannel ()
 
virtual void setSensorName (const std::string &sensorName)
 
virtual void setClearColor (float r, float g, float b, float a)
 
virtual void setWindow (DtWindow *view)
 
virtual const DtWindowwindow () const
 
virtual void clearFrameBufferIfChanged ()
 
virtual void getViewport (int &x, int &y, int &width, int &height) const
 
virtual void setCameraPosition (double x, double y, double z)
 
virtual void setCameraOrientation (double psi, double theta, double phi)
 
virtual void setCameraPositionAndOrientation (double x, double y, double z, double psi, double theta, double phi)
 
virtual void setCameraPositionAndOrientation (osg::Vec3d &pos, osg::Quat &orient)
 
virtual void getCameraPositionAndOrientation (osg::Vec3d &position, osg::Quat &rotation) const
 
virtual void setChannelEnabled (bool enabled, bool partial) override
 
virtual bool channelEnabled () const
 
virtual void stopUsingModelSet (DtModelSetId modelSet)
 
virtual void startUsingModelSet (DtModelSetId modelSet)
 
virtual void update ()
 
virtual void connectToObserver ()
 
virtual osgViewer::View & view ()
 
virtual DtCameraNodesceneCamera ()
 
virtual const DtCameraNodesceneCamera () const
 
virtual DtCameraNoderttCamera () const
 
virtual DtCameraNodeactiveMainCamera ()
 
virtual const DtCameraNodeactiveMainCamera () const
 
virtual DtCameraNodeoverlayCamera ()
 
virtual DtCameraNodenormalizedOverlayCamera ()
 
virtual void setRenderToTextureFormat (int format, int sourceFormat, int sourceType)
 
virtual osg::ref_ptr
< osg::Texture > 
getRenderTexture ()
 
virtual osg::ref_ptr
< osg::Texture > 
getOcculsionTexture ()
 
virtual osg::ref_ptr
< osg::Texture > 
getDepthTexture () const
 
virtual void setDepthTextureUsesStencilBuffer (bool useStencil)
 
virtual bool depthTextureUsesStencilBuffer () const
 
virtual void setEnablePostProcessors (bool enable)
 
virtual bool getEnablePostProcessors ()
 
virtual bool useOldChannelOffsetCalcuation () const
 
virtual void setUseOldChannelOffsetCalcuation (bool enable)
 
virtual bool forceHdrLuminanceOverride ()
 
virtual void setForceHdrLuminanceOverride (bool force)
 
virtual void clearStateGraph (void)
 
virtual void setEnableHdrPassthrough (bool flag)
 
virtual bool enableHdrPassthrough ()
 
virtual void setHdrOutputScale (float scale)
 
virtual float hdrOutputScale ()
 
virtual void screenCapture ()
 
virtual void setOcclusionTextureEnabled (bool enabled)
 
virtual void initOcclusionTexture ()
 
virtual void updateCameraFrustumPlanes (std::vector< DtVector4< double > > &planes)
 
virtual void updateAcquisitionBoxFrustumPlanes (const int &boxCenterX, const int &boxCenterY, const int &boxWidth, const int &boxHeight, std::vector< DtVector4< double > > &planes)
 
virtual void setChannelSensor (DtOsgChannelSensor *extension)
 
virtual DtOsgChannelSensorfindChannelSensor ()
 
virtual void releaseResources (osg::State *gcState)
 
virtual void updateShowTracksUniform (bool value)
 
virtual std::vector< DtElementIDentitiesInFrustum () override
 
virtual int shadowQuality () const
 
virtual std::vector< const
osg::Camera * > 
getShadowableCameras () const
 
virtual void setProjectionResizePolicy (DtChannelConfiguration::ProjectionResizePolicy policy)
 
virtual void projectionUnitsToFrustum (DtChannelConfiguration::ProjectionUnits units, double &left, double zNear, double &right, double &top, double &bottom)
 
virtual void projectionUnitsToFrustumWithZoomAdjustment (DtChannelConfiguration::ProjectionUnits units, double &left, double zNear, double &right, double &top, double &bottom)
 
virtual void connectChannelToScene ()
 
virtual bool processMouseEvent (const DtMouseEvent &ev)
 
virtual bool processKeyboardEvent (const DtKeyEvent &ev)
 
virtual void getWorldToWindowMatrix (osg::Matrix &worldToWindowMatrix) const
 
virtual void moveMouseToScreenLocation (float screenX, float screenY)
 
virtual void projectToScreen (double dbX, double dbY, double dbZ, double &screenX, double &screenY, double &screenZ) const override
 
virtual void projectToWorld (double screenX, double screenY, double &dbX, double &dbY, double &dbZ) const override
 
virtual DtIntersectorResult findWorldIntersection (double screenX, double screenY, DtIntersector::IntersectProperties properties=DtIntersector::AllNodes, std::vector< DtElementID > *ignoreList=0) override
 
virtual const std::string & name ()
 
virtual void removePostProcessEffect (const std::string &postProcessorEffect)
 
virtual bool hasPostProcessEffect (const std::string &postProcessorEffect)
 
virtual void set3DCullVisitorParams (DtOsgCullVisitorParameters *params)
 
virtual void set2DCullVisitorParams (DtOsgCullVisitorParameters *params)
 
- Public Member Functions inherited from makVrv::DtChannel
virtual ~DtChannel ()
 
DtObserverObjectfindObserver () const
 
DtModelSetId currentModelSet () const
 
const DtChannelConfigurationconfiguration () const
 
virtual void setObserverName (const std::string &observerName)
 
virtual
DtChannelConfiguration::ProjectionResizePolicy 
projectionResizePolicy () const
 
std::string & observerName ()
 

Public Attributes

boost::signalslib::signal< void()> signal_renderTextureChanged
 
- Public Attributes inherited from makVrv::DtOsgChannel
boost::signalslib::signal
< void(int, int, int, int)> 
signal_viewportChanged
 

Protected Member Functions

 DtVirtualRealityChannel (DtDe &de, DtOsgWindow *window, DtChannelConfiguration &config)
 
virtual void projectFor3D () override
 
virtual void projectFor2D () override
 
virtual void updateProjection () override
 
virtual void slot_windowConfigurationModified (const std::string &, const std::string &, const DtWindowConfiguration &) override
 
virtual void initializeSignalConnections () override
 
virtual void getRenderTextureAttachmentInfo (unsigned int &level, unsigned int &face, unsigned int &sampleBuffers, unsigned int &samples) override
 
virtual osg::ref_ptr
< osg::Texture > 
allocateRenderTexture (int width, int height) const override
 
- Protected Member Functions inherited from makVrv::DtOsgChannel
 DtOsgChannel (DtDe &de, DtOsgWindow *window, DtChannelConfiguration &config)
 
virtual void makeObserverToCameraMatrix (osg::Vec3d &orient, osg::Matrixd &offsetObserverToCamera, osg::Matrixd &observerToCamera)
 
virtual void makeObserverToCameraMatrix (osg::Quat &qObserverToWorld, osg::Matrixd &offsetObserverToCamera, osg::Matrixd &observerToCamera)
 
virtual void calculateNearFar (double &zNear, double &zFar)
 
virtual bool useAttachedForNearClip (double alt)
 
virtual double calculateNearClip (double alt, double zFar)
 
virtual double calculateFarClip (double alt)
 
virtual double calculateNearClipMagClamp (double zNear, double zFar, float magLevel=2.)
 
virtual void connectRttCameraToScene ()
 
virtual void slot_visualizerRootAdded (DtModelSetId modelSet, int visualType)
 
virtual void slot_shadowsRemoved ()
 
virtual void slot_observerModelSetChanged (DtObserverObject *observer, DtModelSetId modelSet)
 
virtual void slot_observerSettingChanged (DtObserverObject *observer, int setting, bool value)
 
virtual void slot_observerSettingRemoved (DtObserverObject *observer, int setting)
 
virtual void slot_observerColorControlChanged (DtObserverObject *observer)
 
virtual void slot_projectionChanged (DtObserverObject *observer, bool is2D)
 
virtual void slot_channelConfigurationModified (const std::string &deName, const std::string &windowName, const std::string &oldChannelName, const DtChannelConfiguration &channelConfig)
 
virtual void slot_onCoordinateSystemChanged ()
 
virtual void slot_paperMapEnabledChanged (bool setting)
 
virtual void observerRemoved (const std::string &observerName)
 
virtual void updateMultiSampleOverrideSetting ()
 
virtual void initializeRenderTextureColor ()
 
virtual void initializeRenderTextureDepth ()
 
virtual void initializeRttCameraDepth ()
 
virtual void changedRttCameraFbo ()
 
virtual void enableLighting (osg::ref_ptr< osg::Camera > camera, bool enable)
 
virtual void calculateAndSetFocusPointDistance (double zNear, double zFar)
 
osgViewer::CompositeViewer * getOrCreateViewer ()
 
virtual void flipHorizontal (bool flip)
 
bool anyPointInFrustum (const std::vector< DtVector4< double >> &camPlanes, const std::vector< DtVector > &points) const
 
virtual void initializeNormalized2DCamera ()
 
virtual void initialize2DCamera (int w, int h)
 
virtual void initializeSceneCamera ()
 
virtual void initializeRenderTexture ()
 
virtual void initializeRTTCamera ()
 
virtual void clearRttCamera ()
 
virtual void recreateRTTCamera ()
 
virtual void setShadowState (bool enable)
 
virtual void addOverlayDrawablesToCameras ()
 
- Protected Member Functions inherited from makVrv::DtChannel
 DtChannel (DtDe &de, DtChannelConfiguration &)
 
virtual void observerAdded (const std::string &observerName)
 

Protected Attributes

int myViewCount
 
int myWidth
 
int myHeight
 
bool myIsMultiView
 
bool myMultiViewDirty
 
bool myMultiViewUsesAA
 
bool myIgnoreZoom
 
bool myOverlayViewportMatchScene
 
std::vector< osg::Vec4d > myEyeFrustumAngles
 
std::vector< osg::Matrix > myViewOffsets
 
osg::ref_ptr< osg::Uniform > myEyeProjectionMatrixUniform
 
osg::ref_ptr< osg::Uniform > myEyeInverseProjectionMatrixUniform
 
osg::ref_ptr< osg::Uniform > myEyeOffsetMatrixUniform
 
osg::ref_ptr
< DtVariableRateShadingImage
myShadingRateImage
 
osg::ref_ptr
< DtVariableRateShadingImagePalette
myShadingRateImagePalette
 
osg::ref_ptr
< DtVariableRateShadingImageUpdater
myVrsUpdater
 
- Protected Attributes inherited from makVrv::DtOsgChannel
osg::ref_ptr< osgViewer::View > myView
 
DtOsgWindowmyOsgWindow
 
DtOsgObserverObjectmyOsgObserverObject
 
int myRenderTextureFormat
 
int myRenderTextureSourceFormat
 
int myRenderTextureSourceType
 
bool myRenderTextureFormatDirty
 
bool mySensorInitialized
 
bool myChannelEnabled
 
osg::ref_ptr< osg::Group > myRoot
 
osg::ref_ptr< DtCameraNodemySceneCamera
 
osg::ref_ptr< DtCameraNodemy2DCamera
 
osg::ref_ptr< DtCameraNodemyNormalized2DCamera
 
osg::ref_ptr< osg::Texture > myRenderTexture
 
osg::ref_ptr< osg::Texture > myDepthTexture
 
osg::ref_ptr< osg::Texture > myOcclusionTexture
 
bool myDepthTextureUsesStencilBuffer
 
osg::ref_ptr< DtCameraNodemyRTTCamera
 
bool myIsUsingTrackballManipulator
 
bool myCoordinateSystemChanged
 
bool myRenderToTextureFlag
 
bool myShadowState
 
PostProcessorEffectList myPostProcessorEffects
 
osg::Node::NodeMask myOldSceneCameraNodeMask
 
osg::Node::NodeMask myOldRTTCameraNodeMask
 
DtLightmyFlashlight
 
bool myEnablePostProcessors
 
bool myUseOldChannelOffsetCalcuation
 
osg::ref_ptr
< osg::DatabaseRequestHandlerCallback > 
myDatabasePagerCallback
 
bool myEnableHdrPassthrough
 
bool myForceHdrLuminanceOverride
 
float myHdrOutputScale
 
bool myFrameBufferNeedsClear
 
bool myLastMirrorMode
 
double myPreviousClampedNearClipDistance
 
int myLastNumMultiSamplesOverride
 
std::vector< osg::Vec3d > myFocusPoints
 
int myLastFocusPointAttempted
 
DtOsgChannelSensormyChannelSensor
 
bool myShowTracksEnabled
 
DtIntersectorsContainermyIntersectors = nullptr
 
DtOsgEmptySceneLogomyEmptySceneLogo
 
- Protected Attributes inherited from makVrv::DtChannel
DtDemyDe
 
DtChannelConfigurationmyChannelConfiguration
 
DtSignalConnectionManager myConnections
 
DtModelSetId myModelSet
 
DtObserverObjectmyObserver
 
std::string myObserverName
 
DtChannelConfiguration::ProjectionResizePolicy myProjectionResizePolicy
 

Private Member Functions

 DtVirtualRealityChannel ()
 
 DtVirtualRealityChannel (const DtVirtualRealityChannel &other)
 
DtVirtualRealityChanneloperator= (const DtVirtualRealityChannel &other)
 

Friends

class DtVirtualRealityChannelCreator
 

Additional Inherited Members

- Public Types inherited from makVrv::DtOsgChannel
typedef std::list< std::string > PostProcessorEffectList
 
- Protected Types inherited from makVrv::DtOsgChannel
typedef std::map< int,
DtChannelSpecificGroup * > 
VisualTypeMap
 
- Static Protected Attributes inherited from makVrv::DtOsgChannel
static int theRunningCameraId
 

Constructor & Destructor Documentation

makVrv::DtVirtualRealityChannel::DtVirtualRealityChannel ( DtDe de,
DtOsgWindow window,
DtChannelConfiguration config 
)
protected
virtual makVrv::DtVirtualRealityChannel::~DtVirtualRealityChannel ( )
virtual

DTOR.

makVrv::DtVirtualRealityChannel::DtVirtualRealityChannel ( )
private

Default Constructor not implemented.

makVrv::DtVirtualRealityChannel::DtVirtualRealityChannel ( const DtVirtualRealityChannel other)
private

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

virtual bool makVrv::DtVirtualRealityChannel::initialize ( )
overridevirtual

overloaded initialize function to call resetViewport

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::setWidth ( int  width,
bool  reset = true 
)
virtual

if you adjust the width/height, call before setting RTT(true). Internally calls resetViewport

Sets the channel width

virtual void makVrv::DtVirtualRealityChannel::setHeight ( int  height,
bool  reset = true 
)
virtual

set the channel height

virtual void makVrv::DtVirtualRealityChannel::setViewport ( int  x,
int  y,
int  width,
int  height 
)
overridevirtual

Set the viewport.

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::resetViewport ( )
virtual

resets the viewport of the channel using the user set width/height.

virtual void makVrv::DtVirtualRealityChannel::setRenderToTexture ( bool  enabled)
overridevirtual

Toggles whether this channel renders the scene to a texture. Overloaded to not allow the ability to disable render to texture for this channel, since it's only useful with RTT. The post processing manager will attempt to turn it off if there is not an active postprocessor, which ends up breaking things for users of this type of channel.

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::setIsMultiView ( bool  enabled,
bool  useAA,
int  viewCount 
)
virtual

flag that we want the render texture to be setup to use OVR_multiview extension and render two views at once.

virtual bool makVrv::DtVirtualRealityChannel::isMultiView ( ) const
virtual

return true if multivew is active

virtual void makVrv::DtVirtualRealityChannel::setIgnoreZoom ( bool  ignore)
virtual

flag the channel to ignore projection zoom

virtual bool makVrv::DtVirtualRealityChannel::isIgnoringZoom ( ) const
virtual

returns true if the channel is ignoring zoom

virtual void makVrv::DtVirtualRealityChannel::setOverlayViewportMatchesScene ( bool  shouldMatch)
virtual

should the overlay viewports be set when we set the scene/rtt camera viewport

virtual bool makVrv::DtVirtualRealityChannel::overlayViewportMatchedScene ( )
virtual

return true if channel matches the viewports of overlays to scene cameras;

virtual void makVrv::DtVirtualRealityChannel::setProjectionConfiguration ( DtChannelConfiguration::ProjectionUnits  units,
double  left,
double  right,
double  bottom,
double  top,
double  zNear,
double  zFar 
)
virtual

sets the projection configuration for the channel

virtual void makVrv::DtVirtualRealityChannel::setCameraOffsetConfiguration ( const osg::Vec3d &  trans,
const osg::Quat &  ori 
)
virtual

sets the camera offset configuration for the channel

virtual void makVrv::DtVirtualRealityChannel::getNearFar ( double zNear,
double zFar 
)
virtual

gets the projection near and far clip settings

virtual osg::Matrix makVrv::DtVirtualRealityChannel::calculateEyeProjecionMatrix ( DtChannelConfiguration::ProjectionUnits  units,
float  left,
float  right,
float  bottom,
float  top,
float  zNear,
float  zFar 
)
virtual
virtual void makVrv::DtVirtualRealityChannel::setFrustumAnglesForEye ( const osg::Vec4 &  frustumAngles,
int  multiViewEye 
)
virtual

sets myEyeFrustumAngles for a specific eye, used in multiview

virtual void makVrv::DtVirtualRealityChannel::setProjectionMatrixForEye ( const osg::Matrix &  matrix,
int  multiViewEye 
)
virtual

set the projection matrix uniform for a specific eye, used in multiview

osg::Uniform* makVrv::DtVirtualRealityChannel::eyeProjectionMatrixUniform ( )

return the eye projection matrix uniform

osg::Uniform* makVrv::DtVirtualRealityChannel::eyeInverseProjectionMatrixUniform ( )

return the eye inverse projection matrix uniform

virtual void makVrv::DtVirtualRealityChannel::updateProjectionConfigurationForMultiView ( )
virtual

sets the Projection configuration based on the eye frustum angles set for multiview

osg::Uniform* makVrv::DtVirtualRealityChannel::eyeOffsetMatrixUniform ( )

return the eye offset matrix uniform

void makVrv::DtVirtualRealityChannel::setOffsetForEye ( const osg::Matrix &  offset,
const osg::Matrix &  cameraSpaceOffset,
int  multiViewEye 
)

set the eye offset matrix uniform for a specific eye, used in multiview

osg::Vec2 makVrv::DtVirtualRealityChannel::viewToClipSpace ( osg::Vec3d  worldCoords,
int  multiViewEye 
)

project a view/camera space coord into normalized device/clip coords

DtVariableRateShadingImage* makVrv::DtVirtualRealityChannel::shadingRateImage ( ) const

return the shading rate image used for this channel

DtVariableRateShadingImagePalette* makVrv::DtVirtualRealityChannel::shadingRateImagePalette ( ) const

return the shading rate image palette used for this channel

virtual void makVrv::DtVirtualRealityChannel::installVrsUpdater ( DtVariableRateShadingImageUpdater updater)
virtual

install the vrs updater

virtual void makVrv::DtVirtualRealityChannel::setVrsEnabled ( bool  enabled)
virtual

toggle the active state of vrs

virtual void makVrv::DtVirtualRealityChannel::setMultiViewUsesAA ( bool  enabled)
virtual

set the usage of multi sampled AA in multiview mode note: this will force the render textures to be recreated

virtual void makVrv::DtVirtualRealityChannel::addPostProcessEffect ( const std::string &  postProcessorEffect)
overridevirtual

VRV-4240: Catch (and prevent) attempts to add the HBAO post processor.

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::projectFor3D ( )
overrideprotectedvirtual

Projects frustum matrix for 3D viewing.

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::projectFor2D ( )
overrideprotectedvirtual

overload function to create 2D projection matrix using user set width/height

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::updateProjection ( )
overrideprotectedvirtual

overload function to update projection using user set width/height

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::slot_windowConfigurationModified ( const std::string &  ,
const std::string &  ,
const DtWindowConfiguration  
)
overrideprotectedvirtual

overloaded slot called when window configuration changes.

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::initializeSignalConnections ( )
overrideprotectedvirtual

overloaded function to setup signal connections so overloaded slot_windowConfigurationModified is called

Reimplemented from makVrv::DtOsgChannel.

virtual void makVrv::DtVirtualRealityChannel::getRenderTextureAttachmentInfo ( unsigned int level,
unsigned int face,
unsigned int sampleBuffers,
unsigned int samples 
)
overrideprotectedvirtual

brief override so we can set the face value to FACE_CONTROLLED_BY_MULTIVIEW_SHADER and disable samples etc for now if multiview is enabled

Reimplemented from makVrv::DtOsgChannel.

virtual osg::ref_ptr<osg::Texture> makVrv::DtVirtualRealityChannel::allocateRenderTexture ( int  width,
int  height 
) const
overrideprotectedvirtual

Allocate a new texture and set its size, allows custom channedl (DtVirtualRealityChannel) to override.

Reimplemented from makVrv::DtOsgChannel.

DtVirtualRealityChannel& makVrv::DtVirtualRealityChannel::operator= ( const DtVirtualRealityChannel other)
private

Assignment Operator Not implemented – Assignment Not Allowed.

Friends And Related Function Documentation

friend class DtVirtualRealityChannelCreator
friend

Member Data Documentation

boost::signalslib::signal<void()> makVrv::DtVirtualRealityChannel::signal_renderTextureChanged

signaled any time the underlying texture target changes. Used for systems that use the texture as an input for rendering.

int makVrv::DtVirtualRealityChannel::myViewCount
protected
int makVrv::DtVirtualRealityChannel::myWidth
protected
int makVrv::DtVirtualRealityChannel::myHeight
protected
bool makVrv::DtVirtualRealityChannel::myIsMultiView
protected

is multiview being used

bool makVrv::DtVirtualRealityChannel::myMultiViewDirty
protected

has some aspect of the multiview texture format changed

bool makVrv::DtVirtualRealityChannel::myMultiViewUsesAA
protected

should this channel use aa when in multiview

bool makVrv::DtVirtualRealityChannel::myIgnoreZoom
protected

should this channel ignore zoom when computing projection

bool makVrv::DtVirtualRealityChannel::myOverlayViewportMatchScene
protected

should the overlay viewports be set to match the rttcameras

std::vector<osg::Vec4d> makVrv::DtVirtualRealityChannel::myEyeFrustumAngles
protected

store the eye frustum angles so we can more easily update the projection later

std::vector<osg::Matrix> makVrv::DtVirtualRealityChannel::myViewOffsets
protected

view offsets for each eye

osg::ref_ptr<osg::Uniform> makVrv::DtVirtualRealityChannel::myEyeProjectionMatrixUniform
protected

projection matrix uniform for the multiview eyes, single uniform accessing an array of two mat4 values in the shader

osg::ref_ptr<osg::Uniform> makVrv::DtVirtualRealityChannel::myEyeInverseProjectionMatrixUniform
protected

inverse projection matrix uniform for the multiview eyes, single uniform accessing an array of two mat4 values in the shader

osg::ref_ptr<osg::Uniform> makVrv::DtVirtualRealityChannel::myEyeOffsetMatrixUniform
protected

view space offect matrix for the multiview eyes, single uniform accessing an array of two mat4 values in the shader

osg::ref_ptr<DtVariableRateShadingImage> makVrv::DtVirtualRealityChannel::myShadingRateImage
protected
osg::ref_ptr<DtVariableRateShadingImagePalette> makVrv::DtVirtualRealityChannel::myShadingRateImagePalette
protected
osg::ref_ptr<DtVariableRateShadingImageUpdater> makVrv::DtVirtualRealityChannel::myVrsUpdater
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)