16 #include <osg/MatrixTransform>
17 #include <osg/ShapeDrawable>
65 virtual void setDimensions(
double x,
double y,
double z);
68 virtual void setColor(
float r,
float g,
float b,
float a);
71 virtual void setLightingEnabled(
bool enabled );
90 virtual void buildGeometry(
const AttachedCylinderParameters& parameters);
93 virtual void buildState(
const AttachedCylinderParameters& parameters);
float yLength
Definition: DtArticulatingCylinderModelInstance.h:31
osg::ref_ptr< osg::ShapeDrawable > myCylinderDrawable
Definition: DtArticulatingCylinderModelInstance.h:100
osg::ref_ptr< osg::MatrixTransform > myTransform
Definition: DtArticulatingCylinderModelInstance.h:108
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: DtArticulatingCylinderModelInstance.h:28
float xLength
Definition: DtArticulatingCylinderModelInstance.h:30
float zLength
Definition: DtArticulatingCylinderModelInstance.h:32
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:38
Model instance to draw a cuboid.
Definition: DtArticulatingCylinderModelInstance.h:23
Contains makVrv::DtOsgModelInstance class.
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
bool flashing
Definition: DtArticulatingCylinderModelInstance.h:37
float aColor
Definition: DtArticulatingCylinderModelInstance.h:36
The base class for simple OSG based model instances.
Definition: DtOsgModelInstance.h:76
float bColor
Definition: DtArticulatingCylinderModelInstance.h:35
float rColor
Definition: DtArticulatingCylinderModelInstance.h:33
osg::ref_ptr< osg::Geode > myBackGeode
Geode to draw the geometry with frontface culling.
Definition: DtArticulatingCylinderModelInstance.h:106
AttachedCylinderParameters myParameters
The current parameter set.
Definition: DtArticulatingCylinderModelInstance.h:98
Contains DLL export macros.
osg::ref_ptr< osg::Geode > myFrontGeode
Geode to draw the geometry with backface culling.
Definition: DtArticulatingCylinderModelInstance.h:103
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
float gColor
Definition: DtArticulatingCylinderModelInstance.h:34
virtual void setVisible(bool isVisible)
no-op
Definition: DtArticulatingCylinderModelInstance.h:85
static const AttachedCylinderParameters defaultParameters
Default values for the cuboid parameters.
Definition: DtArticulatingCylinderModelInstance.h:41