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.
|
| virtual | ~DtVirtualRealityChannel () |
| |
| virtual bool | initialize () |
| |
| 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) |
| |
| virtual void | resetViewport () |
| |
| virtual void | setRenderToTexture (bool enabled) |
| |
| virtual void | setIsMultiView (bool enabled, bool useAA) |
| |
| 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::Vec3 &offset, const osg::Vec3 &cameraSpaceOffset, int multiViewEye) |
| |
| DtVariableRateShadingImage * | shadingRateImage () const |
| |
| DtVariableRateShadingImagePalette * | shadingRateImagePalette () const |
| |
| virtual void | installVrsUpdater (DtVariableRateShadingImageUpdater *updater) |
| |
| virtual void | setVrsEnabled (bool enabled) |
| |
| 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 DtWindow * | window () 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 | update () |
| |
| virtual void | connectToObserver () |
| |
| virtual osgViewer::View & | view () |
| |
| virtual DtCameraNode * | sceneCamera () |
| |
| virtual const DtCameraNode * | sceneCamera () const |
| |
| virtual DtCameraNode * | rttCamera () const |
| |
| virtual DtCameraNode * | activeMainCamera () |
| |
| virtual const DtCameraNode * | activeMainCamera () const |
| |
| virtual DtCameraNode * | overlayCamera () |
| |
| virtual DtCameraNode * | normalizedOverlayCamera () |
| |
| 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 DtOsgChannelSensor * | findChannelSensor () |
| |
| virtual void | releaseResources (osg::State *gcState) |
| |
| virtual void | updateShowTracksUniform (bool value) |
| |
| 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) |
| |
| virtual void | projectToWorld (double screenX, double screenY, double &dbX, double &dbY, double &dbZ) |
| |
| virtual DtIntersectorResult | findWorldIntersection (double screenX, double screenY, DtIntersector::IntersectProperties properties=DtIntersector::AllNodes, std::vector< DtElementID > *ignoreList=0) |
| |
| virtual const std::string & | name () |
| |
| virtual void | addPostProcessEffect (const std::string &postProcessorEffect) |
| |
| virtual void | removePostProcessEffect (const std::string &postProcessorEffect) |
| |
| virtual void | set3DCullVisitorParams (DtOsgCullVisitorParameters *params) |
| |
| virtual void | set2DCullVisitorParams (DtOsgCullVisitorParameters *params) |
| |
| virtual | ~DtChannel () |
| |
| DtObserverObject * | findObserver () const |
| |
| unsigned int | currentModelSet () const |
| |
| const DtChannelConfiguration & | configuration () const |
| |
| virtual void | setObserverName (const std::string &observerName) |
| |
virtual
DtChannelConfiguration::ProjectionResizePolicy | projectionResizePolicy () const |
| |
| std::string & | observerName () |
| |
|
| | DtVirtualRealityChannel (DtDe &de, DtOsgWindow *window, DtChannelConfiguration &config) |
| |
| virtual void | projectFor3D () |
| |
| virtual void | projectFor2D () |
| |
| virtual void | updateProjection () |
| |
| virtual void | slot_windowConfigurationModified (const std::string &, const std::string &, const DtWindowConfiguration &) |
| |
| virtual void | initializeSignalConnections () |
| |
| virtual void | getRenderTextureAttachmentInfo (unsigned int &level, unsigned int &face, unsigned int &sampleBuffers, unsigned int &samples) |
| |
virtual osg::ref_ptr
< osg::Texture > | allocateRenderTexture (int width, int height) const |
| |
| | 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 | stopUsingModelSet (int modelSet) |
| |
| virtual void | startUsingModelSet (int modelSet) |
| |
| virtual void | slot_visualizerRootAdded (int modelSet, int visualType) |
| |
| virtual void | slot_shadowsRemoved () |
| |
| virtual void | slot_observerModelSetChanged (DtObserverObject *observer, int modelSet) |
| |
| virtual void | slot_observerSettingChanged (DtObserverObject *observer, int setting, bool value) |
| |
| virtual void | slot_observerSettingRemoved (DtObserverObject *observer, int setting) |
| |
| 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) |
| |
| 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 () |
| |
| | DtChannel (DtDe &de, DtChannelConfiguration &) |
| |
| virtual void | observerAdded (const std::string &observerName) |
| |