This is the frame class.
It's used to gather all frame information.
More...
Public Member Functions | |
void | Clear () |
Clear elements. More... | |
Dtk_ErrorStatus | CreateGeometries (Dtk_tab< Dtk_CurvePtr > &outGeoms) const |
Process Related geometries. More... | |
Dtk_Frame () | |
Default constructor. More... | |
Dtk_Frame (const Dtk_Frame &in) | |
Copy constructor. More... | |
Dtk_Frame (const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts) | |
Full featured constructor. More... | |
Dtk_Frame (Dtk_Frame &&in) DTK_NOEXCEPT | |
Move constructor. More... | |
const Dtk_frame_type & | GetFrameType () const |
Retrieves the Frame Type - Read Only -. More... | |
Dtk_Frame & | operator= (const Dtk_Frame &in) |
Copy assignment operator. More... | |
Dtk_Frame & | operator= (Dtk_Frame &&in) DTK_NOEXCEPT |
Move assignment operator. More... | |
void | SetFrameData (const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements) |
Set Frame informations. More... | |
Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Applies a transformation matrix to the frame. More... | |
Dtk_ErrorStatus | Translate (const Dtk_dir &inTranslateDir) |
Translates the frame giving a translation vector. More... | |
~Dtk_Frame () | |
Destructor. More... | |
Protected Member Functions | |
void | _Copy (const Dtk_Frame &s) |
void | _Init () |
void | _Reset () |
Protected Attributes | |
Dtk_frame_type | _FrameType |
Dtk_tab< Dtk_CurvePtr > | _RelatedGeomElements |
This is the frame class.
It's used to gather all frame information.
Dtk_Frame::Dtk_Frame | ( | const Dtk_frame_type & | inFrameType, |
Dtk_tab< Dtk_CurvePtr > | inRelatedGeometricalElts | ||
) |
Full featured constructor.
inFrameType | Frame Type. |
inRelatedGeometricalElts | Geometries representing the frame. |
Dtk_Frame::Dtk_Frame | ( | const Dtk_Frame & | in | ) |
Copy constructor.
in | Object to copy from. |
Dtk_Frame::Dtk_Frame | ( | Dtk_Frame && | in | ) |
Move constructor.
s | Object to move from. |
Dtk_Frame::Dtk_Frame | ( | ) |
Default constructor.
Dtk_Frame::~Dtk_Frame | ( | ) |
Destructor.
|
protected |
|
protected |
|
protected |
void Dtk_Frame::Clear | ( | ) |
Clear elements.
Dtk_ErrorStatus Dtk_Frame::CreateGeometries | ( | Dtk_tab< Dtk_CurvePtr > & | outGeoms | ) | const |
Process Related geometries.
const Dtk_frame_type& Dtk_Frame::GetFrameType | ( | ) | const |
Retrieves the Frame Type - Read Only -.
Copy assignment operator.
in | Object to copy from. |
Move assignment operator.
in | Object to move from. |
void Dtk_Frame::SetFrameData | ( | const Dtk_frame_type & | inFrameType, |
Dtk_tab< Dtk_CurvePtr > | inRelatedGeomElements | ||
) |
Set Frame informations.
inFrameType | Frame Type. |
inRelatedGeometricalElts | Geometries representing the frame. |
Dtk_ErrorStatus Dtk_Frame::Transform | ( | const Dtk_transfo & | inTransfo | ) |
Applies a transformation matrix to the frame.
inTransfo | The transformation matrix |
Dtk_ErrorStatus Dtk_Frame::Translate | ( | const Dtk_dir & | inTranslateDir | ) |
Translates the frame giving a translation vector.
inTranslateDir | the translation vector |
|
protected |
|
protected |