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 );
132 void setPositionAndOrientation(
const DtVector& position,
const DtTaitBryan& orientation,
133 const DtVector& positionOffset,
const DtTaitBryan& orientationOffset );
142 void setVisible(
bool visible );
148 bool isVisible()
const;
157 void setConnectedWhileHidden(
bool stayConnected );
163 bool connectedWhileHidden()
const;
170 void setModelScalingEnabled(
bool enabled );
176 bool modelScalingEnabled()
const;
186 void setLocalModelScalingEnabled(
bool enabled );
192 bool localModelScalingEnabled()
const;
197 void setLocalModelScalingAmount(
float amount );
202 double localModelScalingAmount()
const;
218 osg::Group* groupRoot();
225 void setSupportFlags(
bool support );
231 virtual void setRendered(
bool rendered);
239 void setTransformModelScalingState();
248 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:92
bool myIntersectOnly
Definition: DtOsgSceneConnector.h:291
osg::ref_ptr< DtFastGroup > myGroup
Definition: DtOsgSceneConnector.h:272
bool myRendered
Definition: DtOsgSceneConnector.h:70
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: featureContext.h:36
bool myModelScalingEnabled
Definition: DtOsgSceneConnector.h:281
bool myLocalModelScalingEnabled
Definition: DtOsgSceneConnector.h:282
Contains makVrv::DtFastGroup class.
osg::ref_ptr< osg::Switch > mySwitch
Definition: DtOsgSceneConnector.h:273
virtual ~DtRenderToggleGroup()
Definition: DtOsgSceneConnector.h:62
osg::ref_ptr< DtRenderToggleTransform > myTransform
Definition: DtOsgSceneConnector.h:271
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:275
float myLocalModelScalingAmount
Definition: DtOsgSceneConnector.h:284
DtDe & myDe
Definition: DtOsgSceneConnector.h:287
float myCurrentLocalModelScaling
Definition: DtOsgSceneConnector.h:285
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:279
bool myVisible
Definition: DtOsgSceneConnector.h:278
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:280
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:276
DtModelSetId
Definition: DtModelSetEnums.h:19
DtChannel * myChannel
Definition: DtOsgSceneConnector.h:289