![]() |
VR-Forces 4.0.4 Class Documentation
|
Distributed model for drawing polygons on the overlay layer. More...

Public Member Functions | |
| DtOverlayPolygonModel (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtOverlayPolygonModel () |
| DTOR. | |
| virtual void | setEventsEnabled (bool)=0 |
| Sets whether or not events are enabled. | |
| virtual void | setEventWidth (float width)=0 |
| Sets the events line width for the polygon model if it is outlined. | |
| virtual void | set2dOffset (int index, float x, float y)=0 |
| Sets the 2D offset of a vertex. | |
| virtual void | set3dDirection2dLength (int index, float x, float y, float z, float len)=0 |
| Sets a 3D direction with a 2D length of a vertex. | |
Distributed model for drawing polygons on the overlay layer.
CTOR.
| virtual makVrv::DtOverlayPolygonModel::~DtOverlayPolygonModel | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtOverlayPolygonModel::setEventsEnabled | ( | bool | ) | [pure virtual] |
Sets whether or not events are enabled.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
| virtual void makVrv::DtOverlayPolygonModel::setEventWidth | ( | float | width | ) | [pure virtual] |
Sets the events line width for the polygon model if it is outlined.
Implemented in makVrv::DtOsgOverlayPolygonModel, and makVrv::DtOsgOverlayRectangleModel.
| virtual void makVrv::DtOverlayPolygonModel::set2dOffset | ( | int | index, |
| float | x, | ||
| float | y | ||
| ) | [pure virtual] |
Sets the 2D offset of a vertex.
Implemented in makVrv::DtOsgOverlayRectangleModel, and makVrv::DtOsgOverlayPolygonModel.
| virtual void makVrv::DtOverlayPolygonModel::set3dDirection2dLength | ( | int | index, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | len | ||
| ) | [pure virtual] |
Sets a 3D direction with a 2D length of a vertex.
This only works with outline polygons.
Implemented in makVrv::DtOsgOverlayRectangleModel, and makVrv::DtOsgOverlayPolygonModel.