This is the Welding Symbol class. More...
Public Member Functions | |
virtual Dtk_ErrorStatus | _Store (void *) |
void | AddAdditionnalGeometries (const Dtk_tab< Dtk_EntityPtr > &inAdditionnalGeometries) |
Adds some additionnal geometries to the Dtk_2dEntity. More... | |
void | AddAdditionnalGeometry (const Dtk_EntityPtr &inAdditionnalGeometry) |
Adds an additionnal geometry to the Dtk_2dEntity. More... | |
void | AddAdditionnalTexts (Dtk_CompositeText inAddtionnalTexts) |
Adds some additionnal texts to the Dtk_2dEntity. More... | |
void | AddArrowSideAssociatedGeometry (Dtk_EntityPtr inAssociatedGeometry) |
Add an AssociatedGeometry of the ArrowSide. More... | |
void | AddArrowSideText (WeldTextType inType, Dtk_CompositeText inText) |
Add a Text and its type to the ArrowSide. More... | |
void | AddArrowSideUndefinedText (Dtk_CompositeText inText) |
Add an undefined Text to the ArrowSide. More... | |
void | AddAssociatedGeometries (Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries) |
Add Geometries associated to whole Dtk_Welding (Weld body and tail). More... | |
void | AddAssociatedGeometry (Dtk_EntityPtr inAssociatedGeometry) |
Add a Geometry associated to whole Dtk_Welding (Weld body and tail). More... | |
Dtk_ErrorStatus | AddLeader (const Dtk_LeaderPtr &leader) |
Adds a leader to the Dtk_Annotation. More... | |
void | AddOtherSideAssociatedGeometry (Dtk_EntityPtr inAssociatedGeometry) |
Add an AssociatedGeometry of the OtherSide. More... | |
void | AddOtherSideText (WeldTextType inType, Dtk_CompositeText inText) |
Add a Text and its type to the OtherSide. More... | |
void | AddOtherSideUndefinedText (Dtk_CompositeText inText) |
Add an undefined Text to the OtherSide. More... | |
Dtk_Int32 | DtkDynamicType (const Dtk_Int32 &inId) |
Retrieves the dynamic entity type. More... | |
int | DtkDynamicType (const int &inId) |
virtual void | dump (FILE *file=stdout) |
Dtk_Char8 | FinishSymbolToDtk_Text (const FinishSymbolEnum inFinishSymbol) const |
Convert FinishSymbolEnum to Dtk_Char8. More... | |
Dtk_InfoPtr | get_info () const |
type_detk | get_type_detk () const |
const Dtk_tab< Dtk_EntityPtr > & | GetAdditionnalGeometries () const |
Retrieves the additionnal geometries of the Dtk_2dEntity. More... | |
const Dtk_CompositeText & | GetAdditionnalTexts () const |
Retrieves the additionnal texts of the Dtk_2dEntity. More... | |
Dtk_ErrorStatus | GetAnchorPoints (Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES]) |
Dtk_ErrorStatus | GetAnchorPoints (Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES]) const |
Processes all the Dtk_Annotation anchor points. More... | |
Dtk_Text | GetAngleTextArrowSide () const |
Retrieves the ArrowSide Angle Dtk_Text. More... | |
Dtk_Text | GetAngleTextOtherSide () const |
Retrieves the OtherSide Angle Dtk_Text. More... | |
std::unordered_map< Dtk_UInt8, Dtk_CompositeText > | GetArrowSideAllTexts () const |
Return all the texts of the ArrowSide. More... | |
Dtk_CompositeText | GetArrowSideClearanceText () const |
Retrieves the ArrowSideClearanceText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetArrowSideDepthText () const |
Retrieves the ArrowSideDepthText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetArrowSideOpeningText () const |
Retrieves the ArrowSideOpeningText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetArrowSideSecondFilletLengthText () const |
Retrieves the ArrowSideSecondFilletLengthText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetArrowSideSecondFilletSizeText () const |
Retrieves the ArrowSideSecondFilletSizeText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetArrowSideSizeText () const |
Retrieves the ArrowSideSizeText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetArrowSideUndefinedText () const |
Retrieves the ArrowSideUndefinedText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetArrowSideWeldSymbolText () const |
Retrieves the ArrowSideWeldSymbolText Dtk_CompositeText. More... | |
Dtk_bool | GetBrazingArrowSide () const |
Tells if the Brazing is activated for the ArrowSide. More... | |
Dtk_bool | GetBrazingOtherSide () const |
Tells if the Brazing is activated for the OtherSide. More... | |
ComplementarySymbolEnum | GetComplementarySymbolArrowSide () const |
Retrieves the ArrowSide WeldingSymboEnum. More... | |
ComplementarySymbolEnum | GetComplementarySymbolOtherSide () const |
Retrieves the OtherSide WeldingSymboEnum. More... | |
Dtk_bool | GetFieldWeldActivated () const |
Tells if the Field Weld Symbol is activated. More... | |
FinishSymbolEnum | GetFinishSymbolArrowSide () const |
Retrieves the ArrowSide FinishSymbol as FinishSymbolEnum. More... | |
Dtk_Text | GetFinishSymbolArrowSideAsText () const |
FinishSymbolEnum | GetFinishSymbolOtherSide () const |
Retrieves the OtherSide FinishSymbol as FinishSymbolEnum. More... | |
Dtk_Text | GetFinishSymbolOtherSideAsText () const |
Dtk_Text | GetFinishSymbolTextArrowSide () const |
Retrieves the ArrowSide Finish Symbol Dtk_Text. More... | |
Dtk_Text | GetFinishSymbolTextOtherSide () const |
Retrieves the OtherSide Finish Symbol Dtk_Text. More... | |
Dtk_tab< Dtk_EntityPtr > | GetGeometries (const Dtk_bool inIncludeWeldBodyGeometries=DTK_TRUE, const Dtk_bool inIncludeOtherSideGeometries=DTK_TRUE, const Dtk_bool inIncludeArrowSideGeometries=DTK_TRUE) const |
Retrieves the Dtk_Welding geometries. More... | |
const Dtk_ID & | GetID () const |
Get Internal UniqueID. More... | |
Dtk_Char8 | GetIndentLineFlag () const |
Retrieves the IndentLine Flag. More... | |
Dtk_LeaderPtr | GetLeader (const Dtk_Size_t &inPos) const |
Gets the i'th leader. More... | |
Dtk_Text | GetLengthTextArrowSide () const |
Retrieves the ArrowSide Length Dtk_Text. More... | |
Dtk_Text | GetLengthTextOtherSide () const |
Retrieves the OtherSide Length Dtk_Text. More... | |
virtual Dtk_pnt | GetLocation () const |
Get the annoation location point. More... | |
const Dtk_anchor_type & | GetLocationAnchorType () const |
Gets the location anchor type - read only -. More... | |
Dtk_Size_t | GetNumLeaders () const |
Retrieves the number of leaders. More... | |
Dtk_Text | GetNumWeldsTextArrowSide () const |
Retrieves the ArrowSide NumWelds Dtk_Text. More... | |
Dtk_Text | GetNumWeldsTextOtherSide () const |
Retrieves the OtherSide NumWelds Dtk_Text. More... | |
Dtk_Double64 | GetOffset () const |
Gets the annotation offset - read only -. More... | |
std::unordered_map< Dtk_UInt8, Dtk_CompositeText > | GetOtherSideAllTexts () const |
Return all the texts of the OtherSide. More... | |
Dtk_CompositeText | GetOtherSideClearanceText () const |
Retrieves the OtherSideClearanceText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetOtherSideDepthText () const |
Retrieves the OtherSideDepthText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetOtherSideOpeningText () const |
Retrieves the OtherSideOpeningText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetOtherSideSecondFilletLengthText () const |
Retrieves the OtherSideSecondFilletLengthText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetOtherSideSecondFilletSizeText () const |
Retrieves the OtherSideSecondFilletSizeText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetOtherSideSizeText () const |
Retrieves the OtherSideSizeText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetOtherSideUndefinedText () const |
Retrieves the OtherSideUndefinedText Dtk_CompositeText. More... | |
Dtk_CompositeText | GetOtherSideWeldSymbolText () const |
Retrieves the OtherSideWeldSymbolText Dtk_CompositeText. More... | |
Dtk_bool | GetReverseTailAndFieldFlag () const |
Tells if the Field/Tail are reversed. More... | |
Dtk_Double64 | GetRotationAngle (const Dtk_dir &inXAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inYAxis=Dtk_dir(0, 1, 0)) const |
Gets the text rotation angle giving a reference base. More... | |
virtual Dtk_Size_t | GetSize () const |
Dtk_Text | GetSizeTextArrowSide () const |
Retrieves the ArrowSide Size Dtk_Text. More... | |
Dtk_Text | GetSizeTextOtherSide () const |
Retrieves the OtherSide Size Dtk_Text. More... | |
Dtk_CompositeText | GetTailText () const |
Retrieves the Tail Dtk_CompositeText. More... | |
WeldingSymbolEnum | GetWeldingSymbolArrowSide () const |
Retrieves the ArrowSide WeldingSymboEnum. More... | |
WeldingSymbolEnum | GetWeldingSymbolOtherSide () const |
Retrieves the OtherSide WeldingSymboEnum. More... | |
Dtk_bool | GetWeldTailActivated () const |
Tells if the Weld Tail is activated. More... | |
Dtk_dir | GetXAxis () const |
Get the X Axis - read only -. More... | |
Dtk_dir | GetYAxis () const |
Get the Y Axis - read only -. More... | |
Dtk_InfoPtr & | info () |
virtual std::ostream & | operator<< (std::ostream &o) const |
Dtk_Welding & | operator= (const Dtk_Welding &inToBeAssigned) |
Assignment Operator. More... | |
virtual void | PrepareTransfo () |
void | ProcessSymbolInfos (Dtk_tab< Dtk_pnt > &outPnts) const |
Process the Welding Symbol Informations as shown in the picture below. More... | |
virtual Dtk_ErrorStatus | Reverse () |
Reverses the Dtk_Annotation. More... | |
Dtk_ErrorStatus | SetAnchorPoint (const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType) |
Sets the Dtk_Welding anchor point. More... | |
void | SetArrowSideAssociatedGeometries (Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries) |
Set the AssociatedGeometries of the ArrowSide. More... | |
void | SetArrowSideClearanceText (Dtk_CompositeText inArrowSideClearanceText) |
Sets the ArrowSideClearanceText Dtk_CompositeText. More... | |
void | SetArrowSideContourSymbol (ComplementarySymbolEnum inContourSymbol) |
Set the ContourSymbol of the ArrowSide. More... | |
void | SetArrowSideData (const WeldingSymbolEnum inWeldingSymbol, Dtk_Text inNumWeldsText, Dtk_Text inAngleText, const ComplementarySymbolEnum inContourSymbol, Dtk_Text inFinishSymbolText, Dtk_Text inSizeText, Dtk_Text inLengthText, Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries) |
Sets the Dtk_Welding ArrowSide Data. More... | |
void | SetArrowSideDepthText (Dtk_CompositeText inArrowSideDepthText) |
Sets the ArrowSideDepthText Dtk_CompositeText. More... | |
void | SetArrowSideOpeningText (Dtk_CompositeText inArrowSideOpeningText) |
Sets the ArrowSideOpeningText Dtk_CompositeText. More... | |
void | SetArrowSideSecondFilletLengthText (Dtk_CompositeText inArrowSideSecondFilletLengthText) |
Sets the ArrowSideSecondFilletLengthText Dtk_CompositeText. More... | |
void | SetArrowSideSecondFilletSizeText (Dtk_CompositeText inArrowSideSecondFilletSizeText) |
Sets the ArrowSideSecondFilletSizeText Dtk_CompositeText. More... | |
void | SetArrowSideSizeText (Dtk_CompositeText inArrowSideSizeText) |
Sets the ArrowSideSizeText Dtk_CompositeText. More... | |
void | SetArrowSideTexts (std::unordered_map< Dtk_UInt8, Dtk_CompositeText > &inTexts) |
Set the Dtk_Welding ArrowSide Texts and their types. More... | |
void | SetArrowSideWeldingSymbol (WeldingSymbolEnum inWeldingSymbol) |
Set the WeldingSymbol of the ArrowSide. More... | |
void | SetArrowSideWeldSymbolText (Dtk_CompositeText inArrowSideWeldSymbolText) |
Sets the ArrowSideWeldSymbolText Dtk_CompositeText. More... | |
SetAsDeprecated ("Undefined", "Use Dtk_TextStyle::Justification()") Dtk_justication_type GetJustification() const | |
Get the justification type - read only -. More... | |
void | SetBrazingArrowSide (const Dtk_bool inBrazing=DTK_TRUE) |
Sets the Brazing flag for the ArrowSide. More... | |
void | SetBrazingOtherSide (const Dtk_bool inBrazing=DTK_TRUE) |
Sets the Brazing flag for the OtherSide. More... | |
void | SetFieldWeldFlag (const Dtk_bool inFieldWeldFlag) |
Sets the Field Weld Flag. More... | |
void | SetIndentLineFlag (const Dtk_Char8 inIndentLineFlag=-1) |
Sets the IndentLine Flag. More... | |
Dtk_ErrorStatus | SetLocation (const Dtk_pnt &inLocation) |
Sets the location point of the Dtk_Annotation. More... | |
Dtk_ErrorStatus | SetLocation (const Dtk_pnt &location, const Dtk_anchor_type &inAnchorType) |
Sets the location point of the Dtk_Annotation. More... | |
Dtk_ErrorStatus | SetOffset (const Dtk_Double64 &inOffset) |
Sets the offset of the Dtk_Welding. More... | |
void | SetOtherSideAssociatedGeometries (Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries) |
Set the AssociatedGeometries of the OtherSide. More... | |
void | SetOtherSideClearanceText (Dtk_CompositeText inOtherSideClearanceText) |
Sets the OtherSideClearanceText Dtk_CompositeText. More... | |
void | SetOtherSideContourSymbol (ComplementarySymbolEnum inContourSymbol) |
Set the ContourSymbol of the OtherSide. More... | |
void | SetOtherSideData (const WeldingSymbolEnum inWeldingSymbol, Dtk_Text inNumWeldsText, Dtk_Text inAngleText, const ComplementarySymbolEnum inContourSymbol, Dtk_Text inFinishSymbolText, Dtk_Text inSizeText, Dtk_Text inLengthText, Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries) |
Sets the Dtk_Welding OtherSide Data. More... | |
void | SetOtherSideDepthText (Dtk_CompositeText inOtherSideDepthText) |
Sets the OtherSideDepthText Dtk_CompositeText. More... | |
void | SetOtherSideOpeningText (Dtk_CompositeText inOtherSideOpeningText) |
Sets the OtherSideOpeningText Dtk_CompositeText. More... | |
void | SetOtherSideSecondFilletLengthText (Dtk_CompositeText inOtherSideSecondFilletLengthText) |
Sets the OtherSideSecondFilletLengthText Dtk_CompositeText. More... | |
void | SetOtherSideSecondFilletSizeText (Dtk_CompositeText inOtherSideSecondFilletSizeText) |
Sets the OtherSideSecondFilletSizeText Dtk_CompositeText. More... | |
void | SetOtherSideSizeText (Dtk_CompositeText inOtherSideSizeText) |
Sets the OtherSideSizeText Dtk_CompositeText. More... | |
void | SetOtherSideTexts (std::unordered_map< Dtk_UInt8, Dtk_CompositeText > &inTexts) |
Set the Dtk_Welding OtherSide Texts and their types. More... | |
void | SetOtherSideWeldingSymbol (WeldingSymbolEnum inWeldingSymbol) |
Set the WeldingSymbol of the OtherSide. More... | |
void | SetOtherSideWeldSymbolText (Dtk_CompositeText inOtherSideWeldSymbolText) |
Sets the OtherSideWeldSymbolText Dtk_CompositeText. More... | |
void | SetReverseTailAndFieldFlag (const Dtk_bool inReverseTailAndField=DTK_TRUE) |
Sets the Field/Tail Reverse Flag. More... | |
Dtk_ErrorStatus | SetRotationAngle (const Dtk_Double64 &inAngle) |
Sets the annotation angle using the annotation base. More... | |
void | SetTailText (Dtk_CompositeText inTailText) |
Sets the Tail Dtk_CompositeText. More... | |
void | SetWeldTailActivated (const Dtk_bool inTailActivated=DTK_FALSE) |
Sets the Tail Activation Flag. More... | |
Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) |
Applies a transformation matrix to the entity. //! More... | |
Static Public Member Functions | |
static Dtk_string | ComplementarySymbolEnumToString (const ComplementarySymbolEnum &inEnum) |
static Dtk_WeldingPtr | Create () |
Base constructor. More... | |
static Dtk_WeldingPtr | Create (const Dtk_pnt &inLocation, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeaders=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 inAngle=0.0, const Dtk_Double64 inOffset=0.0, const Dtk_anchor_type inAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type inJustification=DTK_JUSTIFY_LEFT) |
Full featured constructor. More... | |
static Dtk_WeldingPtr | Create (const Dtk_pnt &inLocation, Dtk_CompositeText inTailText, const Dtk_bool inFieldWeldActivated, const Dtk_Char8 inIndentLineFlag, const Dtk_bool inTailActivated, const Dtk_bool inReverseTailAndField, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeaders, const Dtk_Double64 inAngle, const Dtk_Double64 inOffset, const Dtk_anchor_type inAnchorType, const Dtk_justication_type inJustification) |
Full featured constructor. More... | |
static Dtk_WeldingPtr | Create (const Dtk_Welding &inToBeCopied) |
Copy constructor. More... | |
static Dtk_WeldingPtr | Create (Dtk_Welding &&inToBeMoved) |
\MoveConstructor{inToBeMoved} More... | |
static Dtk_Welding * | DtkDynamicCast (Dtk_Object *s) |
Performs a dynamic cast - doesn't need RTTI -. More... | |
static Dtk_string | FinishSymbolEnumToString (const FinishSymbolEnum &inEnum) |
static Dtk_string | WeldingSymbolEnumToString (const WeldingSymbolEnum &inEnum) |
Protected Types | |
enum | { _typeID = DTK_TYPE_2D_ENTITY } |
enum | { _typeID = DTK_TYPE_ENTITY } |
enum | { _typeID = DTK_TYPE_ANNOTATION } |
enum | { _typeID = DTK_TYPE_WELDING } |
Protected Member Functions | |
void | _Copy (const Dtk_2dEntity &s) |
void | _copy (const Dtk_Entity &s) |
void | _copy (const Dtk_Object &s) |
void | _init () |
void | _reset () |
virtual Dtk_Object * | Clone () |
Dtk_Welding () | |
Dtk_Welding (const Dtk_pnt &inLocation, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeaders=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 inAngle=0.0, const Dtk_Double64 inOffset=0.0, const Dtk_anchor_type inAnchor_type=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type inJustification=DTK_JUSTIFY_LEFT) | |
Dtk_Welding (const Dtk_pnt &inLocation, Dtk_CompositeText inMiddleRightText, const Dtk_bool inFieldWeldActivated, const Dtk_Char8 inIndentLineFlag, const Dtk_bool inTailActivated, const Dtk_bool inReverseTailAndField, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeaders, const Dtk_Double64 inAngle, const Dtk_Double64 inOffset, const Dtk_anchor_type inAnchorType, const Dtk_justication_type inJustification) | |
Dtk_Welding (const Dtk_Welding &s) | |
Dtk_Welding (Dtk_Welding &&s) DTK_NOEXCEPT | |
~Dtk_Welding () | |
Destructor. More... | |
Protected Attributes | |
Dtk_Handle * | _Private |
unsigned long | count_ |
Friends | |
class | Dtk_SmartPtr< Dtk_Welding > |
class | Dtk_Symbol |
This is the Welding Symbol class.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Destructor.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
virtualinherited |
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, 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, and Dtk_Point.
|
inherited |
Adds some additionnal geometries to the Dtk_2dEntity.
inAdditionnalGeometries | The geometries to be added |
|
inherited |
Adds an additionnal geometry to the Dtk_2dEntity.
inAdditionnalGeometry | The geometry to be added |
|
inherited |
Adds some additionnal texts to the Dtk_2dEntity.
inAddtionnalTexts | The texts to be added |
void Dtk_Welding::AddArrowSideAssociatedGeometry | ( | Dtk_EntityPtr | inAssociatedGeometry | ) |
Add an AssociatedGeometry of the ArrowSide.
inAssociatedGeometry | The Geometry associated to the ArrowSide. |
void Dtk_Welding::AddArrowSideText | ( | WeldTextType | inType, |
Dtk_CompositeText | inText | ||
) |
Add a Text and its type to the ArrowSide.
inType | The WeldTextType |
inTexts | The text |
void Dtk_Welding::AddArrowSideUndefinedText | ( | Dtk_CompositeText | inText | ) |
Add an undefined Text to the ArrowSide.
inTexts | The text |
void Dtk_Welding::AddAssociatedGeometries | ( | Dtk_tab< Dtk_EntityPtr > | inAssociatedGeometries | ) |
Add Geometries associated to whole Dtk_Welding (Weld body and tail).
inAssociatedGeometries | The Geometries associated to the Dtk_Welding. |
void Dtk_Welding::AddAssociatedGeometry | ( | Dtk_EntityPtr | inAssociatedGeometry | ) |
Add a Geometry associated to whole Dtk_Welding (Weld body and tail).
inAssociatedGeometry | The Geometry associated to the Dtk_Welding. |
|
inherited |
Adds a leader to the Dtk_Annotation.
leader | The leader to be added |
void Dtk_Welding::AddOtherSideAssociatedGeometry | ( | Dtk_EntityPtr | inAssociatedGeometry | ) |
Add an AssociatedGeometry of the OtherSide.
inAssociatedGeometry | The Geometry associated to the OtherSide. |
void Dtk_Welding::AddOtherSideText | ( | WeldTextType | inType, |
Dtk_CompositeText | inText | ||
) |
Add a Text and its type to the OtherSide.
inType | The WeldTextType |
inTexts | The text |
void Dtk_Welding::AddOtherSideUndefinedText | ( | Dtk_CompositeText | inText | ) |
Add an undefined Text to the OtherSide.
inTexts | The text |
|
protectedvirtual |
Implements Dtk_Annotation.
|
static |
|
static |
Base constructor.
|
static |
Full featured constructor.
inLocationPnt | The Dtk_Welding location |
inInfos | Dtk_Welding infos |
inLeaders | Leaders array. |
inAngle | Angle. |
inOffSet | Offset. |
inAnchorType | Dtk_Welding anchor type. |
inJustificationType | Justification type. |
|
static |
Full featured constructor.
inLocationPnt | The Dtk_Welding location |
inTailText | Tail Dtk_CompositeText. |
inFieldWeldActivated | DTK_TRUE if Field is activated. DTK_FALSE else. |
inIndentLineFlag | The IndentLineSideDown Flag:
|
inTailActivated | The Tail Flag Activation status. DTK_TRUE if activated DTK_FALSE else. |
inReverseTailAndField | The Tail/Field Reverse Flag:
|
inInfos | Dtk_Welding infos |
inLeaders | Leaders array. |
inAngle | Angle. |
inOffSet | Offset. |
inAnchorType | Dtk_Welding anchor type. |
inJustificationType | Justification type. |
|
static |
Copy constructor.
inToBeCopied | Object to copy. |
|
static |
\MoveConstructor{inToBeMoved}
|
static |
Performs a dynamic cast - doesn't need RTTI -.
|
virtualinherited |
Implements Dtk_Object.
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_TopologicalEntity, 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, and Dtk_AxisSystem.
|
virtualinherited |
|
static |
Dtk_Char8 Dtk_Welding::FinishSymbolToDtk_Text | ( | const FinishSymbolEnum | inFinishSymbol | ) | const |
Convert FinishSymbolEnum to Dtk_Char8.
inFinishSymbol | FinishSymbolEnum to be converted. |
|
inherited |
|
virtual |
|
inherited |
Retrieves the additionnal geometries of the Dtk_2dEntity.
|
inherited |
Retrieves the additionnal texts of the Dtk_2dEntity.
Dtk_ErrorStatus Dtk_Welding::GetAnchorPoints | ( | Dtk_pnt(&) | inTabPoints[DTK_NB_ANCHOR_TYPES] | ) |
|
virtual |
Processes all the Dtk_Annotation anchor points.
outTabPnts | The resulting anchor point array. |
Implements Dtk_Annotation.
Dtk_Text Dtk_Welding::GetAngleTextArrowSide | ( | ) | const |
Dtk_Text Dtk_Welding::GetAngleTextOtherSide | ( | ) | const |
std::unordered_map<Dtk_UInt8, Dtk_CompositeText> Dtk_Welding::GetArrowSideAllTexts | ( | ) | const |
Return all the texts of the ArrowSide.
Dtk_CompositeText Dtk_Welding::GetArrowSideClearanceText | ( | ) | const |
Retrieves the ArrowSideClearanceText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetArrowSideDepthText | ( | ) | const |
Retrieves the ArrowSideDepthText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetArrowSideOpeningText | ( | ) | const |
Retrieves the ArrowSideOpeningText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetArrowSideSecondFilletLengthText | ( | ) | const |
Retrieves the ArrowSideSecondFilletLengthText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetArrowSideSecondFilletSizeText | ( | ) | const |
Retrieves the ArrowSideSecondFilletSizeText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetArrowSideSizeText | ( | ) | const |
Retrieves the ArrowSideSizeText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetArrowSideUndefinedText | ( | ) | const |
Retrieves the ArrowSideUndefinedText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetArrowSideWeldSymbolText | ( | ) | const |
Retrieves the ArrowSideWeldSymbolText Dtk_CompositeText.
Dtk_bool Dtk_Welding::GetBrazingArrowSide | ( | ) | const |
Tells if the Brazing is activated for the ArrowSide.
Dtk_bool Dtk_Welding::GetBrazingOtherSide | ( | ) | const |
Tells if the Brazing is activated for the OtherSide.
ComplementarySymbolEnum Dtk_Welding::GetComplementarySymbolArrowSide | ( | ) | const |
Retrieves the ArrowSide WeldingSymboEnum.
ComplementarySymbolEnum Dtk_Welding::GetComplementarySymbolOtherSide | ( | ) | const |
Retrieves the OtherSide WeldingSymboEnum.
Dtk_bool Dtk_Welding::GetFieldWeldActivated | ( | ) | const |
Tells if the Field Weld Symbol is activated.
FinishSymbolEnum Dtk_Welding::GetFinishSymbolArrowSide | ( | ) | const |
Retrieves the ArrowSide FinishSymbol as FinishSymbolEnum.
Dtk_Text Dtk_Welding::GetFinishSymbolArrowSideAsText | ( | ) | const |
FinishSymbolEnum Dtk_Welding::GetFinishSymbolOtherSide | ( | ) | const |
Retrieves the OtherSide FinishSymbol as FinishSymbolEnum.
Dtk_Text Dtk_Welding::GetFinishSymbolOtherSideAsText | ( | ) | const |
Dtk_Text Dtk_Welding::GetFinishSymbolTextArrowSide | ( | ) | const |
Dtk_Text Dtk_Welding::GetFinishSymbolTextOtherSide | ( | ) | const |
Dtk_tab< Dtk_EntityPtr > Dtk_Welding::GetGeometries | ( | const Dtk_bool | inIncludeWeldBodyGeometries = DTK_TRUE , |
const Dtk_bool | inIncludeOtherSideGeometries = DTK_TRUE , |
||
const Dtk_bool | inIncludeArrowSideGeometries = DTK_TRUE |
||
) | const |
Retrieves the Dtk_Welding geometries.
inIncludeWeldBodyGeometries | If DTK_TRUE includes WeldBody geometries - DTK_TRUE by default -. |
inIncludeOtherSideGeometries | If DTK_TRUE includes OtherSide geometries - DTK_TRUE by default -. |
inIncludeArrowSideGeometries | If DTK_TRUE includes ArrowSide geometries - DTK_TRUE by default -. |
|
inherited |
Get Internal UniqueID.
Dtk_Char8 Dtk_Welding::GetIndentLineFlag | ( | ) | const |
Retrieves the IndentLine Flag.
|
inherited |
Gets the i'th leader.
inPos | The leader position - 0 indexed - |
Dtk_Text Dtk_Welding::GetLengthTextArrowSide | ( | ) | const |
Dtk_Text Dtk_Welding::GetLengthTextOtherSide | ( | ) | const |
|
virtualinherited |
Get the annoation location point.
|
inherited |
Gets the location anchor type - read only -.
|
inherited |
Retrieves the number of leaders.
Dtk_Text Dtk_Welding::GetNumWeldsTextArrowSide | ( | ) | const |
Dtk_Text Dtk_Welding::GetNumWeldsTextOtherSide | ( | ) | const |
|
inherited |
Gets the annotation offset - read only -.
std::unordered_map<Dtk_UInt8, Dtk_CompositeText> Dtk_Welding::GetOtherSideAllTexts | ( | ) | const |
Return all the texts of the OtherSide.
Dtk_CompositeText Dtk_Welding::GetOtherSideClearanceText | ( | ) | const |
Retrieves the OtherSideClearanceText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetOtherSideDepthText | ( | ) | const |
Retrieves the OtherSideDepthText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetOtherSideOpeningText | ( | ) | const |
Retrieves the OtherSideOpeningText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetOtherSideSecondFilletLengthText | ( | ) | const |
Retrieves the OtherSideSecondFilletLengthText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetOtherSideSecondFilletSizeText | ( | ) | const |
Retrieves the OtherSideSecondFilletSizeText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetOtherSideSizeText | ( | ) | const |
Retrieves the OtherSideSizeText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetOtherSideUndefinedText | ( | ) | const |
Retrieves the OtherSideUndefinedText Dtk_CompositeText.
Dtk_CompositeText Dtk_Welding::GetOtherSideWeldSymbolText | ( | ) | const |
Retrieves the OtherSideWeldSymbolText Dtk_CompositeText.
Dtk_bool Dtk_Welding::GetReverseTailAndFieldFlag | ( | ) | const |
Tells if the Field/Tail are reversed.
|
inherited |
Gets the text rotation angle giving a reference base.
inXAxis | The reference X Axis - default value = (1,0,0) - |
inYAxis | The reference Y Axis - default value = (0,1,0) - |
|
virtualinherited |
Reimplemented from Dtk_Object.
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, 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, and Dtk_Point.
Dtk_Text Dtk_Welding::GetSizeTextArrowSide | ( | ) | const |
Dtk_Text Dtk_Welding::GetSizeTextOtherSide | ( | ) | const |
Dtk_CompositeText Dtk_Welding::GetTailText | ( | ) | const |
Retrieves the Tail Dtk_CompositeText.
WeldingSymbolEnum Dtk_Welding::GetWeldingSymbolArrowSide | ( | ) | const |
Retrieves the ArrowSide WeldingSymboEnum.
WeldingSymbolEnum Dtk_Welding::GetWeldingSymbolOtherSide | ( | ) | const |
Retrieves the OtherSide WeldingSymboEnum.
Dtk_bool Dtk_Welding::GetWeldTailActivated | ( | ) | const |
Tells if the Weld Tail is activated.
|
inherited |
Get the X Axis - read only -.
|
inherited |
Get the Y Axis - read only -.
|
inherited |
|
virtualinherited |
Dtk_Welding& Dtk_Welding::operator= | ( | const Dtk_Welding & | inToBeAssigned | ) |
Assignment Operator.
inToBeAssigned | Object to copy. |
|
virtualinherited |
Reimplemented in Dtk_OffsetSurface.
Process the Welding Symbol Informations as shown in the picture below.
outPnts | The reference points processed. |
|
virtualinherited |
Reverses the Dtk_Annotation.
Reimplemented in Dtk_DatumTarget.
|
virtual |
Sets the Dtk_Welding anchor point.
inNewLocation | The new location point. |
inLocationAnchorType | The anchor type related to the new location. |
Implements Dtk_Annotation.
void Dtk_Welding::SetArrowSideAssociatedGeometries | ( | Dtk_tab< Dtk_EntityPtr > | inAssociatedGeometries | ) |
Set the AssociatedGeometries of the ArrowSide.
inAssociatedGeometries | The Geometries associated to the ArrowSide. |
void Dtk_Welding::SetArrowSideClearanceText | ( | Dtk_CompositeText | inArrowSideClearanceText | ) |
Sets the ArrowSideClearanceText Dtk_CompositeText.
inArrowSideClearanceText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetArrowSideContourSymbol | ( | ComplementarySymbolEnum | inContourSymbol | ) |
Set the ContourSymbol of the ArrowSide.
inContourSymbol | The Contour Symbol. |
void Dtk_Welding::SetArrowSideData | ( | const WeldingSymbolEnum | inWeldingSymbol, |
Dtk_Text | inNumWeldsText, | ||
Dtk_Text | inAngleText, | ||
const ComplementarySymbolEnum | inContourSymbol, | ||
Dtk_Text | inFinishSymbolText, | ||
Dtk_Text | inSizeText, | ||
Dtk_Text | inLengthText, | ||
Dtk_tab< Dtk_EntityPtr > | inAssociatedGeometries | ||
) |
Sets the Dtk_Welding ArrowSide Data.
inWeldingSymbol | The Welding Symbol. |
inNumWeldsText | The NumWelds Dtk_Text. |
inAngleText | The Angle Dtk_Text. |
inContourSymbol | The Contour Symbol. |
inFinishSymbolText | The Finish Symbol Dtk_Text. |
inSizeText | The Size Dtk_Text. |
inLengthText | The Length Dtk_Text. |
inAssociatedGeometries | The Geometries associated to the ArrowSide - used to Dtk_Symbol convertion -. |
void Dtk_Welding::SetArrowSideDepthText | ( | Dtk_CompositeText | inArrowSideDepthText | ) |
Sets the ArrowSideDepthText Dtk_CompositeText.
inArrowSideDepthText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetArrowSideOpeningText | ( | Dtk_CompositeText | inArrowSideOpeningText | ) |
Sets the ArrowSideOpeningText Dtk_CompositeText.
inArrowSideOpeningText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetArrowSideSecondFilletLengthText | ( | Dtk_CompositeText | inArrowSideSecondFilletLengthText | ) |
Sets the ArrowSideSecondFilletLengthText Dtk_CompositeText.
inArrowSideSecondFilletLengthText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetArrowSideSecondFilletSizeText | ( | Dtk_CompositeText | inArrowSideSecondFilletSizeText | ) |
Sets the ArrowSideSecondFilletSizeText Dtk_CompositeText.
inArrowSideSecondFilletSizeText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetArrowSideSizeText | ( | Dtk_CompositeText | inArrowSideSizeText | ) |
Sets the ArrowSideSizeText Dtk_CompositeText.
inArrowSideSizeText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetArrowSideTexts | ( | std::unordered_map< Dtk_UInt8, Dtk_CompositeText > & | inTexts | ) |
Set the Dtk_Welding ArrowSide Texts and their types.
inTexts | Map of texts with their corresponding WeldTextType |
void Dtk_Welding::SetArrowSideWeldingSymbol | ( | WeldingSymbolEnum | inWeldingSymbol | ) |
Set the WeldingSymbol of the ArrowSide.
inWeldingSymbol | The Welding Symbol. |
void Dtk_Welding::SetArrowSideWeldSymbolText | ( | Dtk_CompositeText | inArrowSideWeldSymbolText | ) |
Sets the ArrowSideWeldSymbolText Dtk_CompositeText.
inArrowSideWeldSymbolText | The Tail Dtk_CompositeText. |
|
inherited |
Get the justification type - read only -.
Sets the Brazing flag for the ArrowSide.
inBrazing | The Brazing Flag. |
Sets the Brazing flag for the OtherSide.
inBrazing | The Brazing Flag. |
void Dtk_Welding::SetFieldWeldFlag | ( | const Dtk_bool | inFieldWeldFlag | ) |
Sets the Field Weld Flag.
inFieldWeldFlag | The Field Weld Flag. DTK_TRUE if Field Weld is activated. DTK_TRUE else. |
void Dtk_Welding::SetIndentLineFlag | ( | const Dtk_Char8 | inIndentLineFlag = -1 | ) |
Sets the IndentLine Flag.
inIndentLineFlag | The IndentLine Flag:
|
|
virtual |
Sets the location point of the Dtk_Annotation.
The location point is related to the anchor type
inLocation | the location point |
Implements Dtk_Annotation.
|
inherited |
Sets the location point of the Dtk_Annotation.
The location point is related to the anchor type
location | the location point |
inAnchorType | The anchor type related to the new location. |
|
virtual |
Sets the offset of the Dtk_Welding.
The Offset is used to process bounding frames.
inOffset | The offset |
Implements Dtk_Annotation.
void Dtk_Welding::SetOtherSideAssociatedGeometries | ( | Dtk_tab< Dtk_EntityPtr > | inAssociatedGeometries | ) |
Set the AssociatedGeometries of the OtherSide.
inAssociatedGeometries | The Geometries associated to the OtherSide. |
void Dtk_Welding::SetOtherSideClearanceText | ( | Dtk_CompositeText | inOtherSideClearanceText | ) |
Sets the OtherSideClearanceText Dtk_CompositeText.
inOtherSideClearanceText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetOtherSideContourSymbol | ( | ComplementarySymbolEnum | inContourSymbol | ) |
Set the ContourSymbol of the OtherSide.
inContourSymbol | The Contour Symbol. |
void Dtk_Welding::SetOtherSideData | ( | const WeldingSymbolEnum | inWeldingSymbol, |
Dtk_Text | inNumWeldsText, | ||
Dtk_Text | inAngleText, | ||
const ComplementarySymbolEnum | inContourSymbol, | ||
Dtk_Text | inFinishSymbolText, | ||
Dtk_Text | inSizeText, | ||
Dtk_Text | inLengthText, | ||
Dtk_tab< Dtk_EntityPtr > | inAssociatedGeometries | ||
) |
Sets the Dtk_Welding OtherSide Data.
inWeldingSymbol | The Welding Symbol. |
inNumWeldsText | The NumWelds Dtk_Text. |
inAngleText | The Angle Dtk_Text. |
inContourSymbol | The Contour Symbol. |
inFinishSymbolText | The Finish Symbol Dtk_Text. |
inSizeText | The Size Dtk_Text. |
inLengthText | The Length Dtk_Text. |
inAssociatedGeometries | The Geometries associated to the OtherSide - used to Dtk_Symbol convertion -. |
void Dtk_Welding::SetOtherSideDepthText | ( | Dtk_CompositeText | inOtherSideDepthText | ) |
Sets the OtherSideDepthText Dtk_CompositeText.
inOtherSideDepthText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetOtherSideOpeningText | ( | Dtk_CompositeText | inOtherSideOpeningText | ) |
Sets the OtherSideOpeningText Dtk_CompositeText.
inOtherSideOpeningText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetOtherSideSecondFilletLengthText | ( | Dtk_CompositeText | inOtherSideSecondFilletLengthText | ) |
Sets the OtherSideSecondFilletLengthText Dtk_CompositeText.
inOtherSideSecondFilletLengthText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetOtherSideSecondFilletSizeText | ( | Dtk_CompositeText | inOtherSideSecondFilletSizeText | ) |
Sets the OtherSideSecondFilletSizeText Dtk_CompositeText.
inOtherSideSecondFilletSizeText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetOtherSideSizeText | ( | Dtk_CompositeText | inOtherSideSizeText | ) |
Sets the OtherSideSizeText Dtk_CompositeText.
inOtherSideSizeText | The Tail Dtk_CompositeText. |
void Dtk_Welding::SetOtherSideTexts | ( | std::unordered_map< Dtk_UInt8, Dtk_CompositeText > & | inTexts | ) |
Set the Dtk_Welding OtherSide Texts and their types.
inTexts | Map of texts with their corresponding WeldTextType |
void Dtk_Welding::SetOtherSideWeldingSymbol | ( | WeldingSymbolEnum | inWeldingSymbol | ) |
Set the WeldingSymbol of the OtherSide.
inWeldingSymbol | The Welding Symbol. |
void Dtk_Welding::SetOtherSideWeldSymbolText | ( | Dtk_CompositeText | inOtherSideWeldSymbolText | ) |
Sets the OtherSideWeldSymbolText Dtk_CompositeText.
inOtherSideWeldSymbolText | The Tail Dtk_CompositeText. |
Sets the Field/Tail Reverse Flag.
inReverseTailAndField | The Tail/Field Reverse Flag:
|
|
virtual |
Sets the annotation angle using the annotation base.
inRotationAngle | The rotation angle to be set |
Reimplemented from Dtk_Annotation.
void Dtk_Welding::SetTailText | ( | Dtk_CompositeText | inTailText | ) |
Sets the Tail Dtk_CompositeText.
inTailText | The Tail Dtk_CompositeText. |
Sets the Tail Activation Flag.
inTailActivated | The Tail Flag. If DTK_FALSE - default value - the Tail is not activated. Else it's activated. |
|
virtual |
Applies a transformation matrix to the entity. //!
inTransfo | The transformation matrix to apply. |
Implements Dtk_Annotation.
|
static |
|
friend |
|
friend |
|
protected |
|
protectedinherited |