This is the tolerance specification container.
It is part of the Dtk_GeometricalTolerance.
It's basically composed by one - or more - Dtk_ToleranceSpecification.
More...
Static Public Member Functions | |
static Dtk_ToleranceSpecificationContainerPtr | Create (const Dtk_ToleranceSpecificationContainer &ToBeCopied) |
Copy constructor. More... | |
static Dtk_ToleranceSpecificationContainerPtr | Create (const TypeEnum &inTolSpecContType, const Dtk_Oriented2dBBox &inInnerTolTypeBBox, const Dtk_Oriented2dBBox &inOuterTolTypeBBox) |
Full featured constructor. More... | |
static Dtk_ToleranceSpecificationContainerPtr | Create (Dtk_ToleranceSpecificationContainer &&ToBeMoved) |
\MoveConstructor{ToBeMoved} More... | |
static Dtk_ToleranceSpecificationContainer * | DtkDynamicCast (Dtk_Object *s) |
Performs a dynamic cast - doesn't need RTTI -. More... | |
static Dtk_string | TolSpecContTypeToDtk_string (const TypeEnum inValue) |
Data Fields | |
Dtk_tab< Geometric_set_select_entity * > & | outGeoms |
Protected Types | |
enum | { _typeID = DTK_TYPE_OBJECT } |
enum | { _typeID = DTK_TYPE_GEOM_TOL } |
Protected Member Functions | |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _reset () |
virtual Dtk_Object * | Clone () |
Dtk_ToleranceSpecificationContainer (const Dtk_ToleranceSpecificationContainer &s) | |
Dtk_ToleranceSpecificationContainer (const TypeEnum &inTolSpecContType, const Dtk_Oriented2dBBox &inInnerTolTypeBBox, const Dtk_Oriented2dBBox &inOuterTolTypeBBox) | |
Dtk_ToleranceSpecificationContainer (Dtk_ToleranceSpecificationContainer &&s) DTK_NOEXCEPT | |
~Dtk_ToleranceSpecificationContainer () | |
Destructor. More... | |
Protected Attributes | |
Dtk_Handle * | _Private |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_ToleranceSpecificationContainer > |
This is the tolerance specification container.
It is part of the Dtk_GeometricalTolerance.
It's basically composed by one - or more - Dtk_ToleranceSpecification.
|
protected |
|
protected |
|
protected |
|
protected |
Destructor.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::AddToleranceSpecification | ( | const Dtk_ToleranceSpecificationPtr & | inTolSpec | ) |
Adds a tolerance specification to the Dtk_ToleranceSpecificationContainer.
inTolSpec | the tolerance specification to be added. |
const Dtk_Text& Dtk_ToleranceSpecificationContainer::BottomText | ( | ) | const |
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer bottom-text as Dtk_Text - read only -.
const Dtk_CompositeText& Dtk_ToleranceSpecificationContainer::BottomTextAsCompositeText | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer bottom-text as Dtk_CompositeText - read only -.
|
protectedvirtual |
|
static |
Copy constructor.
ToBeCopied | Object to copy. |
|
static |
Full featured constructor.
inTolSpecContType | The tolerance specification container type |
|
static |
\MoveConstructor{ToBeMoved}
|
static |
Performs a dynamic cast - doesn't need RTTI -.
Retrieves the dynamic entity type.
|
pure virtualinherited |
Implemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_TopologicalEntity, Dtk_MeshPolyline, Dtk_MeshSurface, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Constraint, Dtk_ConstraintReference, Dtk_AxisSystem, Dtk_Preview, Dtk_Entity, Dtk_picture, Dtk_OverrideSet, Dtk_OverrideInfo, Dtk_MainDoc, Dtk_Component, Dtk_Node, Dtk_DocElement, Dtk_Log, and Dtk_Properties.
|
virtualinherited |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::Explode | ( | Dtk_CompositeText & | outCompositeText, |
Dtk_tab< Dtk_CurvePtr > & | outGeoms | ||
) |
Explodes the Dtk_ToleranceSpecificationContainer into Dtk_CompositeText and geometrical elements - used for Dtk_Symbol conversion only -.
outCompositeText | Resulting composite text |
outGeoms | Resulting geometrical elements |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::GetAnchorPoints | ( | Dtk_pnt(&) | outTabPnts[DTK_NB_ANCHOR_TYPES], |
const Dtk_bool & | ProcessAddtionnalTexts | ||
) | const |
Processes all the Dtk_Symbol anchor points.
outTabPnts | The resulting anchor point array. |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::GetAnchorPointsByTolSpec | ( | Dtk_pnt(&) | outTabPnts[DTK_NB_ANCHOR_TYPES], |
const Dtk_Int32 & | ref_tol_spec_ind = -1 |
||
) | const |
Processes all the Dtk_Symbol anchor points.
outTabPnts | The resulting anchor point array. |
Dtk_string Dtk_ToleranceSpecificationContainer::GetBottomTextLabel | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer bottom-text - read only -.
const Dtk_Text& Dtk_ToleranceSpecificationContainer::GetLeftText | ( | ) | const |
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer left-text as Dtk_Text - read only -.
Dtk_string Dtk_ToleranceSpecificationContainer::GetLeftTextLabel | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer left-text - read only -.
Dtk_Size_t Dtk_ToleranceSpecificationContainer::GetNumToleranceSpecifications | ( | ) | const |
Retrieves the tolerance specification number - read only -.
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::GetOuterBoundingBox | ( | const Dtk_bool & | inProcessAddtionnalTexts, |
Dtk_Oriented2dBBox & | outOuterBBox | ||
) | const |
const Dtk_Text& Dtk_ToleranceSpecificationContainer::GetRightText | ( | ) | const |
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer right-text as Dtk_Text - read only -.
Dtk_string Dtk_ToleranceSpecificationContainer::GetRightTextLabel | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer right-text - read only -.
|
virtualinherited |
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_mesh_face, Dtk_mesh, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Entity, and Dtk_Info.
Dtk_ToleranceSpecificationPtr Dtk_ToleranceSpecificationContainer::GetToleranceSpecification | ( | const Dtk_Size_t & | inPos | ) | const |
Retrieves the ith tolerance specification - read only -.
inPos | the tolerance specification index. |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::GetToleranceSpecificationBoundingBox | ( | const Dtk_Size_t & | inTolSpecPos, |
Dtk_pnt(&) | outTabPnts[DTK_NB_ANCHOR_TYPES] | ||
) | const |
Processes all the ith Dtk_ToleranceSpecification anchor points.
inTolSpecPos | the Dtk_ToleranceSpecification index. |
outTabPnts | The resulting anchor point array. |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::GetToleranceSpecificationOuterBoundingBox | ( | const Dtk_Size_t & | inTolSpecPos, |
Dtk_Oriented2dBBox & | outOuterBBox | ||
) | const |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::GetToleranceSpecificationsBoundingBox | ( | Dtk_pnt(&) | outTabPnts[DTK_NB_ANCHOR_TYPES] | ) | const |
Processes all the Dtk_ToleranceSpecificationContainer anchor points.
outTabPnts | The resulting anchor point array. |
void Dtk_ToleranceSpecificationContainer::GetToleranceTypeInnerBoundingBox | ( | Dtk_Oriented2dBBox & | outInnerBBox | ) | const |
Retrieves the Tolerance Specification Container Type inner Bounding Box.
outOuterBBox | The resulting Tolerance Specification Container Type inner Bounding Box. |
void Dtk_ToleranceSpecificationContainer::GetToleranceTypeOuterBoundingBox | ( | Dtk_Oriented2dBBox & | outOuterBBox | ) | const |
Retrieves the Tolerance Specification Container Type outer Bounding Box.
outOuterBBox | The resulting Tolerance Specification Container Type outer Bounding Box. |
Dtk_string Dtk_ToleranceSpecificationContainer::GetTopTextLabel | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer top-text - read only -.
const Dtk_CompositeText& Dtk_ToleranceSpecificationContainer::LeftTextAsCompositeText | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer left-text as Dtk_CompositeText - read only -.
Dtk_ToleranceSpecificationContainer& Dtk_ToleranceSpecificationContainer::operator= | ( | const Dtk_ToleranceSpecificationContainer & | s | ) |
Assignment Operator.
inToBeAssigned | Object to copy. |
Dtk_ToleranceSpecificationContainer& Dtk_ToleranceSpecificationContainer::operator= | ( | Dtk_ToleranceSpecificationContainer && | s | ) |
\MoveOp{inToBeMoved}
const Dtk_CompositeText& Dtk_ToleranceSpecificationContainer::RightTextAsCompositeText | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer right-text as Dtk_CompositeText - read only -.
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::SetAnchorPoint | ( | const Dtk_pnt & | inNewLocation, |
const Dtk_anchor_type & | inLocationAnchorType, | ||
const Dtk_bool & | inProcessAdditionnalTexts | ||
) |
Sets the Dtk_ToleranceSpecificationContainer anchor point.
inNewLocation | The new location point. |
inLocationAnchorType | The anchor type related to the new location. |
inProcessAdditionnalTexts | For internal use only. |
Dtk_ToleranceSpecificationContainer::SetAsDeprecated | ( | "2020.2" | , |
"Use Explode(Dtk_CompositeText &outCompositeText,Dtk_tab<Dtk_CurvePtr> &outGeoms) instead" | |||
) | & |
OBSOLETE.
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::SetBottomText | ( | Dtk_CompositeText | text | ) |
Sets the Dtk_ToleranceSpecificationContainer bottom-text.
inText | The new text. |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::SetLeftText | ( | Dtk_CompositeText | inText | ) |
Sets the Dtk_ToleranceSpecificationContainer left-text.
inText | The new text. |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::SetLocation | ( | const Dtk_pnt & | inLocation | ) |
Sets the location point of the Dtk_ToleranceSpecificationContainer.
The location point is related to the anchor type
inLocation | the location point |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::SetRightText | ( | Dtk_CompositeText | inText | ) |
Sets the Dtk_ToleranceSpecificationContainer right-text.
inText | The new text. |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::SetToleranceSpecification | ( | const Dtk_Size_t & | inPos, |
const Dtk_ToleranceSpecificationPtr & | inNewTolSpec | ||
) |
Replaces the ith tolerance specification .
inPos | the tolerance specification index. |
inNewTolSpec | the new tolerance specification index. |
void Dtk_ToleranceSpecificationContainer::SetToleranceTypeInnerBoundingBox | ( | const Dtk_Oriented2dBBox & | inInnerBBox | ) | const |
Set the Tolerance Specification Container Type inner Bounding Box.
inInnerBBox | The Tolerance Specification Container Type inner Bounding Box. |
void Dtk_ToleranceSpecificationContainer::SetToleranceTypeOuterBoundingBox | ( | const Dtk_Oriented2dBBox & | inOuterBBox | ) | const |
Set the Tolerance Specification Container Type outer Bounding Box.
inOuterBBox | The Tolerance Specification Container Type outer Bounding Box. |
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::SetTopText | ( | Dtk_CompositeText | inText | ) |
Sets the Dtk_ToleranceSpecificationContainer top-text.
inText | The new text. |
TypeEnum& Dtk_ToleranceSpecificationContainer::ToleranceSpecificationContainerType | ( | ) |
Retrieves the Dtk_ToleranceSpecificationContainer type - get/set -.
const TypeEnum& Dtk_ToleranceSpecificationContainer::ToleranceSpecificationContainerType | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer type - read only -.
|
static |
const Dtk_Text& Dtk_ToleranceSpecificationContainer::TopText | ( | ) | const |
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer top-text as Dtk_Text - read only -.
const Dtk_CompositeText& Dtk_ToleranceSpecificationContainer::TopTextAsCompositeText | ( | ) | const |
Retrieves the Dtk_ToleranceSpecificationContainer top-text as Dtk_CompositeText - read only -.
Dtk_ErrorStatus Dtk_ToleranceSpecificationContainer::Transform | ( | const Dtk_transfo & | inTransfo | ) |
Applies a transformation matrix to the entity. //!
inTransfo | The transformation matrix to apply. |
void Dtk_ToleranceSpecificationContainer::Translate | ( | const Dtk_dir & | inTranslationDir | ) |
Translates the text giving a translation vector.
inTranslateDir | the translation vector |
|
friend |
|
protected |
|
protectedinherited |
Dtk_tab<Geometric_set_select_entity*>& Dtk_ToleranceSpecificationContainer::outGeoms |