VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtLineSegmentDescriptor Class Reference

Public Member Functions

 DtLineSegmentDescriptor ()
 Default constructor.
 DtLineSegmentDescriptor (float percent, int style, int width, int pattern, int arrow, int colorR, int colorG, int colorB, int colorA)
 Constructor.
 DtLineSegmentDescriptor (const DtLineSegmentDescriptor &orig)
 Copy Constructor.
DtLineSegmentDescriptoroperator= (const DtLineSegmentDescriptor &orig)
 Assignment Operator.
 DtLineSegmentDescriptor (const DtNetLineSegmentDescriptor &netDesc)
 Constructs from a network structure.
 operator DtNetLineSegmentDescriptor () const
 Cast to a net attachment descriptor.
bool operator== (const DtLineSegmentDescriptor &other) const
 Equality/inequality operators.
bool operator!= (const DtLineSegmentDescriptor &other) const
virtual void setPercentage (float percent)
 Setter/Getter methods.
virtual float percentage () const
 Setter/Getter methods.
virtual void setLineStyle (int style)
 Setter/Getter methods.
virtual int lineStyle () const
 Setter/Getter methods.
virtual void setLineWidth (int width)
 Setter/Getter methods.
virtual int lineWidth () const
 Setter/Getter methods.
virtual void setLinePattern (int pattern)
 Setter/Getter methods.
virtual int linePattern () const
 Setter/Getter methods.
virtual void setArrowStyle (int style)
 Setter/Getter methods.
virtual int arrowStyle () const
 Setter/Getter methods.
virtual void setColor (int r, int g, int b, int a)
 Setter/Getter methods.
virtual void getColor (int &r, int &g, int &b, int &a) const
 Setter/Getter methods.

Protected Attributes

float myPercentage
int myLineStyle
int myLineWidth
int myLinePattern
int myArrowStyle
int myColorR
int myColorG
int myColorB
int myColorA

Constructor & Destructor Documentation

DtLineSegmentDescriptor::DtLineSegmentDescriptor ( )

Default constructor.

DtLineSegmentDescriptor::DtLineSegmentDescriptor ( float  percent,
int  style,
int  width,
int  pattern,
int  arrow,
int  colorR,
int  colorG,
int  colorB,
int  colorA 
)

Constructor.

DtLineSegmentDescriptor::DtLineSegmentDescriptor ( const DtLineSegmentDescriptor orig)

Copy Constructor.

DtLineSegmentDescriptor::DtLineSegmentDescriptor ( const DtNetLineSegmentDescriptor netDesc)

Constructs from a network structure.

Member Function Documentation

DtLineSegmentDescriptor& DtLineSegmentDescriptor::operator= ( const DtLineSegmentDescriptor orig)

Assignment Operator.

DtLineSegmentDescriptor::operator DtNetLineSegmentDescriptor ( ) const

Cast to a net attachment descriptor.

bool DtLineSegmentDescriptor::operator== ( const DtLineSegmentDescriptor other) const

Equality/inequality operators.

bool DtLineSegmentDescriptor::operator!= ( const DtLineSegmentDescriptor other) const
virtual void DtLineSegmentDescriptor::setPercentage ( float  percent)
virtual

Setter/Getter methods.

virtual float DtLineSegmentDescriptor::percentage ( ) const
virtual

Setter/Getter methods.

virtual void DtLineSegmentDescriptor::setLineStyle ( int  style)
virtual

Setter/Getter methods.

virtual int DtLineSegmentDescriptor::lineStyle ( ) const
virtual

Setter/Getter methods.

virtual void DtLineSegmentDescriptor::setLineWidth ( int  width)
virtual

Setter/Getter methods.

virtual int DtLineSegmentDescriptor::lineWidth ( ) const
virtual

Setter/Getter methods.

virtual void DtLineSegmentDescriptor::setLinePattern ( int  pattern)
virtual

Setter/Getter methods.

virtual int DtLineSegmentDescriptor::linePattern ( ) const
virtual

Setter/Getter methods.

virtual void DtLineSegmentDescriptor::setArrowStyle ( int  style)
virtual

Setter/Getter methods.

virtual int DtLineSegmentDescriptor::arrowStyle ( ) const
virtual

Setter/Getter methods.

virtual void DtLineSegmentDescriptor::setColor ( int  r,
int  g,
int  b,
int  a 
)
virtual

Setter/Getter methods.

virtual void DtLineSegmentDescriptor::getColor ( int &  r,
int &  g,
int &  b,
int &  a 
) const
virtual

Setter/Getter methods.

Member Data Documentation

float DtLineSegmentDescriptor::myPercentage
protected
int DtLineSegmentDescriptor::myLineStyle
protected
int DtLineSegmentDescriptor::myLineWidth
protected
int DtLineSegmentDescriptor::myLinePattern
protected
int DtLineSegmentDescriptor::myArrowStyle
protected
int DtLineSegmentDescriptor::myColorR
protected
int DtLineSegmentDescriptor::myColorG
protected
int DtLineSegmentDescriptor::myColorB
protected
int DtLineSegmentDescriptor::myColorA
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)