![]() |
VR-Forces 4.0.4 Class Documentation
|
Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon. More...

Classes | |
| struct | Vertex |
| A 2D Vertex for the polygon. More... | |
Public Types | |
| typedef std::vector< Vertex > | VertexList |
Public Member Functions | |
| virtual | ~DtWindowPolygonInstance () |
| DTOR. | |
| virtual void | setVertex (int i, double x, double y)=0 |
| Set the ith vertex of the polygon in screen coordinates from 0...1. | |
| virtual void | setFillPattern (unsigned int fillPattern)=0 |
| Set the polygon's fill pattern. | |
| virtual void | setFill (bool fill)=0 |
| Set the polygon filled or outlined. | |
| virtual void | setScale (double scale)=0 |
| Set the polygon's scale. | |
| virtual void | setRotation (double rotation)=0 |
| Set the polygon's rotation in radians clockwise. | |
| virtual void | setNumVertices (unsigned int numVertices)=0 |
| Set the number of vertices in the polygon. | |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| Set the polygon's color. | |
| virtual const VertexList & | vertices () const =0 |
| Get the polygon's vertices. | |
Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon.
| typedef std::vector<Vertex> makVrv::DtWindowPolygonInstance::VertexList |
| virtual makVrv::DtWindowPolygonInstance::~DtWindowPolygonInstance | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtWindowPolygonInstance::setVertex | ( | int | i, |
| double | x, | ||
| double | y | ||
| ) | [pure virtual] |
Set the ith vertex of the polygon in screen coordinates from 0...1.
Implemented in makVrv::DtOsgWindowPolygonInstance.
| virtual void makVrv::DtWindowPolygonInstance::setFillPattern | ( | unsigned int | fillPattern | ) | [pure virtual] |
Set the polygon's fill pattern.
Implemented in makVrv::DtOsgWindowPolygonInstance.
| virtual void makVrv::DtWindowPolygonInstance::setFill | ( | bool | fill | ) | [pure virtual] |
Set the polygon filled or outlined.
Implemented in makVrv::DtOsgWindowPolygonInstance.
| virtual void makVrv::DtWindowPolygonInstance::setScale | ( | double | scale | ) | [pure virtual] |
Set the polygon's scale.
Implemented in makVrv::DtOsgWindowPolygonInstance.
| virtual void makVrv::DtWindowPolygonInstance::setRotation | ( | double | rotation | ) | [pure virtual] |
Set the polygon's rotation in radians clockwise.
Implemented in makVrv::DtOsgWindowPolygonInstance.
| virtual void makVrv::DtWindowPolygonInstance::setNumVertices | ( | unsigned int | numVertices | ) | [pure virtual] |
Set the number of vertices in the polygon.
Implemented in makVrv::DtOsgWindowPolygonInstance.
| virtual void makVrv::DtWindowPolygonInstance::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [pure virtual] |
Set the polygon's color.
Implemented in makVrv::DtOsgWindowPolygonInstance.
| virtual const VertexList& makVrv::DtWindowPolygonInstance::vertices | ( | ) | const [pure virtual] |
Get the polygon's vertices.
Implemented in makVrv::DtOsgWindowPolygonInstance.