14 #include <matrix/vlVector.h>
26 class DtOsgModelInstance;
40 virtual void setRendered(
bool isRendered);
41 virtual bool rendered();
44 virtual void traverse(osg::NodeVisitor& nv);
48 return myLastTraversal;
65 virtual void setRendered(
bool isRendered);
67 virtual void traverse(osg::NodeVisitor& nv);
113 const DtUniqueID& sceneObjectId,
bool intersectOnly =
false);
121 void setPosition(
const DtVector& position );
125 void setOrientation(
const DtTaitBryan& orientation );
130 void setPositionAndOrientation(
const DtVector& position,
const DtTaitBryan& orientation,
131 const DtVector& positionOffset,
const DtTaitBryan& orientationOffset );
140 void setVisible(
bool visible );
146 bool isVisible()
const;
155 void setConnectedWhileHidden(
bool stayConnected );
161 bool connectedWhileHidden()
const;
168 void setModelScalingEnabled(
bool enabled );
174 bool modelScalingEnabled()
const;
184 void setLocalModelScalingEnabled(
bool enabled );
190 bool localModelScalingEnabled()
const;
195 void setLocalModelScalingAmount(
float amount );
200 double localModelScalingAmount()
const;
216 osg::Group* groupRoot();
223 void setSupportFlags(
bool support );
229 virtual void setRendered(
bool rendered);
237 void setTransformModelScalingState();
246 void setToVisibleParent(
bool visible =
true,
bool create =
true );
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:91
bool myIntersectOnly
Definition: DtOsgSceneConnector.h:289
osg::ref_ptr< DtFastGroup > myGroup
Definition: DtOsgSceneConnector.h:270
bool myRendered
Definition: DtOsgSceneConnector.h:70
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: featureContext.h:36
bool myModelScalingEnabled
Definition: DtOsgSceneConnector.h:279
bool myLocalModelScalingEnabled
Definition: DtOsgSceneConnector.h:280
Contains makVrv::DtFastGroup class.
osg::ref_ptr< osg::Switch > mySwitch
Definition: DtOsgSceneConnector.h:271
virtual ~DtRenderToggleGroup()
Definition: DtOsgSceneConnector.h:62
osg::ref_ptr< DtRenderToggleTransform > myTransform
Definition: DtOsgSceneConnector.h:269
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:77
The abstract Channel Class.
Definition: DtChannel.h:35
Abstract index into the scene graph. This is used as an argument to functions which interact with dif...
Definition: DtSceneRoot.h:24
The base class for simple OSG based model instances. This call can't be instantiated itself...
Definition: DtOsgModelInstance.h:77
DtModelSetId myModelSet
Definition: DtOsgSceneConnector.h:273
float myLocalModelScalingAmount
Definition: DtOsgSceneConnector.h:282
DtDe & myDe
Definition: DtOsgSceneConnector.h:285
float myCurrentLocalModelScaling
Definition: DtOsgSceneConnector.h:283
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
osg::Group with optimized removeChildren function
Definition: DtFastGroup.h:22
group that can be turned off, used for the different modelsets to quickly early out 3D stuff in planv...
Definition: DtOsgSceneConnector.h:58
Contains makVrv::DtSceneRoot class.
bool myConnectWhileHidden
Definition: DtOsgSceneConnector.h:277
bool myVisible
Definition: DtOsgSceneConnector.h:276
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:44
bool myIsProp
Definition: DtOsgSceneConnector.h:278
Contains makVrv::DtUniqueID type.
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:76
int myVisualizerType
Definition: DtOsgSceneConnector.h:274
DtModelSetId
Definition: DtModelSetEnums.h:19
DtChannel * myChannel
Definition: DtOsgSceneConnector.h:287