![]() |
VR-Forces 4.7 Class Documentation
|
Encapsulates a communication line between two entities or myFixedFlag points in space. More...

Public Member Functions | |
| virtual | ~DtCommunicationLine () |
| DTOR. | |
| virtual void | setDirection (const AttachablePoint &source, const AttachablePoint &dest) |
| Changes the scroll direction of the comm line. | |
| virtual void | setCurvedEarthExaggeration (float amount) |
| Sets the amount of exaggeration applied to curved earth comm lines. | |
| virtual void | setUseCurvedEarthLines (bool useCurved) |
| Sets whether the line should be rendered as a great circle arc. | |
| virtual void | setStartOffset (const DtVector &offset) |
| Sets the offset of attachments to the start point of the line. | |
| virtual void | setEndOffset (const DtVector &offset) |
| Sets the offset of attachments to the end point of the line. | |
Methods Inherited from DtBaseRadioVisualization | |
| virtual void | setColor (float red, float green, float blue, float alpha=1.0f) |
| Sets the color of the comm line. | |
| virtual void | setAnimationRate (float rate) |
| Sets the rate at which the comm line scrolls. | |
| virtual void | animate (double t) |
| Animate the comm line using the current time. | |
Public Member Functions inherited from makVrv::DtBaseRadioVisualization | |
| DtBaseRadioVisualization (DtUniqueID uid) | |
| CTOR. | |
| virtual | ~DtBaseRadioVisualization () |
| Virtual DTOR. | |
| DtUniqueID | uniqueId () const |
| Returns the visualization's unique id. | |
Protected Member Functions | |
| DtCommunicationLine (DtDe &de, int modelSet, int visualType, AttachablePoint source, AttachablePoint dest) | |
| Protected CTOR (use DtCommunicationLineCreator::create(..)) | |
| virtual void | initialize () |
| Instantiates model agents representing the comm line. | |
| virtual DtSegmentedLineModelAgent * | instantiateLineModelAgent () |
| Instantiates the model agent used for visualizing the line itself. | |
| virtual void | initializeLineModelAgent (DtSegmentedLineModelAgent *agent) |
| Initializes the line model agent with its display parameters. | |
| virtual void | slot_coordinateSystemChanged () |
| Receives notification that the loaded terrain's coordinate system changed. | |
Protected Attributes | |
| DtAttachableUpdaterAgent * | myUpdater |
| DtSegmentedLineModelAgent * | myLineModel |
| DtSceneObjectAgent * | mySceneObject |
| int | myModelSet |
| int | myVisualType |
| bool | myReverseDirectionFlag |
| bool | myCurvedEarthModeFlag |
| float | myCurvedEarthExaggerationAmount |
| unsigned short | myStipplePattern |
| float | myAnimationRate |
| AttachablePoint | myStartPoint |
| AttachablePoint | myEndPoint |
| float | myLineColorR |
| float | myLineColorG |
| float | myLineColorB |
| float | myLineColorA |
| DtDe & | myDe |
Protected Attributes inherited from makVrv::DtBaseRadioVisualization | |
| DtUniqueID | myUniqueId |
Friends | |
| class | DtCommunicationLineCreator |
Encapsulates a communication line between two entities or myFixedFlag points in space.
|
virtual |
DTOR.
|
protected |
Protected CTOR (use DtCommunicationLineCreator::create(..))
|
virtual |
Changes the scroll direction of the comm line.
|
virtual |
Sets the color of the comm line.
Color values specified in the 0 to 1 range.
Implements makVrv::DtBaseRadioVisualization.
|
virtual |
Sets the rate at which the comm line scrolls.
At an animation rate of 1.0, one of the comm line's dashes will advance to the position of the next dash in 1 second. At a factor (animation rate) of 2.0, it does it in half a second, etc.
Implements makVrv::DtBaseRadioVisualization.
|
virtual |
Animate the comm line using the current time.
Implements makVrv::DtBaseRadioVisualization.
|
virtual |
Sets the amount of exaggeration applied to curved earth comm lines.
|
virtual |
Sets whether the line should be rendered as a great circle arc.
If set to false, the line is rendered as a straight line.
| DtCorruptedState | if the line model can't be created. |
|
virtual |
Sets the offset of attachments to the start point of the line.
|
virtual |
Sets the offset of attachments to the end point of the line.
|
protectedvirtual |
Instantiates model agents representing the comm line.
Uses settings from the settings manager for proper appearance.
| DtCorruptedState | if agents could not be created. |
|
protectedvirtual |
Instantiates the model agent used for visualizing the line itself.
This method can be overridden to create new communication line types that visualize lines using different model agents.
|
protectedvirtual |
Initializes the line model agent with its display parameters.
This method applies the display parameters to the line model agent to customize how the line appears (occlusion, stipple, line width, etc.). This method can be overridden to create new communication line types that appear differently from the default communication lines.
|
protectedvirtual |
Receives notification that the loaded terrain's coordinate system changed.
Forces re-creation of the communication line model, since the great circle lines don't work on non-geocentric terrains.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |