VR-Forces 4.8 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 | Private Member Functions
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)
 prevent copy construction More...
 
virtual ~DtVarjoMixedRealityMask ()
 DTOR. 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 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 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
 
- 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
 

Private Member Functions

 DtVarjoMixedRealityMask (const DtVarjoMixedRealityMask &other)
 Copy Constructor not implemented – Copy Not Allowed. More...
 
DtVarjoMixedRealityMaskoperator= (const DtVarjoMixedRealityMask &other)
 Assignment Operator Not implemented – Assignment Not Allowed. More...
 

Detailed Description

Varjo implementation of mixed reality mask.

Constructor & Destructor Documentation

makVrv::DtVarjoMixedRealityMask::DtVarjoMixedRealityMask ( const DtVarjoMixedRealityMask other)
private

Copy Constructor not implemented – Copy Not Allowed.

makVrv::DtVarjoMixedRealityMask::DtVarjoMixedRealityMask ( DtDe de)

prevent copy construction

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

DTOR.

Member Function Documentation

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

Assignment Operator Not implemented – Assignment Not Allowed.

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

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)