18 #include <osg/MatrixTransform>
28 class DtOsgSceneConnector;
43 virtual void setUseTwoPositions(
bool twoPoints);
46 virtual void setDimensions(
float length,
float width,
float height);
49 virtual void setColor(
float r,
float g,
float b,
float a);
52 virtual void setPosition(
int vtx,
const DtVector& position );
55 virtual void setOrientation(
int vtx,
const DtTaitBryan& orientation );
58 virtual void setLightingEnabled(
bool enabled );
61 virtual void setVisible(
bool isVisible);
66 virtual void setIsSupportModel(
bool isSupport);
74 virtual void addToScene(
const DtUniqueID& sceneObjectId,
int modelSet,
78 virtual void removeFromScene();
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgCylinderModel.h:82
Distributed model for drawing cylinders with attached endpoints.
Definition: DtCylinderModel.h:21
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:83
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
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:32