VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtVarjoMixedRealityMask Class Reference

Varjo implementation of mixed reality mask. More...

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

Public Member Functions

 DtVarjoMixedRealityMask (DtDe &de)
 Construction. More...
 
virtual ~DtVarjoMixedRealityMask ()
 DTOR. More...
 
 DtVarjoMixedRealityMask (const DtVarjoMixedRealityMask &other)=delete
 Copy Constructor not implemented – Copy Not Allowed. More...
 
DtVarjoMixedRealityMaskoperator= (const DtVarjoMixedRealityMask &other)=delete
 Assignment Operator Not implemented – Assignment Not Allowed. More...
 
virtual void startMasking () override
 Override to make sure eyeTracking is calibrated. More...
 
- Public Member Functions inherited from makVrv::DtMixedRealityMask
 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 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)
 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...
 
void setupPrepassNode (osg::Node *modelNode)
 allocate prepassnode, attach to offset transform and setup stateset More...
 
- Protected Member Functions inherited from makVrv::DtMixedRealityMask
DtSceneObjectfindSceneObjectFromElement (const DtElementID &id, int modelSet)
 find scene object, used to find the observer attached objects More...
 

Protected Attributes

osg::ref_ptr< osg::Group > myMaskPrePassNode
 
osg::ref_ptr< osg::Program > myMaskProgram
 
bool myEnableColorWrites
 
- Protected Attributes inherited from makVrv::DtMixedRealityMask
DtDemyDe
 
DtVirtualRealityDrivermyDriverHandle
 
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
 

Detailed Description

Varjo implementation of mixed reality mask.

Constructor & Destructor Documentation

makVrv::DtVarjoMixedRealityMask::DtVarjoMixedRealityMask ( DtDe de)

Construction.

virtual makVrv::DtVarjoMixedRealityMask::~DtVarjoMixedRealityMask ( )
virtual

DTOR.

makVrv::DtVarjoMixedRealityMask::DtVarjoMixedRealityMask ( const DtVarjoMixedRealityMask other)
delete

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

DtVarjoMixedRealityMask& makVrv::DtVarjoMixedRealityMask::operator= ( const DtVarjoMixedRealityMask other)
delete

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtVarjoMixedRealityMask::startMasking ( )
overridevirtual

Override to make sure eyeTracking is calibrated.

Reimplemented from makVrv::DtMixedRealityMask.

virtual void makVrv::DtVarjoMixedRealityMask::initalizeMaskingObectImplementation ( std::string  modelFile)
protectedvirtual

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

Implements makVrv::DtMixedRealityMask.

void makVrv::DtVarjoMixedRealityMask::setupPrepassNode ( osg::Node *  modelNode)
protected

allocate prepassnode, attach to offset transform and setup stateset

Member Data Documentation

osg::ref_ptr<osg::Group> makVrv::DtVarjoMixedRealityMask::myMaskPrePassNode
protected
osg::ref_ptr<osg::Program> makVrv::DtVarjoMixedRealityMask::myMaskProgram
protected
bool makVrv::DtVarjoMixedRealityMask::myEnableColorWrites
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)