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

Public Member Functions | |
| DtWindowLineGroup (DtDe &de, DtUniqueID id) | |
| virtual | ~DtWindowLineGroup () |
| virtual void | setLineCount (unsigned int count) |
| virtual void | addLine (float lineWidth, unsigned int stipplePattern, float xVertex0, float yVertex0, float xVertex1, float yVertex1) |
| virtual void | updateLine (unsigned int index, float lineWidth, unsigned int stipplePattern, float xVertex0, float yVertex0, float xVertex1, float yVertex1) |
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 () |
| 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::DtWindowLineGroup::DtWindowLineGroup | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
Set the number of lines in this group.
Reimplemented in makVrv::DtOsgWindowLineGroup.
|
virtual |
Add a line from vertex0 to vertex1.
Reimplemented in makVrv::DtOsgWindowLineGroup.
|
virtual |
Update the line from vertex0 to vertex1. The index is the order the lines were added in.
Reimplemented in makVrv::DtOsgWindowLineGroup.