15 #include <osg/MatrixTransform>
25 class DtOsgSceneConnector;
40 virtual void setUseTwoPositions(
bool twoPoints);
43 virtual void setDimensions(
float length,
float width,
float height);
46 virtual void setColor(
float r,
float g,
float b,
float a);
49 virtual void setPosition(
int vtx,
const DtVector& position );
52 virtual void setOrientation(
int vtx,
const DtTaitBryan& orientation );
55 virtual void setLightingEnabled(
bool enabled );
58 virtual void setVisible(
bool isVisible);
63 virtual void setIsSupportModel(
bool isSupport);
71 virtual void addToScene(
const DtUniqueID& sceneObjectId,
int modelSet,
75 virtual void removeFromScene();
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgCylinderModel.h:79
Distributed model for drawing cylinders with attached endpoints.
Definition: DtCylinderModel.h:18
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
bool myUseTwoPositions
Definition: DtOsgCylinderModel.h:80
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains DtCylinderModel declaration.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
OSG implementation of distributed cylinder model.
Definition: DtOsgCylinderModel.h:29