![]() |
VR-Forces 4.1.1 Class Documentation
|
vrvGraphics implementation of a 2D ellipse More...

Public Member Functions | |
| DtOsgWindowEllipseInstance (DtDe &de) | |
| CTOR. | |
| virtual | ~DtOsgWindowEllipseInstance () |
| DTOR. | |
| virtual void | setVisible (bool isVisible) |
| Set the ellipse to visible or invisible. | |
| virtual void | setFillPattern (unsigned int fillPattern) |
| Set the ellipse's fill pattern. | |
| virtual void | setFill (bool fill) |
| Set the ellipse filled or outlined. | |
| virtual void | setScale (double scale) |
| Set the ellipse's scale. | |
| virtual void | setRotation (double rotation) |
| Set the ellipse's rotation in radians clockwise. | |
| virtual void | setNumVertices (unsigned int numVertices) |
| Set the number of vertices in the ellipse. | |
| virtual void | setDimensions (double xLength, double yLength) |
| Set the lengths of the ellipse's axes in normalized screen coordinates. | |
| virtual void | setCenter (double x, double y) |
| Set the location of the ellipse's center in normalized screen coordinates. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the ellipse's color. | |
| virtual bool | visible () |
| Return visibility status. | |
Public Member Functions inherited from makVrv::DtWindowEllipseInstance | |
| virtual | ~DtWindowEllipseInstance () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtSetVisibilityInterface | |
| virtual | ~DtSetVisibilityInterface () |
Protected Member Functions | |
| virtual void | updateVertices () |
| Generate the vertices of the graphic polygon that approximates the ellipse. | |
| virtual void | createPolygon () |
| Create myPolygon according to current state Called from the constructor, so this can't be virtual. | |
Static Protected Member Functions | |
| static osg::Vec2 | rotate (const osg::Vec2 &v, double rad) |
| Utility function to rotate a vec2. | |
| static osg::Vec2 | translate (const osg::Vec2 &v, const osg::Vec2 &translation) |
| Utility function to translate a vec2. | |
| static osg::Vec2 | scale (const osg::Vec2 &v, double s) |
| Utility function to scale a vec2. | |
Protected Attributes | |
| DtDe & | myDe |
| DtPolygon * | myPolygon |
| double | myRotation |
| double | myScale |
| unsigned int | myFillPattern |
| float | myColorR |
| float | myColorG |
| float | myColorB |
| float | myColorA |
| bool | myFill |
| osg::Vec2 | myDimensions |
| osg::Vec2 | myCenter |
| int | myNumVertices |
vrvGraphics implementation of a 2D ellipse
| makVrv::DtOsgWindowEllipseInstance::DtOsgWindowEllipseInstance | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the ellipse to visible or invisible.
Implements makVrv::DtSetVisibilityInterface.
|
virtual |
Set the ellipse's fill pattern.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the ellipse filled or outlined.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the ellipse's scale.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the ellipse's rotation in radians clockwise.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the number of vertices in the ellipse.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the lengths of the ellipse's axes in normalized screen coordinates.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the location of the ellipse's center in normalized screen coordinates.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the ellipse's color.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Return visibility status.
|
staticprotected |
Utility function to rotate a vec2.
|
staticprotected |
Utility function to translate a vec2.
|
staticprotected |
Utility function to scale a vec2.
|
protectedvirtual |
Generate the vertices of the graphic polygon that approximates the ellipse.
|
protectedvirtual |
Create myPolygon according to current state Called from the constructor, so this can't be virtual.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |