VR-Vantage 2.2 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
DtSdcLineSegment Class Reference

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 DtSdcColorcolor () 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

Detailed Description

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.

Member Enumeration Documentation

Supported Line Segment Styles.

This enumeration is used to indicate the line style that the remote drawer should use for a line segment

Enumerator:
DtSdcSegmentStyleStraight 

Straight line.

DtSdcSegmentStyleLightning 

Lightning bolt line.

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

Enumerator:
DtSdcSegmentArrowStyleNoArrow 

No arrowhead on either end.

DtSdcSegmentArrowStyleArrowEnd 

Arrowhead on the segment end.

DtSdcSegmentArrowStyleArrowStart 

Arrowhead on the segment start.

DtSdcSegmentArrowStyleArrowDouble 

Arrowhead on both ends of the segment.

Constructor & Destructor Documentation

DtSdcLineSegment::DtSdcLineSegment ( double  percentage,
DtSdcColor  color,
unsigned  pattern,
unsigned  thickness,
DtSdcSegmentStyle  style,
DtSdcSegmentArrowStyle  arrowStyle 
)
DtSdcLineSegment::DtSdcLineSegment ( )
DtSdcLineSegment::DtSdcLineSegment ( const DtSdcLineSegment orig)

Member Function Documentation

DtSdcLineSegment DtSdcLineSegment::operator= ( const DtSdcLineSegment orig)
const DtSdcColor & DtSdcLineSegment::color ( void  ) const

References myColor.

Referenced by setColor().

void DtSdcLineSegment::setColor ( const DtSdcColor color)

References color(), and myColor.

unsigned DtSdcLineSegment::pattern ( ) const

References myPattern.

Referenced by setPattern().

void DtSdcLineSegment::setPattern ( unsigned  pattern)

References myPattern, and pattern().

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)

References myStyle, and style().

DtSdcLineSegment::DtSdcSegmentArrowStyle DtSdcLineSegment::arrowStyle ( ) const

References myArrowStyle.

Referenced by setArrowStyle().

void DtSdcLineSegment::setArrowStyle ( DtSdcSegmentArrowStyle  arrowStyle)

References arrowStyle(), and myArrowStyle.

Member Data Documentation

DtSdcColor DtSdcLineSegment::myColor
protected

Referenced by color(), operator=(), and setColor().

unsigned DtSdcLineSegment::myPattern
protected

Referenced by operator=(), pattern(), and setPattern().

unsigned DtSdcLineSegment::myThickness
protected

Referenced by operator=(), setThickness(), and thickness().

double DtSdcLineSegment::myPercentage
protected
DtSdcSegmentStyle DtSdcLineSegment::myStyle
protected

Referenced by operator=(), setStyle(), and style().

DtSdcSegmentArrowStyle DtSdcLineSegment::myArrowStyle
protected

The documentation for this class was generated from the following files:


Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)