xmsstamper
1.0
|
Implementaion of XmGuideBankUtil. More...
Public Member Functions | |
virtual void | DoConvertTo3d (bool a_first, XmStamperIo &a_io, XmStamper3dPts &a_3dpts) override |
Converts an end cap to 3d pts defining the geometry. More... | |
virtual void | GetEndCapEndPoints (cs3dPtIdx &a_ptIdx, VecInt &a_firstEndCapEndPts, VecInt &a_lastEndCapEndPts, XmStamperIo &a_io) override |
creates a breakline representing the outer polygon of the stamp More... | |
virtual void | GetEndCapBreakLines (XmStamperIo &a_io, cs3dPtIdx &a_ptIdx, VecInt &a_blTypes) override |
breaklines from the end cap More... | |
void | GuideBankCenterLine () |
Creates the centerline for the guidebank. | |
void | AdjustEndCapCrossSection () |
Creates a cross section to be used for the guide bank. | |
void | CrossSectionTo3dPts () |
Creates a cross section to be used for the guide bank. | |
void | GuideBankEndCap () |
Makes the cross sections for the end cap of the guide bank. | |
void | BreakLinesAddCenterLine (XmStamperIo &a_io, cs3dPtIdx &a_ptIdx, VecInt &a_blTypes) |
breaklines from the center line More... | |
void | BreakLinesAddEndPoints (XmStamperIo &a_io, cs3dPtIdx &a_ptIdx, VecInt &a_blTypes) |
breaklines the outer edge of the stamp More... | |
void | BreakLinesAddCrossSections (XmStamperIo &a_io, cs3dPtIdx &a_ptIdx, VecInt &a_blTypes) |
breaklines for cross sections More... | |
void | BreakLinesAddEndCap (XmStamperIo &a_io, cs3dPtIdx &a_ptIdx, VecInt &a_blTypes) |
breaklines for end cap More... | |
void | BreakLinesAddShoulders (XmStamperIo &a_io, cs3dPtIdx &a_ptIdx, VecInt &a_blTypes) |
breaklines for end cap More... | |
Public Attributes | |
bool | m_first |
flag indicating if this is from the first end of the stamp | |
XmStamperIo * | m_io |
io class that has the stamping inputs | |
XmStamper3dPts * | m_3dpts |
class that holds the 3d points from the stamp coversion | |
VecPt3d | m_centerline |
centerline for the guidebank | |
XmStampCrossSection | m_cs |
cross section for the guidebank | |
Additional Inherited Members | |
Static Public Member Functions inherited from xms::XmGuideBankUtil | |
static BSHP< XmGuideBankUtil > | New () |
Creates a XmStampInterpCrossSection class. More... | |
Implementaion of XmGuideBankUtil.
Converts a sloped abutment to 3d points for feature stamping.
Definition at line 45 of file XmGuideBankUtil.cpp.
void xms::XmGuideBankUtilImpl::BreakLinesAddCenterLine | ( | XmStamperIo & | a_io, |
cs3dPtIdx & | a_ptIdx, | ||
VecInt & | a_blTypes | ||
) |
breaklines from the center line
[in,out] | a_io | StamperIo class |
[in] | a_ptIdx | The indexes of the points in the TIN created by stamping |
[out] | a_blTypes | The type of break line |
Definition at line 434 of file XmGuideBankUtil.cpp.
References xms::csPtIdx::m_centerLine, xms::cs3dPtIdx::m_centerLine, xms::cs3dPtIdx::m_first_end_cap, xms::XmStamperIo::m_firstEndCap, xms::cs3dPtIdx::m_last_end_cap, xms::XmStamperIo::m_lastEndCap, xms::XmStamperIo::m_outBreakLines, and xms::XmStamperEndCap::m_type.
Referenced by GetEndCapBreakLines().
void xms::XmGuideBankUtilImpl::BreakLinesAddCrossSections | ( | XmStamperIo & | a_io, |
cs3dPtIdx & | a_ptIdx, | ||
VecInt & | a_blTypes | ||
) |
breaklines for cross sections
[in,out] | a_io | StamperIo class |
[in] | a_ptIdx | The indexes of the points in the TIN created by stamping |
[out] | a_blTypes | The type of break line |
Definition at line 556 of file XmGuideBankUtil.cpp.
References xms::csPtIdx::m_centerLine, xms::cs3dPtIdx::m_first_end_cap, xms::XmStamperIo::m_firstEndCap, xms::cs3dPtIdx::m_last_end_cap, xms::XmStamperIo::m_lastEndCap, xms::csPtIdx::m_left, xms::XmStamperIo::m_outBreakLines, xms::csPtIdx::m_right, and xms::XmStamperEndCap::m_type.
Referenced by GetEndCapBreakLines().
void xms::XmGuideBankUtilImpl::BreakLinesAddEndCap | ( | XmStamperIo & | a_io, |
cs3dPtIdx & | a_ptIdx, | ||
VecInt & | a_blTypes | ||
) |
breaklines for end cap
[in,out] | a_io | StamperIo class |
[in] | a_ptIdx | The indexes of the points in the TIN created by stamping |
[out] | a_blTypes | The type of break line |
Definition at line 619 of file XmGuideBankUtil.cpp.
References xms::csPtIdx::m_centerLine, xms::cs3dPtIdx::m_first_end_cap, xms::XmStamperIo::m_firstEndCap, xms::cs3dPtIdx::m_last_end_cap, xms::XmStamperIo::m_lastEndCap, xms::csPtIdx::m_left, xms::XmStamperIo::m_outBreakLines, and xms::XmStamperEndCap::m_type.
Referenced by GetEndCapBreakLines().
void xms::XmGuideBankUtilImpl::BreakLinesAddEndPoints | ( | XmStamperIo & | a_io, |
cs3dPtIdx & | a_ptIdx, | ||
VecInt & | a_blTypes | ||
) |
breaklines the outer edge of the stamp
[in,out] | a_io | StamperIo class |
[in] | a_ptIdx | The indexes of the points in the TIN created by stamping |
[out] | a_blTypes | The type of break line |
Definition at line 475 of file XmGuideBankUtil.cpp.
References GetEndCapEndPoints(), xms::csPtIdx::m_centerLine, xms::cs3dPtIdx::m_first_end_cap, xms::XmStamperIo::m_firstEndCap, xms::cs3dPtIdx::m_last_end_cap, xms::XmStamperIo::m_lastEndCap, xms::csPtIdx::m_left, xms::XmStamperIo::m_outBreakLines, xms::csPtIdx::m_right, xms::XmStamperEndCap::m_type, and xms::cs3dPtIdx::m_xsPts.
Referenced by GetEndCapBreakLines().
void xms::XmGuideBankUtilImpl::BreakLinesAddShoulders | ( | XmStamperIo & | a_io, |
cs3dPtIdx & | a_ptIdx, | ||
VecInt & | a_blTypes | ||
) |
breaklines for end cap
[in,out] | a_io | StamperIo class |
[in] | a_ptIdx | The indexes of the points in the TIN created by stamping |
[out] | a_blTypes | The type of break line |
Definition at line 672 of file XmGuideBankUtil.cpp.
References xms::csPtIdx::m_centerLine, xms::XmStamperIo::m_cs, xms::cs3dPtIdx::m_first_end_cap, xms::XmStamperIo::m_firstEndCap, xms::cs3dPtIdx::m_last_end_cap, xms::XmStamperIo::m_lastEndCap, xms::csPtIdx::m_left, xms::XmStamperIo::m_outBreakLines, xms::csPtIdx::m_right, xms::XmStamperEndCap::m_type, and xms::cs3dPtIdx::m_xsPts.
Referenced by GetEndCapBreakLines().
|
overridevirtual |
Converts an end cap to 3d pts defining the geometry.
[in] | a_first | - flag indicating if this is the first end cap (otherwise it is the last endcap) |
[in] | a_io | - stamper io class |
[out] | a_3dpts | - points filled in by the method |
Definition at line 104 of file XmGuideBankUtil.cpp.
References AdjustEndCapCrossSection(), CrossSectionTo3dPts(), GuideBankCenterLine(), GuideBankEndCap(), m_3dpts, xms::XmStamperIo::m_centerLine, m_first, m_io, and XM_ENSURE_TRUE.
|
overridevirtual |
breaklines from the end cap
[in,out] | a_io | StamperIo class |
[in] | a_ptIdx | The indexes of the points in the TIN created by stamping |
[out] | a_blTypes | The type of break line |
Definition at line 418 of file XmGuideBankUtil.cpp.
References BreakLinesAddCenterLine(), BreakLinesAddCrossSections(), BreakLinesAddEndCap(), BreakLinesAddEndPoints(), and BreakLinesAddShoulders().
|
overridevirtual |
creates a breakline representing the outer polygon of the stamp
[in] | a_ptIdx | The indexes of the points in the TIN |
[out] | a_firstEndCapEndPts | first end cap ending points |
[out] | a_lastEndCapEndPts | last end cap ending points |
[in,out] | a_io | StamperIo class |
Definition at line 340 of file XmGuideBankUtil.cpp.
References xms::csPtIdx::m_centerLine, xms::cs3dPtIdx::m_first_end_cap, xms::XmStamperIo::m_firstEndCap, xms::cs3dPtIdx::m_last_end_cap, xms::XmStamperIo::m_lastEndCap, xms::csPtIdx::m_left, xms::csPtIdx::m_right, and xms::XmStamperEndCap::m_type.
Referenced by BreakLinesAddEndPoints().