![]() |
VR-Forces Developer's Guide
|
A model-like object that controls a group of 2D ellipses. This class means that you do not need to store and manage multiple agents to use multiple ellipses. It also means that you do not need an empty parent window object/agent to control them all with single commands.

Public Member Functions | |
| DtWindowEllipseGroup (DtDe &de, DtUniqueID id) | |
| virtual | ~DtWindowEllipseGroup () |
| virtual void | setEllipseCount (unsigned int count) |
| virtual void | addEllipse (unsigned int stipplePattern, bool fill, float lineWidth, float centerX, float centerY, float radius, float innerRadius, float startAngle, float endAngle) |
| virtual void | updateEllipse (unsigned int index, unsigned int stipplePattern, bool fill, float lineWidth, float centerX, float centerY, float radius, float innerRadius, float startAngle, float endAngle) |
Public Member Functions inherited from makVrv::DtWindowObject | |
| DtWindowObject (DtDe &de, DtUniqueID id) | |
| virtual | ~DtWindowObject () |
| virtual void | setVisible (bool visible) |
| virtual bool | visible () |
| virtual DtUniqueID | uniqueId () |
| virtual DtWindowObject * | getParent () |
| virtual ChildList | childList () |
| virtual void | addChild (DtUniqueID id) |
| virtual void | removeChild (DtUniqueID id) |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | getColor (float &r, float &g, float &b, float &a) |
| virtual void | slot_postTick () |
| virtual void | needsUpdate () |
| virtual Transform | windowTransform () |
| virtual DtClipBox | clipBox () |
| virtual void | setParentId (DtUniqueID parentId) |
| virtual DtUniqueID | getParentId () |
| virtual void | setPosition (double x, double y) |
| virtual void | getPosition (double &x, double &y) |
| virtual void | setScale (double scale) |
| virtual void | setScale (double x, double y) |
| virtual void | getScale (double &x, double &y) |
| virtual void | setRotation (double rotation) |
| virtual void | getRotation (double &rotation) |
| virtual void | setInheritColor (bool inheritColor) |
| virtual bool | inheritColor () |
| virtual void | setGroup (int id) |
| virtual int | group () |
| virtual void | setFlashing (bool flashing, double interval) |
| virtual void | getFlashing (bool &flashing, double &interval) |
| virtual void | setChannelOverlay (const std::string &displayName, const std::string &windowName, const std::string &channelName) |
| virtual void | getChannelOverlay (std::string &displayName, std::string &windowName, std::string &channelName) |
Additional Inherited Members | |
Public Types inherited from makVrv::DtWindowObject | |
| typedef std::list< DtUniqueID > | ChildList |
| typedef DtVector2< double > | DtVector2d |
| typedef DtMatrix3< double > | Transform |
Protected Attributes inherited from makVrv::DtWindowObject | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| DtUniqueID | myParentId |
| ChildList | myChildIdList |
| DtVector2d | myPosition |
| DtVector2d | myScale |
| DtVector2d | myWindowScale |
| double | myRotation |
| double | myFlashInterval |
| double | myLastFlashTime |
| double | myLastSimTime |
| bool | myVisible |
| bool | myLastVisibilityFlash |
| bool | myInheritColor |
| bool | myFlashing |
| float | myColorR |
| float | myColorG |
| float | myColorB |
| float | myColorA |
| Transform | myWindowTransform |
| DtClipBox | myClipBox |
| int | myGroup |
| std::string | myDisplayName |
| std::string | myWindowName |
| std::string | myChannelName |
| makVrv::DtWindowEllipseGroup::DtWindowEllipseGroup | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
Set the number of ellipses that this group will have Should be set before addEllipse is called.
Reimplemented in makVrv::DtOsgWindowEllipseGroup.
|
virtual |
Add an ellipse to the specified in params Angles are in radians.
Reimplemented in makVrv::DtOsgWindowEllipseGroup.
|
virtual |
Update the ellipse at in param index with in parma specs. The reason index is passed in is because we need to know which ellipse to update. You cannot just delete all the pointers and recreate once all the updateEllipse calls arrive ( indexNumber = myEllipseCount ), because the ellipses will flash on screen!!
Reimplemented in makVrv::DtOsgWindowEllipseGroup.