![]() |
VR-Vantage API Documentation
|
SdcLine2DObject and SdcLine3DObject helper class. More...
Public Types | |
| enum | DtSdcSegmentStyle { DtSdcSegmentStyleStraight, DtSdcSegmentStyleLightning } |
| Supported Line Segment Styles. More... | |
| enum | DtSdcSegmentArrowStyle { DtSdcSegmentArrowStyleNoArrow, DtSdcSegmentArrowStyleArrowEnd, DtSdcSegmentArrowStyleArrowStart, DtSdcSegmentArrowStyleArrowDouble } |
| Supported Arrow Segment Styles. More... | |
Public Member Functions | |
| DtSdcLineSegment (double percentage, DtSdcColor color, unsigned pattern, unsigned thickness, DtSdcSegmentStyle style, DtSdcSegmentArrowStyle arrowStyle) | |
| DtSdcLineSegment () | |
| DtSdcLineSegment (const DtSdcLineSegment &orig) | |
| DtSdcLineSegment | operator= (const DtSdcLineSegment &orig) |
| const DtSdcColor & | color () const |
| void | setColor (const DtSdcColor &color) |
| unsigned | pattern () const |
| void | setPattern (unsigned pattern) |
| unsigned | thickness () const |
| void | setThickness (unsigned thickness) |
| double | percentage () const |
| void | setPercentage (double percentage) |
| DtSdcSegmentStyle | style () const |
| void | setStyle (DtSdcSegmentStyle style) |
| DtSdcSegmentArrowStyle | arrowStyle () const |
| void | setArrowStyle (DtSdcSegmentArrowStyle arrowStyle) |
Protected Attributes | |
| DtSdcColor | myColor |
| unsigned | myPattern |
| unsigned | myThickness |
| double | myPercentage |
| DtSdcSegmentStyle | myStyle |
| DtSdcSegmentArrowStyle | myArrowStyle |
SdcLine2DObject and SdcLine3DObject helper class.
DtSdcLineSegment is used by SdcLine2DObject and SdcLine3DObject to represent a single segment within the overall line. It defines the DtSdcSegmentStyle and DtSdcSegmentArrowStyle enumerations which are part of the public interface. The remainder of the class is for use by SdcLine2DObject and SdcLine3DObject, and is not intended to public use.
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
| DtSdcLineSegment::DtSdcLineSegment | ( | double | percentage, |
| DtSdcColor | color, | ||
| unsigned | pattern, | ||
| unsigned | thickness, | ||
| DtSdcSegmentStyle | style, | ||
| DtSdcSegmentArrowStyle | arrowStyle | ||
| ) |
| DtSdcLineSegment::DtSdcLineSegment | ( | ) |
| DtSdcLineSegment::DtSdcLineSegment | ( | const DtSdcLineSegment & | orig | ) |
| DtSdcLineSegment DtSdcLineSegment::operator= | ( | const DtSdcLineSegment & | orig | ) |
References myArrowStyle, myColor, myPattern, myPercentage, myStyle, and myThickness.
| const DtSdcColor & DtSdcLineSegment::color | ( | ) | const |
References myColor.
Referenced by setColor().
| void DtSdcLineSegment::setColor | ( | const DtSdcColor & | color | ) |
| unsigned DtSdcLineSegment::pattern | ( | ) | const |
References myPattern.
Referenced by setPattern().
| unsigned DtSdcLineSegment::thickness | ( | ) | const |
References myThickness.
Referenced by setThickness().
| void DtSdcLineSegment::setThickness | ( | unsigned | thickness | ) |
References myThickness, and thickness().
| double DtSdcLineSegment::percentage | ( | ) | const |
References myPercentage.
Referenced by setPercentage().
| void DtSdcLineSegment::setPercentage | ( | double | percentage | ) |
References myPercentage, and percentage().
| DtSdcLineSegment::DtSdcSegmentStyle DtSdcLineSegment::style | ( | ) | const |
References myStyle.
Referenced by setStyle().
| void DtSdcLineSegment::setStyle | ( | DtSdcSegmentStyle | style | ) |
| DtSdcLineSegment::DtSdcSegmentArrowStyle DtSdcLineSegment::arrowStyle | ( | ) | const |
References myArrowStyle.
Referenced by setArrowStyle().
| void DtSdcLineSegment::setArrowStyle | ( | DtSdcSegmentArrowStyle | arrowStyle | ) |
References arrowStyle(), and myArrowStyle.
|
protected |
Referenced by color(), operator=(), and setColor().
|
protected |
Referenced by operator=(), pattern(), and setPattern().
|
protected |
Referenced by operator=(), setThickness(), and thickness().
|
protected |
Referenced by operator=(), percentage(), and setPercentage().
|
protected |
Referenced by operator=(), setStyle(), and style().
|
protected |
Referenced by arrowStyle(), operator=(), and setArrowStyle().