![]() |
VR-Forces 4.0.4 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. | |
Interface for a DtWindowEllipseInstance An object that draws a 2D ellipse.
| virtual makVrv::DtWindowEllipseInstance::~DtWindowEllipseInstance | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtWindowEllipseInstance::setCenter | ( | double | x, |
| double | y | ||
| ) | [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.
| virtual void makVrv::DtWindowEllipseInstance::setDimensions | ( | double | xLength, |
| double | yLength | ||
| ) | [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.
| virtual void makVrv::DtWindowEllipseInstance::setFillPattern | ( | unsigned int | fillPattern | ) | [pure virtual] |
Set the ellipse's fill pattern.
Implemented in makVrv::DtOsgWindowEllipseInstance.
| virtual void makVrv::DtWindowEllipseInstance::setScale | ( | double | scale | ) | [pure virtual] |
Set the ellipse's scale.
Implemented in makVrv::DtOsgWindowEllipseInstance.
| virtual void makVrv::DtWindowEllipseInstance::setRotation | ( | double | rotation | ) | [pure virtual] |
Set the ellipse's rotation in radians clockwise.
Implemented in makVrv::DtOsgWindowEllipseInstance.
| virtual void makVrv::DtWindowEllipseInstance::setNumVertices | ( | unsigned int | numVertices | ) | [pure virtual] |
Set the number of vertices to use approximating the ellipse.
Implemented in makVrv::DtOsgWindowEllipseInstance.
| virtual void makVrv::DtWindowEllipseInstance::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [pure virtual] |
Set the ellipse's color.
Implemented in makVrv::DtOsgWindowEllipseInstance.
| virtual void makVrv::DtWindowEllipseInstance::setFill | ( | bool | fill | ) | [pure virtual] |
Set the ellipse filled or outlined.
Implemented in makVrv::DtOsgWindowEllipseInstance.