![]() |
VR-Forces 4.10 Class Documentation
|
Object to handle rendering a mixed reality mask object into the scene. More...

Public Member Functions | |
| DtMixedRealityMask (DtDe &de) | |
| constructor More... | |
| virtual | ~DtMixedRealityMask () |
| DTOR. More... | |
| virtual void | initalizeMaskingObect (osg::Group *mountTo, osg::Vec3 offset, bool followObserver, std::string modelFile) |
| initalise the mask object by setting the offset, clearing any exisiting children then calling the provider specific implementation More... | |
| virtual void | startMasking () |
| start masking by attaching the node to the scene and enabling our callbacks More... | |
| virtual void | stopMasking () |
| stop masking by dettaching the node from the scene and disabling our callbacks More... | |
| virtual bool | maskingActive () |
| is masking currently active More... | |
| virtual void | setOffset (const osg::Vec3 &offset) |
| set the translation of the offset transform matrix More... | |
| virtual float | nearDepthRange () const |
| returns the near depth range for depth testing MR More... | |
| virtual void | nearDepthRange (float nearDepth) |
| set the far depth range for depth testing MR More... | |
| virtual float | farDepthRange () const |
| returns the near depth range for depth testing MR More... | |
| virtual void | farDepthRange (float farDepth) |
| set the far depth range for depth testing MR More... | |
| virtual void | slot_onPostUpdate () |
| post update event for syncing model with observer position if required More... | |
Protected Member Functions | |
| virtual void | initalizeMaskingObectImplementation (std::string modelFile)=0 |
| provider specific implementation of object initalization, objects should be attached to the offset transform, when this function is called all object transform children will have been removed More... | |
| DtSceneObject * | findSceneObjectFromElement (const DtElementID &id, int modelSet) |
| find scene object, used to find the observer attached objects More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtVirtualRealityDriver * | myDriverHandle |
| DtSignalConnectionManager | myConnections |
| bool | myMaskingActive |
| osg::ref_ptr< osg::Group > | myMountNode |
| osg::Vec3 | myMaskNodeOffset |
| bool | myShouldFollowObserver |
| bool | myUseAttachmentPosition |
| float | myNearDpethRange |
| float | myFarDepthRange |
| osg::ref_ptr < osg::MatrixTransform > | myOffsetTransform |
| osg::ref_ptr < osg::MatrixTransform > | myMixedRealityMaskNode |
Private Member Functions | |
| DtMixedRealityMask (const DtMixedRealityMask &other) | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtMixedRealityMask & | operator= (const DtMixedRealityMask &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Object to handle rendering a mixed reality mask object into the scene.
Typically the it renders an object to the alpha channel only to allow a video feed to be rendered in the transparent areas
|
private |
Copy Constructor not implemented – Copy Not Allowed.
| makVrv::DtMixedRealityMask::DtMixedRealityMask | ( | DtDe & | de | ) |
constructor
|
virtual |
DTOR.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
initalise the mask object by setting the offset, clearing any exisiting children then calling the provider specific implementation
|
virtual |
start masking by attaching the node to the scene and enabling our callbacks
Reimplemented in makVrv::DtVarjoMixedRealityMask.
|
virtual |
stop masking by dettaching the node from the scene and disabling our callbacks
|
virtual |
is masking currently active
|
virtual |
set the translation of the offset transform matrix
|
virtual |
returns the near depth range for depth testing MR
|
virtual |
set the far depth range for depth testing MR
|
virtual |
returns the near depth range for depth testing MR
|
virtual |
set the far depth range for depth testing MR
|
virtual |
post update event for syncing model with observer position if required
|
protectedpure virtual |
provider specific implementation of object initalization, objects should be attached to the offset transform, when this function is called all object transform children will have been removed
Implemented in makVrv::DtVarjoMixedRealityMask, and makVrv::DtOpenVRMixedRealityMask.
|
protected |
find scene object, used to find the observer attached objects
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |