![]() |
VR-Forces 5.0.2 Developer's Guide
|
Distributed model for drawing polygons on the overlay layer.

Public Member Functions | |
| DtOverlayPolygonModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOverlayPolygonModel () |
| virtual void | setEventsEnabled (bool)=0 |
| virtual void | setEventWidth (float width)=0 |
| virtual void | set2dOffset (int index, float x, float y)=0 |
| virtual void | set3dDirection2dLength (int index, float x, float y, float z, float len)=0 |
| virtual void | setFillPattern (const std::vector< unsigned int > &)=0 |
| virtual void | setOutline (bool)=0 |
| virtual void | setInsideColor (float r, float g, float b, float a)=0 |
| virtual void | setOutsideColor (float r, float g, float b, float a)=0 |
| virtual void | setSolidFillCenter (bool)=0 |
| virtual void | setGroup (int)=0 |
| virtual const DtVector & | origin () const =0 |
Public Member Functions inherited from makVrv::DtPolygonModel | |
| DtPolygonModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtPolygonModel () |
| virtual void | addPoint (const DtVector &point, int index)=0 |
| virtual void | setPickable (bool enabled)=0 |
| virtual void | removePoint (int index)=0 |
| virtual int | pointCount () const =0 |
| virtual DtVector | point (int) const =0 |
| virtual void | setPoint (int index, const DtVector &)=0 |
| virtual void | setOrigin (const DtVector &)=0 |
| virtual void | setStipplePattern (unsigned int stipplePattern)=0 |
| virtual void | setWidth (float width)=0 |
| virtual void | setTexturePath (const std::string &texturePath)=0 |
| virtual void | setNumTextureTiles (double numTiles)=0 |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| virtual void | setUseDynamicOrigin (bool)=0 |
| virtual void | setFill (bool) |
| virtual const std::vector < DtVector > & | points () const =0 |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize=true) |
| virtual void | setModelDefinition (const std::string &str) |
| virtual const std::string & | modelDefinitionName () |
| virtual void | saveModelToFile (const std::string &filename) |
| virtual const std::string & | className () const |
| unsigned int | transformSize () const |
| virtual void | setPosition (int vtx, const DtVector &position) |
| virtual const DtVector & | position (int vtx=0) const |
| virtual void | removePosition (int vtx) |
| virtual void | setPositionOffset (const DtVector &positionOffset) |
| virtual const DtVector & | positionOffset () const |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| virtual void | setPositionAndOrientation (int vtx, const DtVector &positionOffset, const DtTaitBryan &orientation) |
| virtual const DtTaitBryan & | orientation (int vtx=0) const |
| virtual void | setOrientationOffset (const DtTaitBryan &orientationOffset) |
| virtual const DtTaitBryan & | orientationOffset () const |
| virtual void | enableColorBlending (bool b) |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| virtual void | getBlendColor (float &r, float &g, float &b, float &a) |
| virtual bool | colorBlendingEnabled () const |
| virtual void | enableLighting (bool l) |
| virtual int | modelSet () const |
| const DtVector & | boundingBoxExtents () const |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| const DtVector & | boundingBoxCenter () const |
| virtual void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| virtual void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| void | setContributesToBound (bool trueOrFalse) |
| bool | contributesToBound () const |
| DtDe & | de () |
| virtual void | setModelInstance (DtModelInstance *modelInstance) |
| virtual void | promoteBackgroundModelInstance (DtModelDefinition &defintion) |
| virtual void | setVisible (bool isVisible) |
| virtual bool | visible () const |
| DtUniqueID | parentSceneObjectID () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, int modelSet, int visualizerType) |
| virtual void | setElementId (DtUniqueID id) |
| virtual void | removedFromSceneObject () |
| virtual void | setIsSupportModel (bool isSupport)=0 |
| virtual void | setSolid (bool isSolid) |
| virtual bool | isProp () |
| virtual void | updateMinLastFrameDistance (float distance) |
| virtual void | resetLastFrameDistance () |
| virtual float | minLastFrameDistance () const |
| virtual DtModelInstance * | modelInstance () |
| virtual const DtModelInstance * | modelInstance () const |
| int | visualizerType () const |
| virtual bool | supportsMultithreadedLoad () |
| virtual void | backgroundLoad () |
| virtual void | foregroundLoad () |
| virtual bool | isActivelyBackgroundLoading () |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
| makVrv::DtOverlayPolygonModel::DtOverlayPolygonModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
pure virtual |
Sets whether or not events are enabled.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
|
pure virtual |
Sets the events line width for the polygon model if it is outlined.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
|
pure virtual |
Sets the 2D offset of a vertex.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
|
pure virtual |
Sets a 3D direction with a 2D length of a vertex. This only works with outline polygons.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
|
pure virtual |
Sets the full fill pattern of the polygon. Must also call setFill to enable fill mode.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
|
pure virtual |
Sets whether or not to outline the polygon with a scribe as if unfilled, even when filled. Only valid if fill is also true.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
|
pure virtual |
Set the color at the center of the ellipse.
Implemented in makVrv::DtOsgOverlayRectangleModel, and makVrv::DtOsgOverlayPolygonModel.
|
pure virtual |
Set the color on the outside of the ellipse.
Implemented in makVrv::DtOsgOverlayRectangleModel, and makVrv::DtOsgOverlayPolygonModel.
|
pure virtual |
Sets to fill the center solid (if filled) not gradiant. Default is false.
Implemented in makVrv::DtOsgOverlayRectangleModel, and makVrv::DtOsgOverlayPolygonModel.
|
pure virtual |
The higher the z order the "closer" to the eyepoint this element will be drawn. Use this variable to stack overlay objects in the particular order you want them displayed.
Implemented in makVrv::DtOsgOverlayRectangleModel, and makVrv::DtOsgOverlayPolygonModel.
|
pure virtual |
Get the origin of the polygon.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.