This class graphically represents a leader head. More...
Public Member Functions | |
ArrowHead () | |
Default constructor. More... | |
ArrowHead (const Dtk_Double64 inWidth, const Dtk_Double64 inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum inTerminatorType, const Dtk_InfoPtr &inInfos, const Dtk_dir &inRefDir, const Dtk_dir &inAxisDir) | |
void | CreateGeometries (Dtk_tab< Dtk_CurvePtr > &outRes) const |
const Dtk_pnt & | GetArrowLocation () const |
void | GetDirections (Dtk_dir &outRefDir, Dtk_dir &outAxisDir) const |
Dtk_InfoPtr & | GetInfo () |
const Dtk_InfoPtr & | GetInfo () const |
const LeaderTerminatorTypeEnum | GetType () const |
void | GetWidthHeight (Dtk_Double64 &outWidth, Dtk_Double64 &outHeight) const |
ArrowHead & | operator= (const ArrowHead &in) |
Copy assignment operator. More... | |
void | SetData (const Dtk_Double64 inWidth, const Dtk_Double64 inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum inTerminatorType, const Dtk_InfoPtr &inInfos, const Dtk_dir &inRefDir, const Dtk_dir &inAxisDir) |
void | SetType (const LeaderTerminatorTypeEnum inTerminatorType) |
void | SetWidthHeight (const Dtk_Double64 inWidth, const Dtk_Double64 inHeight) |
Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Applies a transformation matrix to the ApplicationZone. More... | |
Dtk_ErrorStatus | Translate (const Dtk_dir &inTranslateDir) |
Translates the ApplicationZone giving a translation vector. More... | |
~ArrowHead () | |
Destructor. More... | |
Protected Member Functions | |
void | _Copy (const ArrowHead &s) |
void | _Init () |
void | _Reset () |
Protected Attributes | |
Dtk_pnt | m_ArrowLocation |
Dtk_dir | m_AxisDir |
LeaderTerminatorTypeEnum | m_HeadType |
Dtk_InfoPtr | m_Infos |
Dtk_dir | m_RefDir |
This class graphically represents a leader head.
Dtk_Leader::ArrowHead::ArrowHead | ( | const Dtk_Double64 | inWidth, |
const Dtk_Double64 | inHeight, | ||
const Dtk_pnt & | inArrowLocation, | ||
const LeaderTerminatorTypeEnum | inTerminatorType, | ||
const Dtk_InfoPtr & | inInfos, | ||
const Dtk_dir & | inRefDir, | ||
const Dtk_dir & | inAxisDir | ||
) |
Dtk_Leader::ArrowHead::ArrowHead | ( | ) |
Default constructor.
Dtk_Leader::ArrowHead::~ArrowHead | ( | ) |
Destructor.
|
protected |
|
protected |
|
protected |
void Dtk_Leader::ArrowHead::CreateGeometries | ( | Dtk_tab< Dtk_CurvePtr > & | outRes | ) | const |
const Dtk_pnt& Dtk_Leader::ArrowHead::GetArrowLocation | ( | ) | const |
Dtk_InfoPtr& Dtk_Leader::ArrowHead::GetInfo | ( | ) |
const Dtk_InfoPtr& Dtk_Leader::ArrowHead::GetInfo | ( | ) | const |
const LeaderTerminatorTypeEnum Dtk_Leader::ArrowHead::GetType | ( | ) | const |
void Dtk_Leader::ArrowHead::GetWidthHeight | ( | Dtk_Double64 & | outWidth, |
Dtk_Double64 & | outHeight | ||
) | const |
Copy assignment operator.
in | Object to copy from. |
void Dtk_Leader::ArrowHead::SetData | ( | const Dtk_Double64 | inWidth, |
const Dtk_Double64 | inHeight, | ||
const Dtk_pnt & | inArrowLocation, | ||
const LeaderTerminatorTypeEnum | inTerminatorType, | ||
const Dtk_InfoPtr & | inInfos, | ||
const Dtk_dir & | inRefDir, | ||
const Dtk_dir & | inAxisDir | ||
) |
void Dtk_Leader::ArrowHead::SetType | ( | const LeaderTerminatorTypeEnum | inTerminatorType | ) |
void Dtk_Leader::ArrowHead::SetWidthHeight | ( | const Dtk_Double64 | inWidth, |
const Dtk_Double64 | inHeight | ||
) |
Dtk_ErrorStatus Dtk_Leader::ArrowHead::Transform | ( | const Dtk_transfo & | inTransfo | ) |
Applies a transformation matrix to the ApplicationZone.
inTransfo | The transformation matrix |
Dtk_ErrorStatus Dtk_Leader::ArrowHead::Translate | ( | const Dtk_dir & | inTranslateDir | ) |
Translates the ApplicationZone giving a translation vector.
inTranslateDir | the translation vector |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |