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

Public Member Functions

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

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
virtual void DtLineSegmentDescriptor::setLineStyle ( int  style)
virtual
virtual int DtLineSegmentDescriptor::lineStyle ( ) const
virtual
virtual void DtLineSegmentDescriptor::setLineWidth ( int  width)
virtual
virtual int DtLineSegmentDescriptor::lineWidth ( ) const
virtual
virtual void DtLineSegmentDescriptor::setLinePattern ( int  pattern)
virtual
virtual int DtLineSegmentDescriptor::linePattern ( ) const
virtual
virtual void DtLineSegmentDescriptor::setArrowStyle ( int  style)
virtual
virtual int DtLineSegmentDescriptor::arrowStyle ( ) const
virtual
virtual void DtLineSegmentDescriptor::setColor ( int  r,
int  g,
int  b,
int  a 
)
virtual
virtual void DtLineSegmentDescriptor::getColor ( int r,
int g,
int b,
int a 
) const
virtual

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)