Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon.
More...
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.
|
| virtual | ~DtSetVisibilityInterface () |
| virtual void | setVisible (bool visible)=0 |
| | Set the visibility.
|
Detailed Description
Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon.
Member Typedef Documentation
Constructor & Destructor Documentation
| virtual makVrv::DtWindowPolygonInstance::~DtWindowPolygonInstance |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtWindowPolygonInstance::setVertex |
( |
int |
i, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
pure virtual |
| virtual void makVrv::DtWindowPolygonInstance::setFillPattern |
( |
unsigned int |
fillPattern | ) |
|
|
pure virtual |
| virtual void makVrv::DtWindowPolygonInstance::setFill |
( |
bool |
fill | ) |
|
|
pure virtual |
| virtual void makVrv::DtWindowPolygonInstance::setScale |
( |
double |
scale | ) |
|
|
pure virtual |
| virtual void makVrv::DtWindowPolygonInstance::setRotation |
( |
double |
rotation | ) |
|
|
pure virtual |
| virtual void makVrv::DtWindowPolygonInstance::setNumVertices |
( |
unsigned int |
numVertices | ) |
|
|
pure virtual |
| virtual void makVrv::DtWindowPolygonInstance::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
pure virtual |
| virtual const VertexList& makVrv::DtWindowPolygonInstance::vertices |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: