Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMGUI_DimensionProperty::Length Struct Reference

Declaration of properties for length dimensions.

#include <GEOMGUI_DimensionProperty.h>

Inheritance diagram for GEOMGUI_DimensionProperty::Length:
Inheritance graph

Public Member Functions

 Length ()
 
 Length (const Length &theOther)
 
 ~Length ()
 
void Init (const Handle(AIS_LengthDimension)&theIO, const gp_Ax3 &theLCS)
 Inits property fields from the passed length object. More...
 
void Update (Handle(AIS_LengthDimension)&theIO, const gp_Ax3 &theLCS)
 Updates length object properties from the fields. More...
 
void ToValues (std::vector< double > &theValues) const
 Packs properties to array of doubles. More...
 
void FromValues (int &theIt, const std::vector< double > &theValues)
 Unpacks properties from array of doubles. More...
 
bool operator== (const Length &theOther) const
 Overload comparsion. More...
 
bool operator!= (const Length &theOther) const
 
- Public Member Functions inherited from GEOMGUI_DimensionProperty::Record
 Record (const DimensionType theType)
 
DimensionType Type () const
 
LengthAsLength ()
 
DiameterAsDiameter ()
 
AngleAsAngle ()
 

Public Attributes

gp_Pnt FirstPoint
 
gp_Pnt SecondPoint
 
gp_Pln Plane
 
double Flyout
 
Prs3d_DimensionTextHorizontalPosition TextHPos
 
Prs3d_DimensionTextVerticalPosition TextVPos
 
Prs3d_DimensionArrowOrientation ArrowPos
 

Constructor & Destructor Documentation

GEOMGUI_DimensionProperty::Length::Length ( )
inline
GEOMGUI_DimensionProperty::Length::Length ( const Length theOther)
inline
GEOMGUI_DimensionProperty::Length::~Length ( )
inline

Member Function Documentation

void GEOMGUI_DimensionProperty::Length::FromValues ( int &  theIt,
const std::vector< double > &  theValues 
)
virtual
Parameters
theIt[in/out] the array index iterator.
theValues[in] the vector of values.

Implements GEOMGUI_DimensionProperty::Record.

void GEOMGUI_DimensionProperty::Length::Init ( const Handle(AIS_LengthDimension)&  theIO,
const gp_Ax3 &  theLCS 
)
Parameters
theIO[in] the interactive presentation.
theLCS[in] the local coordiante system of parent object.

References ArrowPos, FirstPoint, Flyout, Plane, SecondPoint, TextHPos, and TextVPos.

bool GEOMGUI_DimensionProperty::Length::operator!= ( const Length theOther) const
inline
bool GEOMGUI_DimensionProperty::Length::operator== ( const Length theOther) const
void GEOMGUI_DimensionProperty::Length::ToValues ( std::vector< double > &  theValues) const
virtual
Parameters
theValues[out] the values vector to populate.

Implements GEOMGUI_DimensionProperty::Record.

void GEOMGUI_DimensionProperty::Length::Update ( Handle(AIS_LengthDimension)&  theIO,
const gp_Ax3 &  theLCS 
)
Parameters
theIO[in/out] the interactive presentation.
theLCS[in] the local coordiante system of parent object.

References Handle().

Member Data Documentation

Prs3d_DimensionArrowOrientation GEOMGUI_DimensionProperty::Length::ArrowPos
gp_Pnt GEOMGUI_DimensionProperty::Length::FirstPoint
double GEOMGUI_DimensionProperty::Length::Flyout
gp_Pln GEOMGUI_DimensionProperty::Length::Plane
gp_Pnt GEOMGUI_DimensionProperty::Length::SecondPoint
Prs3d_DimensionTextHorizontalPosition GEOMGUI_DimensionProperty::Length::TextHPos
Prs3d_DimensionTextVerticalPosition GEOMGUI_DimensionProperty::Length::TextVPos

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