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

Public Member Functions | |
| DtOsgWindowEllipseInstance (DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtOsgWindowEllipseInstance () |
| DTOR. More... | |
| virtual void | setVisible (bool isVisible) |
| Set the ellipse to visible or invisible. More... | |
| virtual void | setFillPattern (unsigned int fillPattern) |
| Set the ellipse's fill pattern. More... | |
| virtual void | setFill (bool fill) |
| Set the ellipse filled or outlined. More... | |
| virtual void | setCenter (double x, double y) |
| Set the center of the ellipse in normalized screen coordinates. More... | |
| virtual void | setScale (double x, double y) |
| Set the ellipse's scale. More... | |
| virtual void | setNumVertices (unsigned int numVertices) |
| Set the number of vertices in the ellipse. More... | |
| virtual void | setDimensions (double xLength, double yLength) |
| Set the lengths of the ellipse's axes in normalized screen coordinates. More... | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the ellipse's color. More... | |
| virtual bool | visible () |
| Return visibility status. More... | |
| virtual void | setTransform (DtMatrix3< double > transform) |
| Sets the line's transform matrix, used to update the position and clockwise rotation of the vertices. More... | |
| virtual void | update () |
| Called on signal_postUpdate; time to update render data. More... | |
Public Member Functions inherited from makVrv::DtWindowEllipseInstance | |
| virtual | ~DtWindowEllipseInstance () |
| DTOR. More... | |
Public Member Functions inherited from makVrv::DtSetVisibilityInterface | |
| virtual | ~DtSetVisibilityInterface () |
Protected Types | |
| typedef std::vector< osg::Vec2 > | VertexList |
Protected Member Functions | |
| virtual void | updateVertices () |
| Generate the vertices of the graphic polygon that approximates the ellipse. More... | |
| virtual void | createPolygon () |
| Create myPolygon according to current state Called from the constructor, so this can't be virtual. More... | |
| virtual void | setClipBox (DtVector2< double > bottomLeftLocation, DtVector2< double > topRightLocation) |
| Set this objects clip box bounds. More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtPolygon * | myPolygon |
| osg::Matrix | myTransform |
| double | myXScale |
| double | myYScale |
| float | myColorR |
| float | myColorG |
| float | myColorB |
| float | myColorA |
| osg::Vec2 | myDimensions |
| osg::Vec2 | myCenter |
| osg::Vec2 | myClipBoxBottomLeft |
| osg::Vec2 | myClipBoxTopRight |
| unsigned int | myFillPattern |
| int | myNumVertices |
| bool | myGeometryDirty |
| bool | myFill |
vrvGraphics implementation of a 2D ellipse
|
protected |
| makVrv::DtOsgWindowEllipseInstance::DtOsgWindowEllipseInstance | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the ellipse to visible or invisible.
Implements makVrv::DtSetVisibilityInterface.
Set the ellipse's fill pattern.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Set the ellipse filled or outlined.
Implements makVrv::DtWindowEllipseInstance.
Set the center of the ellipse in normalized screen coordinates.
Implements makVrv::DtWindowEllipseInstance.
Set the ellipse's scale.
Implements makVrv::DtWindowEllipseInstance.
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 ellipse's color.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Return visibility status.
|
virtual |
Sets the line's transform matrix, used to update the position and clockwise rotation of the vertices.
Implements makVrv::DtWindowEllipseInstance.
|
virtual |
Called on signal_postUpdate; time to update render data.
Implements makVrv::DtWindowEllipseInstance.
|
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.
|
protectedvirtual |
Set this objects clip box bounds.
Implements makVrv::DtWindowEllipseInstance.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |