21 #include <osg/MatrixTransform>
56 virtual void initalizeMaskingObect(osg::Group* mountTo,
const osg::Vec3&
offset,
57 bool followObserver, std::string modelFile);
60 virtual void startMasking();
63 virtual void stopMasking();
66 virtual bool maskingActive();
69 virtual void setOffset(
const osg::Vec3& offset);
72 virtual float nearDepthRange()
const;
75 virtual void nearDepthRange(
float nearDepth);
78 virtual float farDepthRange()
const;
81 virtual void farDepthRange(
float farDepth);
84 virtual bool chromaKeyActive()
const;
87 virtual void chromaKeyActive(
bool active);
90 virtual osg::Vec3 chromaKeyHsvColor()
const;
93 virtual void chromaKeyHsvColor(osg::Vec3 hsv);
96 virtual osg::Vec3 chromaKeyHsvTolerance()
const;
99 virtual void chromaKeyHsvTolerance(osg::Vec3 tol);
102 virtual osg::Vec3 chromaKeyHsvFalloff()
const;
105 virtual void chromaKeyHsvFalloff(osg::Vec3 falloff);
108 virtual void slot_onPostUpdate();
115 virtual void initalizeMaskingObectImplementation(std::string modelFile) = 0;
Contains DLL export macros.
bool myChromaKeyActive
Definition: DtMixedRealityMask.h:134
osg::Vec3 myChromaHsvFalloff
Definition: DtMixedRealityMask.h:137
osg::Vec3 size
Definition: DtMixedRealityMask.h:30
bool myShouldFollowObserver
Definition: DtMixedRealityMask.h:128
osg::Vec3 myChromaHsvTolerance
Definition: DtMixedRealityMask.h:136
Contains makVrv::DtDe class.
float myFarDepthRange
Definition: DtMixedRealityMask.h:132
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:54
bool myMaskingActive
Definition: DtMixedRealityMask.h:125
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
A driver that manages virtual reality HMD and input devices.
osg::ref_ptr< osg::MatrixTransform > myMixedRealityMaskNode
Definition: DtMixedRealityMask.h:140
osg::Vec3 myMaskNodeOffset
Definition: DtMixedRealityMask.h:127
osg::Vec3 myChromaHsvColor
Definition: DtMixedRealityMask.h:135
bool myUseAttachmentPosition
Definition: DtMixedRealityMask.h:129
osg::Matrixd pose
Definition: DtMixedRealityMask.h:29
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Object to handle rendering a mixed reality mask object into the scene. Typically the it renders an ob...
Definition: DtMixedRealityMask.h:38
int id
Definition: DtMixedRealityMask.h:31
float myNearDpethRange
Definition: DtMixedRealityMask.h:131
DtDe & myDe
Definition: DtMixedRealityMask.h:121
Base class to provide boost signal/slot management.
DtSignalConnectionManager myConnections
Definition: DtMixedRealityMask.h:123
Definition: DtMixedRealityMask.h:27
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:44
DtVirtualRealityDriver * myDriverHandle
Definition: DtMixedRealityMask.h:122
osg::ref_ptr< osg::MatrixTransform > myOffsetTransform
Definition: DtMixedRealityMask.h:139
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
DtModelSetId
Definition: DtModelSetEnums.h:19
osg::ref_ptr< osg::Group > myMountNode
Definition: DtMixedRealityMask.h:126
voidpf uLong offset
Definition: ioapi.h:42
Contains makVrv::DtSceneObject class.