![]() |
VR-Forces 5.0.1 Developer's Guide
|
Encapsulates a communication line between two entities or myFixedFlag points in space.

Public Member Functions | |
| virtual | ~DtCommunicationLine () |
| virtual void | setDirection (const AttachablePoint &source, const AttachablePoint &dest) |
| virtual void | setCurvedEarthExaggeration (float amount) |
| virtual void | setUseCurvedEarthLines (bool useCurved) |
| virtual void | setStartOffset (const DtVector &offset) |
| virtual void | setEndOffset (const DtVector &offset) |
| virtual void | setStipplePattern (unsigned short stipplePattern) |
| virtual void | setStippleRepeatFactor (int repeatFactor) |
Methods Inherited from DtBaseRadioVisualization | |
| virtual void | setColor (float red, float green, float blue, float alpha=1.0f) |
| virtual void | setAnimationRate (float rate) |
| virtual void | animate (double t) |
Public Member Functions inherited from makVrv::DtBaseRadioVisualization | |
| DtBaseRadioVisualization (DtUniqueID uid) | |
| virtual | ~DtBaseRadioVisualization () |
| DtUniqueID | uniqueId () const |
Protected Member Functions | |
| DtCommunicationLine (DtDe &de, int modelSet, int visualType, AttachablePoint source, AttachablePoint dest) | |
| virtual void | initialize () |
| virtual DtSegmentedLineModelAgent * | instantiateLineModelAgent () |
| virtual void | initializeLineModelAgent (DtSegmentedLineModelAgent *agent) |
| virtual void | slot_coordinateSystemChanged () |
Protected Attributes | |
| DtSignalConnectionManager | myConnections |
| DtAttachableUpdaterAgent * | myUpdater |
| DtSegmentedLineModelAgent * | myLineModel |
| DtSceneObjectAgent * | mySceneObject |
| int | myModelSet |
| int | myVisualType |
| bool | myReverseDirectionFlag |
| bool | myCurvedEarthModeFlag |
| float | myCurvedEarthExaggerationAmount |
| unsigned short | myStipplePattern |
| int | myStippleRepeatFactor |
| float | myAnimationRate |
| AttachablePoint | myStartPoint |
| AttachablePoint | myEndPoint |
| float | myLineColorR |
| float | myLineColorG |
| float | myLineColorB |
| float | myLineColorA |
| DtDe & | myDe |
Protected Attributes inherited from makVrv::DtBaseRadioVisualization | |
| DtUniqueID | myUniqueId |
Private Member Functions | |
| DtCommunicationLine () | |
| DtCommunicationLine (const DtCommunicationLine &) | |
| DtCommunicationLine & | operator= (const DtCommunicationLine &) |
Friends | |
| class | DtCommunicationLineCreator |
|
virtual |
DTOR.
|
protected |
Protected CTOR (use DtCommunicationLineCreator::create(..))
|
private |
Default Constructor not implemented.
|
private |
Copy Constructor not implemented - Copy not allowed.
|
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 and stipple pattern.
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.
|
virtual |
Set the stipple pattern of the line.
|
virtual |
Set the stipple pattern repeat factor 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.
|
private |
Assignment Operator not implemented - Copy not allowed.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |