![]() |
VR-Vantage 1.4.1 API Class Documentation
|

Public Types | |
| enum | DtSdcLineArrowStyle { DtSdcStyleNoArrow = 0x00, DtSdcStyleArrowEnd = 0x01, DtSdcStyleArrowStart = 0x02, DtSdcStyleArrowDouble = 0x03, DtSdcLineArrowStyleEntry = 0x03 } |
| enum | DtSdcLineAppearance { DtSdcLineAppearanceStraight = 0x00, DtSdcLineAppearanceLightning = 0x08, DtSdcLineAppearanceEntry = 0x08 } |
Public Member Functions | |
| DtSdcLinePdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtSdcLinePdu (const DtNetViewControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtSdcLinePdu (double doNothing) | |
| virtual void | setNumSegments (DtNetU8 segments) |
| virtual const DtNetU8 | numSegments () const |
| virtual void | setArrowStyle (DtSdcLineArrowStyle style) |
| virtual void | setArrowStyle (unsigned int segment, DtSdcLineArrowStyle style) |
| virtual const DtSdcLineArrowStyle | arrowStyle (unsigned int segment=0) const |
| virtual void | setAppearance (DtSdcLineAppearance app) |
| virtual void | setAppearance (unsigned int segment, DtSdcLineAppearance app) |
| virtual const DtSdcLineAppearance | appearance (unsigned int segment=0) const |
| virtual void | setThickness (DtNetU8 thickness) |
| virtual void | setThickness (unsigned int segment, DtNetU8 thickness) |
| virtual const DtNetU8 | thickness (unsigned int segment=0) const |
| virtual void | setPattern (DtNetU32 patt) |
| virtual void | setPattern (unsigned int segment, DtNetU32 patt) |
| virtual const DtNetU32 | pattern (unsigned int segment=0) const |
| virtual void | setColor (DtNetU8 color[4]) |
| virtual void | setColor (unsigned int segment, DtNetU8 color[4]) |
| virtual const DtNetU8 * | color () const |
| virtual const DtNetU8 * | color (unsigned int segment) const |
| virtual void | setPercentage (unsigned int segment, DtNetU8 percent) |
| virtual const DtNetU8 | percentage (unsigned int segment=0) const |
| virtual void | setCheckLos (bool checkLos) |
| Should lines be terminated by intersection with the terrain? | |
| virtual bool | checkLos () const |
| virtual void | setProjected (bool projected) |
| Should 3D lines be projected onto the 2D overlay? This flag only affects 3D lines, and will keep lines from being occluded by the terrain. | |
| virtual bool | projected () const |
| virtual void | printData () const |
Protected Member Functions | |
| virtual const char * | typeString (DtSdcLinePdu::DtSdcLineArrowStyle param) const |
| virtual const char * | typeString (DtSdcLinePdu::DtSdcLineAppearance param) const |
| DtSdcLinePdu::DtSdcLinePdu | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
| DtSdcLinePdu::DtSdcLinePdu | ( | const DtNetViewControlPdu * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtStealthControlPdu::setViewerCommand().
| DtSdcLinePdu::DtSdcLinePdu | ( | double | doNothing | ) |
| void DtSdcLinePdu::setNumSegments | ( | DtNetU8 | segments | ) | [virtual] |
References DtCURRENT_DRAW_CONTROL_VERSION, DtStealthDrawControlStaticSize, lineParams, DtStealthDrawControlPdu::paramVersion(), slineParamsV0, and DtStealthDrawControlPdu::type().
Referenced by DtSdcLinePdu().
| const DtNetU8 DtSdcLinePdu::numSegments | ( | ) | const [virtual] |
References DtCURRENT_DRAW_CONTROL_VERSION, lineParams, DtStealthDrawControlPdu::paramVersion(), slineParamsV0, and DtStealthDrawControlPdu::type().
Referenced by printData().
| void DtSdcLinePdu::setArrowStyle | ( | DtSdcLineArrowStyle | style | ) | [virtual] |
| void DtSdcLinePdu::setArrowStyle | ( | unsigned int | segment, |
| DtSdcLineArrowStyle | style | ||
| ) | [virtual] |
| const DtSdcLinePdu::DtSdcLineArrowStyle DtSdcLinePdu::arrowStyle | ( | unsigned int | segment = 0 | ) | const [virtual] |
References DtCURRENT_DRAW_CONTROL_VERSION, DtSdcLineArrowStyleEntry, DtSdcStyleNoArrow, lineParams, lineParamsV0, DtNetSdcSegment::myFlags, DtNetSdcLineSegment::myFlags, DtStealthDrawControlPdu::paramVersion(), segArray, segArrayV0, slineParamsV0, and DtStealthDrawControlPdu::type().
Referenced by printData().
| void DtSdcLinePdu::setAppearance | ( | DtSdcLineAppearance | app | ) | [virtual] |
| void DtSdcLinePdu::setAppearance | ( | unsigned int | segment, |
| DtSdcLineAppearance | app | ||
| ) | [virtual] |
| const DtSdcLinePdu::DtSdcLineAppearance DtSdcLinePdu::appearance | ( | unsigned int | segment = 0 | ) | const [virtual] |
References DtCURRENT_DRAW_CONTROL_VERSION, DtSdcLineAppearanceEntry, DtSdcLineAppearanceStraight, lineParams, lineParamsV0, DtNetSdcSegment::myFlags, DtNetSdcLineSegment::myFlags, DtStealthDrawControlPdu::paramVersion(), segArray, segArrayV0, slineParamsV0, and DtStealthDrawControlPdu::type().
Referenced by printData().
| void DtSdcLinePdu::setThickness | ( | DtNetU8 | thickness | ) | [virtual] |
| void DtSdcLinePdu::setThickness | ( | unsigned int | segment, |
| DtNetU8 | thickness | ||
| ) | [virtual] |
| const DtNetU8 DtSdcLinePdu::thickness | ( | unsigned int | segment = 0 | ) | const [virtual] |
| void DtSdcLinePdu::setPattern | ( | DtNetU32 | patt | ) | [virtual] |
| void DtSdcLinePdu::setPattern | ( | unsigned int | segment, |
| DtNetU32 | patt | ||
| ) | [virtual] |
| const DtNetU32 DtSdcLinePdu::pattern | ( | unsigned int | segment = 0 | ) | const [virtual] |
| void DtSdcLinePdu::setColor | ( | DtNetU8 | color[4] | ) | [virtual] |
Reimplemented from DtSdcAttachablePdu.
References DtCURRENT_DRAW_CONTROL_VERSION, DtNetSdcLineSegment::myColor, DtStealthDrawControlPdu::paramVersion(), segArray, and DtStealthDrawControlPdu::type().
| void DtSdcLinePdu::setColor | ( | unsigned int | segment, |
| DtNetU8 | color[4] | ||
| ) | [virtual] |
| const DtNetU8 * DtSdcLinePdu::color | ( | ) | const [virtual] |
Reimplemented from DtSdcAttachablePdu.
References DtCURRENT_DRAW_CONTROL_VERSION, DtNetSdcLineSegment::myColor, DtStealthDrawControlPdu::paramVersion(), and segArray.
Referenced by printData().
| const DtNetU8 * DtSdcLinePdu::color | ( | unsigned int | segment | ) | const [virtual] |
| void DtSdcLinePdu::setPercentage | ( | unsigned int | segment, |
| DtNetU8 | percent | ||
| ) | [virtual] |
| const DtNetU8 DtSdcLinePdu::percentage | ( | unsigned int | segment = 0 | ) | const [virtual] |
| void DtSdcLinePdu::setCheckLos | ( | bool | checkLos | ) | [virtual] |
Should lines be terminated by intersection with the terrain?
References DtCURRENT_DRAW_CONTROL_VERSION, lineParams, and DtStealthDrawControlPdu::paramVersion().
| bool DtSdcLinePdu::checkLos | ( | ) | const [virtual] |
References DtCURRENT_DRAW_CONTROL_VERSION, lineParams, and DtStealthDrawControlPdu::paramVersion().
| void DtSdcLinePdu::setProjected | ( | bool | projected | ) | [virtual] |
Should 3D lines be projected onto the 2D overlay? This flag only affects 3D lines, and will keep lines from being occluded by the terrain.
References DtCURRENT_DRAW_CONTROL_VERSION, lineParams, and DtStealthDrawControlPdu::paramVersion().
| bool DtSdcLinePdu::projected | ( | ) | const [virtual] |
References DtCURRENT_DRAW_CONTROL_VERSION, lineParams, and DtStealthDrawControlPdu::paramVersion().
| void DtSdcLinePdu::printData | ( | ) | const [virtual] |
Reimplemented from DtSdcAttachablePdu.
References appearance(), arrowStyle(), color(), numSegments(), pattern(), percentage(), thickness(), and typeString().
| const char * DtSdcLinePdu::typeString | ( | DtSdcLinePdu::DtSdcLineArrowStyle | param | ) | const [protected, virtual] |
References CASE_EVCSTRING, DtSdcStyleArrowDouble, DtSdcStyleArrowEnd, DtSdcStyleArrowStart, and DtSdcStyleNoArrow.
Referenced by printData().
| const char * DtSdcLinePdu::typeString | ( | DtSdcLinePdu::DtSdcLineAppearance | param | ) | const [protected, virtual] |
References CASE_EVCSTRING, DtSdcLineAppearanceLightning, and DtSdcLineAppearanceStraight.