![]() |
VR-Forces 4.1.1 Class Documentation
|
A model-like object that draws a 2D polygon. More...

Public Member Functions | |
| DtWindowPolygon (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtWindowPolygon () |
| DTOR. | |
| virtual void | setVertex (int i, double x, double y) |
| Set the ith vertex of the polygon. | |
| virtual void | setNumVertices (int numVertices) |
| Set the number of vertices in the polygon. | |
| virtual void | setScale (double scale) |
| Set the polygon's scale. | |
| virtual void | setRotation (double rotation) |
| Set the polygon's clockwise rotation in radians. | |
| virtual void | setVisible (bool isVisible) |
| Set the polygon visible or invisible. | |
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| Set the stipple pattern. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the polygon's color. | |
| virtual void | setInstance (DtWindowPolygonInstance *instance) |
| Set or replace the line instance for the line Transfers ownership. | |
| virtual void | setFill (bool fill) |
| Set the polygon to filled or outlined. | |
| virtual DtWindowPolygonInstance * | instance () |
| Get the line instance for the line. | |
Public Member Functions inherited from makVrv::DtWindowObject | |
| DtWindowObject (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtWindowObject () |
| DTOR. | |
Protected Attributes | |
| DtWindowPolygonInstance * | myInstance |
Protected Attributes inherited from makVrv::DtWindowObject | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
A model-like object that draws a 2D polygon.
| makVrv::DtWindowPolygon::DtWindowPolygon | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the ith vertex of the polygon.
|
virtual |
Set the number of vertices in the polygon.
|
virtual |
Set the polygon's scale.
|
virtual |
Set the polygon's clockwise rotation in radians.
|
virtual |
Set the polygon visible or invisible.
Implements makVrv::DtWindowObject.
|
virtual |
Set the stipple pattern.
|
virtual |
Set the polygon's color.
|
virtual |
Set or replace the line instance for the line Transfers ownership.
|
virtual |
Set the polygon to filled or outlined.
|
virtual |
Get the line instance for the line.
|
protected |