14 #include <matrix/vlVector.h>
26 class DtOsgModelInstance;
39 virtual void setRendered(
bool isRendered);
40 virtual bool rendered();
43 virtual void traverse(osg::NodeVisitor& nv);
47 return myLastTraversal;
64 virtual void setRendered(
bool isRendered);
66 virtual void traverse(osg::NodeVisitor& nv);
94 const DtUniqueID& sceneObjectId,
int modelSet,
int visualizerType,
bool intersectOnly =
false);
112 const DtUniqueID& sceneObjectId,
bool intersectOnly =
false);
120 void setPosition(
const DtVector& position );
124 void setOrientation(
const DtTaitBryan& orientation );
129 void setPositionAndOrientation(
const DtVector& position,
const DtTaitBryan& orientation);
138 void setVisible(
bool visible );
144 bool isVisible()
const;
153 void setConnectedWhileHidden(
bool stayConnected );
159 bool connectedWhileHidden()
const;
166 void setModelScalingEnabled(
bool enabled );
172 bool modelScalingEnabled()
const;
182 void setLocalModelScalingEnabled(
bool enabled );
188 bool localModelScalingEnabled()
const;
193 void setLocalModelScalingAmount(
float amount );
198 double localModelScalingAmount()
const;
214 osg::Group* groupRoot();
221 void setSupportFlags(
bool support );
227 virtual void setRendered(
bool rendered);
235 void setTransformModelScalingState();
244 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:87
bool myIntersectOnly
Definition: DtOsgSceneConnector.h:287
osg::ref_ptr< DtFastGroup > myGroup
Definition: DtOsgSceneConnector.h:268
int myModelSet
Definition: DtOsgSceneConnector.h:271
bool myRendered
Definition: DtOsgSceneConnector.h:69
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: featureContext.h:37
bool myModelScalingEnabled
Definition: DtOsgSceneConnector.h:277
bool myLocalModelScalingEnabled
Definition: DtOsgSceneConnector.h:278
Contains makVrv::DtFastGroup class.
osg::ref_ptr< osg::Switch > mySwitch
Definition: DtOsgSceneConnector.h:269
virtual ~DtRenderToggleGroup()
Definition: DtOsgSceneConnector.h:61
osg::ref_ptr< DtRenderToggleTransform > myTransform
Definition: DtOsgSceneConnector.h:267
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
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:22
The base class for simple OSG based model instances. This call can't be instantiated itself...
Definition: DtOsgModelInstance.h:77
float myLocalModelScalingAmount
Definition: DtOsgSceneConnector.h:280
DtDe & myDe
Definition: DtOsgSceneConnector.h:283
float myCurrentLocalModelScaling
Definition: DtOsgSceneConnector.h:281
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:57
Contains makVrv::DtSceneRoot class.
bool myConnectWhileHidden
Definition: DtOsgSceneConnector.h:275
bool myVisible
Definition: DtOsgSceneConnector.h:274
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:42
bool myIsProp
Definition: DtOsgSceneConnector.h:276
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:70
int myVisualizerType
Definition: DtOsgSceneConnector.h:272
DtChannel * myChannel
Definition: DtOsgSceneConnector.h:285