![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtLine2DObject and DtLine3DObject helper class.
DtVdcLineSegment is used by DtLine2DObject and DtLine3DObject to represent a single segment within the overall line. It defines the DtVdcSegmentStyle and DtVdcSegmentArrowStyle enumerations which are part of the public interface. The remainder of the class is for use by DtLine2DObject and DtLine3DObject, and is not intended to public use.
Public Member Functions | |
| DtVdcLineSegment (double percentage, const DtVdcColor &color, unsigned pattern, unsigned thickness, DtVdcSegmentStyle style, DtVdcSegmentArrowStyle arrowStyle) | |
| DtVdcLineSegment () | |
| DtVdcLineSegment (const DtVdcLineSegment &orig) | |
| DtVdcLineSegment & | operator= (const DtVdcLineSegment &orig) |
| const DtVdcColor & | color () const |
| void | setColor (const DtVdcColor &color) |
| unsigned | pattern () const |
| void | setPattern (unsigned pattern) |
| unsigned | thickness () const |
| void | setThickness (unsigned thickness) |
| double | percentage () const |
| void | setPercentage (double percentage) |
| DtVdcSegmentStyle | style () const |
| void | setStyle (DtVdcSegmentStyle style) |
| DtVdcSegmentArrowStyle | arrowStyle () const |
| void | setArrowStyle (DtVdcSegmentArrowStyle arrowStyle) |
Protected Attributes | |
| DtVdcColor | myColor |
| unsigned | myPattern |
| unsigned | myThickness |
| double | myPercentage |
| DtVdcSegmentStyle | myStyle |
| DtVdcSegmentArrowStyle | myArrowStyle |
Supported Arrow Segment Styles.
This enumeration is used to indicate the arrow style that the remote drawer should use for the ends of a line segment
| vrvControlToolkit::DtVdcLineSegment::DtVdcLineSegment | ( | double | percentage, |
| const DtVdcColor & | color, | ||
| unsigned | pattern, | ||
| unsigned | thickness, | ||
| DtVdcSegmentStyle | style, | ||
| DtVdcSegmentArrowStyle | arrowStyle | ||
| ) |
| vrvControlToolkit::DtVdcLineSegment::DtVdcLineSegment | ( | ) |
| vrvControlToolkit::DtVdcLineSegment::DtVdcLineSegment | ( | const DtVdcLineSegment & | orig | ) |
| DtVdcLineSegment& vrvControlToolkit::DtVdcLineSegment::operator= | ( | const DtVdcLineSegment & | orig | ) |
| const DtVdcColor& vrvControlToolkit::DtVdcLineSegment::color | ( | ) | const |
| void vrvControlToolkit::DtVdcLineSegment::setColor | ( | const DtVdcColor & | color | ) |
| unsigned vrvControlToolkit::DtVdcLineSegment::pattern | ( | ) | const |
| void vrvControlToolkit::DtVdcLineSegment::setPattern | ( | unsigned | pattern | ) |
| unsigned vrvControlToolkit::DtVdcLineSegment::thickness | ( | ) | const |
| void vrvControlToolkit::DtVdcLineSegment::setThickness | ( | unsigned | thickness | ) |
| double vrvControlToolkit::DtVdcLineSegment::percentage | ( | ) | const |
| void vrvControlToolkit::DtVdcLineSegment::setPercentage | ( | double | percentage | ) |
| DtVdcSegmentStyle vrvControlToolkit::DtVdcLineSegment::style | ( | ) | const |
| void vrvControlToolkit::DtVdcLineSegment::setStyle | ( | DtVdcSegmentStyle | style | ) |
| DtVdcSegmentArrowStyle vrvControlToolkit::DtVdcLineSegment::arrowStyle | ( | ) | const |
| void vrvControlToolkit::DtVdcLineSegment::setArrowStyle | ( | DtVdcSegmentArrowStyle | arrowStyle | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |