![]() |
VR-Forces 4.3 Class Documentation
|
Interface for a DtWindowEllipseInstance An object that draws a 2D ellipse. More...

Public Member Functions | |
| virtual | ~DtWindowEllipseInstance () |
| DTOR. | |
| virtual void | setCenter (double x, double y)=0 |
| Set the center of the ellipse in normalized screen coordinates. | |
| virtual void | setDimensions (double xLength, double yLength)=0 |
| Set the dimensions of the ellipse (the lengths of its axes) in normalizes screen coordinates. | |
| virtual void | setFillPattern (unsigned int fillPattern)=0 |
| Set the ellipse's fill pattern. | |
| virtual void | setScale (double scale)=0 |
| Set the ellipse's scale. | |
| virtual void | setRotation (double rotation)=0 |
| Set the ellipse's rotation in radians clockwise. | |
| virtual void | setNumVertices (unsigned int numVertices)=0 |
| Set the number of vertices to use approximating the ellipse. | |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| Set the ellipse's color. | |
| virtual void | setFill (bool fill)=0 |
| Set the ellipse filled or outlined. | |
Public Member Functions inherited from makVrv::DtSetVisibilityInterface | |
| virtual | ~DtSetVisibilityInterface () |
| virtual void | setVisible (bool visible)=0 |
| Set the visibility. | |
Interface for a DtWindowEllipseInstance An object that draws a 2D ellipse.
|
virtual |
DTOR.
|
pure 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
Implemented in makVrv::DtOsgWindowEllipseInstance.
|
pure 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.
Implemented in makVrv::DtOsgWindowEllipseInstance.
|
pure virtual |
Set the ellipse's fill pattern.
Implemented in makVrv::DtOsgWindowEllipseInstance.
|
pure virtual |
Set the ellipse's scale.
Implemented in makVrv::DtOsgWindowEllipseInstance.
|
pure virtual |
Set the ellipse's rotation in radians clockwise.
Implemented in makVrv::DtOsgWindowEllipseInstance.
|
pure virtual |
Set the number of vertices to use approximating the ellipse.
Implemented in makVrv::DtOsgWindowEllipseInstance.
|
pure virtual |
Set the ellipse's color.
Implemented in makVrv::DtOsgWindowEllipseInstance.
|
pure virtual |
Set the ellipse filled or outlined.
Implemented in makVrv::DtOsgWindowEllipseInstance.