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

Public Member Functions | |
| DtWindowEllipse (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtWindowEllipse () |
| DTOR. | |
| virtual void | setCenter (double x, double y) |
| Set the center of the ellipse in normalized screen coordinates. | |
| virtual void | setDimensions (double xLength, double yLength) |
| Set the dimensions of the ellipse (the lengths of its axes) in normalizes screen coordinates. | |
| virtual void | setNumVertices (int numVertices) |
| Set the number of vertices to use in approximating the ellipse; Default is 32. | |
| virtual void | setScale (double scale) |
| Set the ellipse's scale. | |
| virtual void | setRotation (double rotation) |
| Set the ellipse's clockwise rotation in radians. | |
| virtual void | setVisible (bool isVisible) |
| Set the ellipse's visibility. | |
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| Set the stipple pattern. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the ellipse's color. | |
| virtual void | setFill (bool fill) |
| Set the ellipse to filled or outlined. | |
| virtual void | setInstance (DtWindowEllipseInstance *instance) |
| Set or replace the line instance for the line Transfers ownership. | |
| virtual DtWindowEllipseInstance * | 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 | |
| DtWindowEllipseInstance * | myInstance |
Protected Attributes inherited from makVrv::DtWindowObject | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
A model-like object that draws a 2D ellipse.
| makVrv::DtWindowEllipse::DtWindowEllipse | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the center of the ellipse in normalized screen coordinates.
For example, setCenter(0.1, 0.5) sets the center to 10% horizontally from the left of the creen and 50% vertically from the bottom
|
virtual |
Set the dimensions of the ellipse (the lengths of its axes) in normalizes screen coordinates.
For example, setDimensions(0.3, 0.5) sets the ellipse to 30% of the screen size horizontally and 50% vertically.
|
virtual |
Set the number of vertices to use in approximating the ellipse; Default is 32.
|
virtual |
Set the ellipse's scale.
|
virtual |
Set the ellipse's clockwise rotation in radians.
|
virtual |
Set the ellipse's visibility.
Implements makVrv::DtWindowObject.
|
virtual |
Set the stipple pattern.
|
virtual |
Set the ellipse's color.
|
virtual |
Set the ellipse to filled or outlined.
|
virtual |
Set or replace the line instance for the line Transfers ownership.
|
virtual |
Get the line instance for the line.
|
protected |