13 #ifndef DtArticulatingCylinderModelInstance_H_
14 #define DtArticulatingCylinderModelInstance_H_
20 #include <osg/MatrixTransform>
21 #include <osg/ShapeDrawable>
54 virtual void setDimensions(
double x,
double y,
double z);
57 virtual void setColor(
float r,
float g,
float b,
float a);
60 virtual void setLightingEnabled(
bool enabled );
78 virtual void buildGeometry(
const AttachedCylinderParameters& parameters);
81 virtual void buildState(
const AttachedCylinderParameters& parameters);
float yLength
Definition: DtArticulatingCylinderModelInstance.h:35
osg::ref_ptr< osg::ShapeDrawable > myCylinderDrawable
Definition: DtArticulatingCylinderModelInstance.h:86
osg::ref_ptr< osg::MatrixTransform > myTransform
Definition: DtArticulatingCylinderModelInstance.h:94
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: DtArticulatingCylinderModelInstance.h:32
float xLength
Definition: DtArticulatingCylinderModelInstance.h:34
float zLength
Definition: DtArticulatingCylinderModelInstance.h:36
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:33
Model instance to draw a cuboid.
Definition: DtArticulatingCylinderModelInstance.h:27
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:41
float aColor
Definition: DtArticulatingCylinderModelInstance.h:40
The base class for simple OSG based model instances.
Definition: DtOsgModelInstance.h:72
float bColor
Definition: DtArticulatingCylinderModelInstance.h:39
float rColor
Definition: DtArticulatingCylinderModelInstance.h:37
osg::ref_ptr< osg::Geode > myBackGeode
Geode to draw the geometry with frontface culling.
Definition: DtArticulatingCylinderModelInstance.h:92
AttachedCylinderParameters myParameters
The current parameter set.
Definition: DtArticulatingCylinderModelInstance.h:84
Contains DLL export macros.
osg::ref_ptr< osg::Geode > myFrontGeode
Geode to draw the geometry with backface culling.
Definition: DtArticulatingCylinderModelInstance.h:89
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
float gColor
Definition: DtArticulatingCylinderModelInstance.h:38
virtual void setVisible(bool isVisible)
no-op
Definition: DtArticulatingCylinderModelInstance.h:73
static const AttachedCylinderParameters defaultParameters
Default values for the cuboid parameters.
Definition: DtArticulatingCylinderModelInstance.h:45