VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
vrvControlToolkit::DtVdcLineSegment Class Reference

DtLine2DObject and DtLine3DObject helper class. More...

List of all members.

Public Types

enum  DtVdcSegmentStyle { DtVdcSegmentStyleStraight, DtVdcSegmentStyleLightning }
 Supported Line Segment Styles. More...
enum  DtVdcSegmentArrowStyle { DtVdcSegmentArrowStyleNoArrow, DtVdcSegmentArrowStyleArrowEnd, DtVdcSegmentArrowStyleArrowStart, DtVdcSegmentArrowStyleArrowDouble }
 Supported Arrow Segment Styles. More...

Public Member Functions

 DtVdcLineSegment (double percentage, DtVdcColor color, unsigned pattern, unsigned thickness, DtVdcSegmentStyle style, DtVdcSegmentArrowStyle arrowStyle)
 DtVdcLineSegment ()
 DtVdcLineSegment (const DtVdcLineSegment &orig)
DtVdcLineSegment operator= (const DtVdcLineSegment &orig)
const DtVdcColorcolor () 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

Detailed Description

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.


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:
DtVdcSegmentStyleStraight 

Straight line.

DtVdcSegmentStyleLightning 

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:
DtVdcSegmentArrowStyleNoArrow 

No arrowhead on either end.

DtVdcSegmentArrowStyleArrowEnd 

Arrowhead on the segment end.

DtVdcSegmentArrowStyleArrowStart 

Arrowhead on the segment start.

DtVdcSegmentArrowStyleArrowDouble 

Arrowhead on both ends of the segment.


Constructor & Destructor Documentation

vrvControlToolkit::DtVdcLineSegment::DtVdcLineSegment ( double  percentage,
DtVdcColor  color,
unsigned  pattern,
unsigned  thickness,
DtVdcSegmentStyle  style,
DtVdcSegmentArrowStyle  arrowStyle 
)

Member Function Documentation

DtVdcLineSegment vrvControlToolkit::DtVdcLineSegment::operator= ( const DtVdcLineSegment orig)

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)