16 #include <osg/MatrixTransform>
76 virtual void setColor(
float r,
float g,
float b,
float a);
79 virtual void enableLighting(
bool lit );
82 virtual void enableColorBlending(
bool colorBlend );
85 virtual void setPosition(
int vtx,
const DtVector& position );
92 virtual void setTexturePath(
const std::string& texturePath);
95 virtual void setNumTextureTiles(
double numTiles);
98 virtual void setOrientation(
int vtx,
const DtTaitBryan& orientation );
110 virtual void addPoint(
const DtVector& point,
int index);
113 virtual const VertexList& points()
const;
116 virtual void setPickable(
bool enabled);
119 virtual void removePoint(
int index);
122 virtual void setStipplePattern(
unsigned int stipplePattern);
125 virtual void setWidth(
float width);
128 virtual int pointCount()
const;
134 virtual void updateGeometry();
float bColor
Definition: DtPolygonModelInstance.h:41
std::vector< DtVector > VertexList
Definition: DtPolygonModelInstance.h:35
double numTextureTiles
Definition: DtPolygonModelInstance.h:44
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Model instance to draw a polygon.
Definition: DtPolygonModelInstance.h:31
AttachablePolygonParameters myParameters
The current parameter set.
Definition: DtPolygonModelInstance.h:155
bool lit
Definition: DtPolygonModelInstance.h:46
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:38
float rColor
Definition: DtPolygonModelInstance.h:39
float aColor
Definition: DtPolygonModelInstance.h:42
Contains makVrv::DtOsgModelInstance class.
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
osg::ref_ptr< osg::LineWidth > myLineWidth
Definition: DtPolygonModelInstance.h:150
virtual void setVisible(bool isVisible)
no-op
Definition: DtPolygonModelInstance.h:107
std::string texturePath
Definition: DtPolygonModelInstance.h:43
osg::ref_ptr< osg::Material > myMaterial
Definition: DtPolygonModelInstance.h:151
The base class for simple OSG based model instances. This call can't be instantiated itself...
Definition: DtOsgModelInstance.h:77
Definition: DtPolygonModelInstance.h:37
VertexList myVertices
Definition: DtPolygonModelInstance.h:157
float gColor
Definition: DtPolygonModelInstance.h:40
bool colorBlending
Definition: DtPolygonModelInstance.h:45
static const AttachablePolygonParameters defaultParameters
Default values for the polygon parameters.
Definition: DtPolygonModelInstance.h:138
osg::ref_ptr< osg::BlendFunc > myBlendFunc
Definition: DtPolygonModelInstance.h:152
Contains DLL export macros.
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
osg::ref_ptr< osg::Geode > myGeode
Definition: DtPolygonModelInstance.h:159