![]() |
VR-Forces 4.5 Class Documentation
|
A 3D Line Stealth Draw Control Object. More...

Public Member Functions | |
| virtual int | numSegments () const =0 |
| numSegments accessor | |
| virtual void | setNumSegments (int numSegments)=0 |
| numSegments mutator | |
| virtual DtVdcLineSegment::DtVdcSegmentStyle | lineStyle (int segment=0) const =0 |
| lineStyle accessor | |
| virtual void | setLineStyle (DtVdcLineSegment::DtVdcSegmentStyle lineStyle, int segment=0)=0 |
| lineStyle mutator | |
| virtual DtVdcLineSegment::DtVdcSegmentArrowStyle | arrowStyle (int segment=0) const =0 |
| arrowStyle accessor | |
| virtual void | setArrowStyle (DtVdcLineSegment::DtVdcSegmentArrowStyle arrowStyle, int segment=0)=0 |
| arrowStyle mutator | |
| virtual unsigned | pattern (int segment=0) const =0 |
| pattern accessor | |
| virtual void | setPattern (unsigned pattern, int segment=0)=0 |
| pattern mutator | |
| virtual unsigned | thickness (int segment=0) const =0 |
| thickness accessor | |
| virtual void | setThickness (unsigned thickness, int segment=0)=0 |
| thickness mutator | |
| virtual double | percentage (int segment) const =0 |
| percentage accessor | |
| virtual void | setPercentage (double percentage, int segment)=0 |
| percentage mutator | |
A 3D Line Stealth Draw Control Object.
DtLine3DObject represents a line that can be positioned and displayed in the scene. The line may be divided into multiple segments of varying relative lengths. A color, line style, arrow style, pattern and thickness may be specified for each segment; and the line can flash, if desired.
|
pure virtual |
numSegments accessor
Get the number of segments in this line
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
numSegments mutator
Set the number of individual segments that make up this line
| numSegments | 0 to N |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
lineStyle accessor
Get the lineStyle assigned to the indicated segment
| segment | The segment to retrieve the lineStyle from |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
lineStyle mutator
Set the lineStyle to use when drawing the indicated segment
| lineStyle | The lineStyle to use for the indicated segment |
| segment | The segment to apply the lineStyle to |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
arrowStyle accessor
Get the arrowStyle assigned to the indicated segment
| segment | The segment to retrieve the arrowStyle from |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
arrowStyle mutator
Set the arrowStyle to use when drawing the indicated segment
| arrowStyle | The arrowStyle to use for the indicated segment |
| segment | The segment to apply the arrowStyle to |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
pattern accessor
Get the stipple pattern used when drawing the indicated segment
| segment | The segment to retrieve the pattern from |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
pattern mutator
Set the stipple pattern to use when drawing the indicated segment
| pattern | The stipple pattern, 0x00000000 to 0xFFFFFFFF. |
| segment | The segment to apply the pattern to |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
thickness accessor
Get the thickness assigned to the indicated segment
| segment | The segment to retrieve the thickness from |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
thickness mutator
Set the thickness to use when drawing the indicated segment
| thickness | The thickness in pixels, (0-255). Note that GL may not actually be willing or able to draw a line 255 pixels wide. It is implementation dependent. |
| segment | The segment to apply the thickness to |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
percentage accessor
Get the percentage of the line that the indicated segment occupies
| segment | The segment to retrieve the percentage from |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.
|
pure virtual |
percentage mutator
Set the percentage of the line that the indicated segment should occupy. Note that it is the responsibility of the user to ensure that the sum of the individual segment's percentages is 1.
| percentage | The percentage (0. to 1.) |
| segment | The segment to apply the precentage to |
Implemented in vrvControlToolkit::DtLine3DObject, and vrvControlToolkit::DtLine2DObject.