![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file. 1 #ifndef _UTIL_DRAW_DTK_HPP_
2 #define _UTIL_DRAW_DTK_HPP_
25 #include <type_traits>
26 #include <unordered_map>
36 struct text_or_character_def;
37 typedef struct text_or_character_def Text_or_character;
38 struct leader_terminator_def;
39 typedef struct leader_terminator_def Leader_terminator;
41 typedef struct polyline_def Polyline_detk;
42 struct trimmed_curve_def;
43 typedef struct trimmed_curve_def Trimmed_curve;
44 struct geometric_set_def;
45 typedef struct geometric_set_def Geometric_set;
46 struct geometric_set_select_entity_def;
47 typedef struct geometric_set_select_entity_def Geometric_set_select_entity;
51 class Dtk_ConnectorPart;
491 for (i = 0; i < 3; i++)
972 this->_FrameType = inFrameType;
973 this->_RelatedGeomElements = std::move( inRelatedGeomElements );
982 SetAsDeprecated(
"2020.2",
"Use CreateGeometries(Dtk_tab< Dtk_CurvePtr >& outGeoms) instead" )
1175 const Dtk_Int32 &inHorizontalVerticalType,
1195 const Dtk_bool &inHorizontalVerticalType,
1335 const Dtk_bool &inVerticallyOrientedStatus);
1520 SetAsDeprecated(
"2020.2",
"Use CreateFrameAsGeometry( Dtk_tab<Dtk_CurvePtr> &outGeoms) instead" )
1522 Dtk_tab<Geometric_set_select_entity*> &outGeoms) const;
1534 Text_or_character ** ConvertToText_or_character(
1545 friend std::ostream& operator<<(std::ostream& o, const
Dtk_Text& d);
1559 Dtk_Handle *_Private;
1673 const
Dtk_Int32 &inStartingGetText = -1,
1675 const
Dtk_Int32 &inStartingSetText = -1,
1690 const
Dtk_Int32 &inStartingGetText = -1,
1692 const
Dtk_Int32 &inStartingSetText = -1,
1700 Dtk_tab<Geometric_set_select_entity*> &outGeoms) const;
1773 friend std::ostream& operator<<(std::ostream &o,
1847 return o <<
"Dtk_2dEntity Base class";
1881 case Default:
return L
"Default";
1882 case AllAround:
return L
"AllAround";
1883 case AllOver:
return L
"AllOver";
1891 _ApplicationZoneType = Default;
1897 for( i = 0 ; i < NumElts ; i++)
1925 _ApplicationZoneType = Default;
1936 this->_ApplicationZoneType = inApplicationZoneType;
1937 this->_RelatedGeomElements = std::move( inRelatedGeomElements );
1949 this->_RelatedGeomElements[i].Clone(outGeoms[i]);
1969 for (i = 0; i < NumGeoms; i++)
1977 if (&inToBeAssigned ==
this)
1982 _Copy(inToBeAssigned);
1988 if( &inToBeMoved ==
this )
1992 _ApplicationZoneType = inToBeMoved._ApplicationZoneType;
2001 TerminatorTypeNone = 0,
2060 case TerminatorTypeNone:
return L
"TerminatorTypeNone";
2061 case TerminatorTypeOpenArrow:
return L
"TerminatorTypeOpenArrow";
2062 case TerminatorTypeClosedArrow:
return L
"TerminatorTypeClosedArrow";
2063 case TerminatorTypeFillArrow:
return L
"TerminatorTypeFillArrow";
2064 case TerminatorTypeCrossArrow:
return L
"TerminatorTypeCrossArrow";
2065 case TerminatorTypeCircle:
return L
"TerminatorTypeCircle";
2066 case TerminatorTypeFilledCircle:
return L
"TerminatorTypeFilledCircle";
2067 case TerminatorTypeSquare:
return L
"TerminatorTypeSquare";
2068 case TerminatorTypeFilledSquare:
return L
"TerminatorTypeFilledSquare";
2069 case TerminatorTypeSlash:
return L
"TerminatorTypeSlash";
2070 case TerminatorTypeCrossedCircle:
return L
"TerminatorTypeCrossedCircle";
2071 case TerminatorTypeXCircle:
return L
"TerminatorTypeXCircle";
2072 case TerminatorTypeTriangle:
return L
"TerminatorTypeTriangle";
2073 case TerminatorTypeFilledTriangle:
return L
"TerminatorTypeFilledTriangle";
2074 case TerminatorTypePlus:
return L
"TerminatorTypePlus";
2075 case TerminatorTypeXCross:
return L
"TerminatorTypeXCross";
2076 case TerminatorTypeIntegral:
return L
"TerminatorTypeIntegral";
2077 case TerminatorTypeCircleCenter:
return L
"TerminatorTypeCircleCenter";
2078 case TerminatorTypeDoubleOpenArrow:
return L
"TerminatorTypeDoubleOpenArrow";
2079 case TerminatorTypeDoubleCloseArrow:
return L
"TerminatorTypeDoubleCloseArrow";
2080 case TerminatorTypeDoubleFillArrow:
return L
"TerminatorTypeDoubleFillArrow";
2081 case TerminatorTypeDoubleTriangle:
return L
"TerminatorTypeDoubleTriangle";
2082 case TerminatorTypeTopOpenArrow:
return L
"TerminatorTypeTopOpenArrow";
2083 case TerminatorTypeBottomOpenArrow:
return L
"TerminatorTypeBottomOpenArrow";
2084 case TerminatorTypeTopFillArrow:
return L
"TerminatorTypeTopFillArrow";
2085 case TerminatorTypeBottomFillArrow:
return L
"TerminatorTypeBottomFillArrow";
2086 case TerminatorTypeDoubleCrossArrow:
return L
"TerminatorTypeDoubleCrossArrow";
2088 default:
return L
"Unknown";
2095 IncludeLeaderCurve = 1,
2096 IncludeLeaderArrowHead = 2,
2097 IncludeLeaderExtensionLine = 4,
2098 IncludeLeaderApplicationZone = 8,
2112 m_HeadType = TerminatorTypeOpenArrow;
2127 m_HeadType = TerminatorTypeOpenArrow;
2136 const Dtk_pnt& inArrowLocation,
2142 SetData( inWidth, inHeight, inArrowLocation, inTerminatorType, inInfos, inRefDir, inAxisDir );
2149 const Dtk_pnt& inArrowLocation,
2155 m_HeadType = inTerminatorType;
2156 m_ArrowLocation = inArrowLocation;
2157 m_RefDir = inRefDir;
2158 m_AxisDir = inAxisDir;
2159 SetWidthHeight( inWidth, inHeight );
2170 outRefDir = m_RefDir; outRefDir.
Normalize();
2171 outAxisDir = m_AxisDir; outAxisDir.
Normalize();
2175 outWidth = m_RefDir.
norm();
2176 outHeight = 2. * m_AxisDir.
norm();
2182 m_RefDir *= inWidth;
2183 m_AxisDir *= 0.5 * inHeight;
2202 m_ArrowLocation =
inTransfo * m_ArrowLocation;
2209 if( &inToBeAssigned ==
this )
2214 _Copy( inToBeAssigned );
2246 const Dtk_pnt &inArrowLocation,
2251 const Dtk_bool &IsCounterClockwise );
2255 const Dtk_pnt &inArrowLocation,
2262 const Dtk_pnt &inArrowLocation,
2267 const Dtk_bool &IsCounterClockwise);
2272 const Dtk_pnt &inArrowLocation,
2276 #ifndef NewLeaderCurve
2282 const Dtk_pnt &inArrowLocation,
2287 const Dtk_bool &IsCounterClockwise );
2293 const Dtk_pnt &inArrowLocation,
2299 #endif //##ifndef NewLeaderCurve
2307 #ifndef NewLeaderCurve
2308 Dtk_Int32 _ConvertLinearLeaderToGeometricElements(
2309 Geometric_set_select_entity **res = NULL,
const IncludeOptions inConvertToGeomFilter = IncludeAll )
const;
2310 Dtk_Int32 _ConvertAngularLeaderToGeometricElements(
2311 Geometric_set_select_entity **res = NULL,
const IncludeOptions inConvertToGeomFilter = IncludeAll )
const;
2312 Dtk_Int32 _ConvertUnknownLeaderToGeometricElements(
2313 Geometric_set_select_entity **res = NULL,
const IncludeOptions inConvertToGeomFilter = IncludeAll )
const;
2314 Leader_terminator* _ConvertLinearLeaderToLeader_terminator()
const;
2315 Leader_terminator* _ConvertAngularLeaderToLeader_terminator()
const;
2316 int _DrawArrow(Geometric_set_select_entity ** res,
const Dtk_dir& xdir)
const;
2318 int _GetNbGeomArrow()
const;
2319 #endif //##ifndef NewLeaderCurve
2336 #ifndef NewLeaderCurve
2337 SetAsDeprecated(
"2022.2",
"Please use others constructors instead." )
2352 const
Dtk_bool &IsCounterClockwise);
2360 SetAsDeprecated( "2022.2", "Please use others constructors instead." )
2365 #endif //#ifndef NewLeaderCurve
2381 const Dtk_bool &IsCounterClockwise);
2396 #ifndef NewLeaderCurve
2397 SetAsDeprecated(
"2020.4",
"Please use others constructors instead." )
2400 #endif //#ifndef NewLeaderCurve
2416 #ifndef NewLeaderCurve
2417 SetAsDeprecated(
"2020.4",
"Please use GetLeaderCurve() const method instead." )
2420 Polyline_detk* GetPolyline() const;
2424 SetAsDeprecated( "2020.4", "Please use GetLeaderCurve() const method instead." )
2425 Trimmed_curve* GetTrimmedCurve() const;
2426 #endif //#ifndef NewLeaderCurve
2450 SetAsDeprecated(
"2020.4",
"Please use Dtk_PolylinePtr GetExtensionLine() const method instead." )
2467 #ifndef NewLeaderCurve
2468 SetAsDeprecated(
"2022.2",
"Please use SetLeaderTerminatorType( LeaderTerminatorTypeEnum ) instead." )
2472 Leader_terminator* ConvertToLeader_terminator() const;
2477 Dtk_Int32 ConvertToGeom(Geometric_set_select_entity **outGeomsArray = NULL, const
IncludeOptions inConvertToGeomFilter = IncludeAll ) const;
2478 #endif //#ifndef NewLeaderCurve
2701 ObtentionTypeNotDefined = 0,
2705 ObtentionTypeMachiningForbidden
2710 ApplyToSpecifiedSurface = 0,
2757 const ApplyToEnum &inApplyToType = ApplyToSpecifiedSurface,
2829 const ApplyToEnum &inApplyToType = ApplyToSpecifiedSurface,
3149 case SymbolNone :
return L
"SymbolNone";
3150 case SymbolSquareButtWeld :
return L
"SymbolSquareButtWeld";
3151 case SymbolSingeVButtWeld :
return L
"SymbolSingeVButtWeld";
3152 case SymbolSingleBevelButtWeld :
return L
"SymbolSingleBevelButtWeld";
3153 case SymbolFlareVButtWeld :
return L
"SymbolFlareVButtWeld";
3154 case SymbolFlareBevelButtWeld :
return L
"SymbolFlareBevelButtWeld";
3155 case SymbolSingleUButtWeld :
return L
"SymbolSingleUButtWeld";
3156 case SymbolSingleJButtWeld :
return L
"SymbolSingleJButtWeld";
3157 case SymbolFilletWeld :
return L
"SymbolFilletWeld";
3158 case SymbolSpotWeld :
return L
"SymbolSpotWeld";
3159 case SymbolBackWeld :
return L
"SymbolBackWeld";
3160 case SymbolSteepFlankedSingleBevelButtWeld :
return L
"SymbolSteepFlankedSingleBevelButtWeld";
3161 case SymbolSteepFlankedSingleVWeld :
return L
"SymbolSteepFlankedSingleVWeld";
3162 case SymbolPlugWeld :
return L
"SymbolPlugWeld";
3163 case SymbolRemovableBackingStripUsed :
return L
"SymbolRemovableBackingStripUsed";
3164 case SymbolPermanentBackingStripUsed :
return L
"SymbolPermanentBackingStripUsed";
3165 case SymbolSurfacingWeld :
return L
"SymbolSurfacingWeld";
3166 case SymbolSeamWeld :
return L
"SymbolSeamWeld";
3167 case SymbolFlangeEdge :
return L
"SymbolFlangeEdge";
3168 case SymbolStickWeld :
return L
"SymbolStickWeld";
3169 case SymbolFlangeCorner :
return L
"SymbolFlangeCorner";
3170 case SymbolVFlareWeld :
return L
"SymbolVFlareWeld";
3171 case SymbolFlareBevelWeld :
return L
"SymbolFlareBevelWeld";
3172 case SymbolScarfWeld :
return L
"SymbolScarfWeld";
3173 case SymbolStudWeld :
return L
"SymbolStudWeld";
3174 case SymbolANSIEdgeWeld :
return L
"SymbolANSIEdgeWeld";
3175 case SymbolISOEdgeWeld :
return L
"SymbolISOEdgeWeld";
3176 case SymbolSurfaceJointWeld :
return L
"SymbolSurfaceJointWeld";
3177 case SymbolInclinedJointWeld :
return L
"SymbolInclinedJointWeld";
3178 case SymbolMeltThroughWeld:
return L
"SymbolMeltThroughWeld";
3179 case SymbolSolderedJointWeld:
return L
"SymbolSolderedJointWeld";
3180 case SymbolFoldJointWeld:
return L
"SymbolFoldJointWeld";
3181 case SymbolKGrooveWeld:
return L
"SymbolKGrooveWeld";
3182 case SymbolStakeWeld:
return L
"SymbolFoldJointWeldSymbolStakeWeld";
3183 default :
return L
"Unknown";
3188 ComplementarySymbolNone = 0,
3198 ComplementarySymbolFilletWeldWithSmoothBlendedFace
3203 WeldTextUndefinedType = 0,
3221 case ComplementarySymbolNone :
return L
"ComplementarySymbolNone";
3222 case ComplementarySymbolWeldWithFlatFace :
return L
"ComplementarySymbolWeldWithFlatFace";
3223 case ComplementarySymbolWeldWithConvexFace :
return L
"ComplementarySymbolWeldWithConvexFace";
3224 case ComplementarySymbolWeldWithConcaveFace :
return L
"ComplementarySymbolWeldWithConcaveFace";
3225 case ComplementarySymbolFlushFinishedWeld :
return L
"ComplementarySymbolFlushFinishedWeld";
3226 case ComplementarySymbolFilletWeldWithSmoothBlendedFace :
return L
"ComplementarySymbolFilletWeldWithSmoothBlendedFace";
3227 default :
return L
"Unknown";
3232 FinishSymbolNone = 0,
3248 FinishSymbolUnspecified
3254 case FinishSymbolNone :
return L
"FinishSymbolNone";
3255 case FinishSymbolChip :
return L
"FinishSymbolChip";
3256 case FinishSymbolFlush :
return L
"FinishSymbolFlush";
3257 case FinishSymbolGrind :
return L
"FinishSymbolGrind";
3258 case FinishSymbolHammer :
return L
"FinishSymbolHammer";
3259 case FinishSymbolMachine :
return L
"FinishSymbolMachine";
3260 case FinishSymbolRoll :
return L
"FinishSymbolRoll";
3261 case FinishSymbolPeening :
return L
"FinishSymbolPeening";
3262 case FinishSymbolUnspecified :
return L
"FinishSymbolUnspecified";
3263 default :
return L
"Unknown";
3285 const Dtk_bool inFieldWeldActivated,
3288 const Dtk_bool inReverseTailAndField,
3350 const Dtk_bool inFieldWeldActivated,
3353 const Dtk_bool inReverseTailAndField,
3851 case Unknown:
return L
"Unknown";
3852 case Point:
return L
"Point";
3853 case Linear:
return L
"Linear";
3854 case Rectangular:
return L
"Rectangular";
3855 case Circular:
return L
"Circular";
3856 case Annular:
return L
"Annular";
3857 case Spherical:
return L
"Spherical";
3858 case Cylindrical:
return L
"Cylindrical";
3859 case Arbitrary:
return L
"Arbitrary";
3873 case NonMovable:
return L
"NonMovable";
3874 case Movable:
return L
"Movable";
3881 InnerDiameterValue = 1,
3882 OuterDiameterValue = 2,
3885 StartPointValue = 5,
3896 case DiameterValue:
return L
"DiameterValue";
3897 case InnerDiameterValue:
return L
"InnerDiameterValue";
3898 case OuterDiameterValue:
return L
"OuterDiameterValue";
3899 case WidthValue:
return L
"WidthValue";
3900 case HeightValue:
return L
"HeightValue";
3901 case StartPointValue:
return L
"StartPointValue";
3902 case EndPointValue:
return L
"EndPointValue";
3903 case AreaValue:
return L
"AreaValue";
4506 _CheckRowCol( inRow, inCol);
4508 return operator[](inRow)[inCol];
4513 _CheckRowCol( inRow, inCol);
4515 return operator[](inRow)[inCol];
4665 const Dtk_bool &inDisplayMajorLinesOpt,
4683 Dtk_bool GetDrawLabelsInOriginUnitOption()
const;
4857 LinearDimension = 0,
4888 ShowDualValueNone = 0,
4891 ShowDualValueSydeBySide
4953 Polyline_detk*
const &inExtensionLine);
5004 SetAsDeprecated(
"2020.2",
"Use Dtk_ErrorStatus ConvertExtensionLineToGeometries(const Dtk_Size_t &inExtLinePos,Dtk_tab<Dtk_CurvePtr> &outGeomsArray) instead" )
5007 Geometric_set_select_entity **&outGeomsArray,
5030 Geometric_set_select_entity* GetExtraGeometry(
5090 void SetFakeDimensionStatus(const
Dtk_bool inIsFakeDimension);
5475 Dtk_Text inFullTextWithMaterialCondition,
5575 SetAsDeprecated(
"2020.2",
"Use Explode(Dtk_CompositeText &outCompositeText,Dtk_tab<Dtk_CurvePtr> &outGeoms) instead" )
5777 const Dtk_bool& inProcessAddtionnalTexts)
const;
5794 const Dtk_bool &inProcessAddtionnalTexts);
5870 const Dtk_bool& inProcessAddtionnalTexts,
5929 SetIndicatorTypeData( inIndicatorType,
5931 std::move( inRelatedGeometricalElts ) );
5970 m_Type = inIndicatorType;
5971 m_OuterBBox = inOuterBoundingBox;
5972 m_RelatedGeomElements = std::move( inRelatedGeomElements );
6004 if( &inToBeAssigned ==
this )
6009 _Copy( inToBeAssigned );
6015 if( &inTobeMoved ==
this )
6019 m_Type = inTobeMoved.m_Type;
6020 m_RelatedGeomElements = std::move( inTobeMoved.m_RelatedGeomElements );
6021 m_OuterBBox = inTobeMoved.m_OuterBBox;
6059 s.m_Private =
nullptr;
6064 Dtk_Text inDatumFeatureIdentifier );
6085 if( inId == _typeID )
6126 Dtk_Text inDatumFeatureIdentifier )
6128 return new Dtk_FCFFeatureIndicator( std::move( inFeatureIndicatorType ), std::move( inSymbol ), std::move( inDatumFeatureIdentifier ) );
6228 TypeAxisIntersection
6357 const Dtk_Int32 &ref_tol_spec_ind = -1)
const;
6437 SetAsDeprecated(
"2020.2",
"Use Explode(Dtk_CompositeText &outCompositeText,Dtk_tab<Dtk_CurvePtr> &outGeoms) instead" )
6454 const
TypeEnum& ToleranceSpecificationContainerType() const;
6468 const
Dtk_bool& ProcessAddtionnalTexts) const;
6478 const
Dtk_bool &inProcessAdditionnalTexts);
6495 const
Dtk_bool& inProcessAddtionnalTexts,
6541 case TypeNote:
return L
"TypeNote";
6542 case TypeDatum:
return L
"TypeDatum";
6543 case TypeBalloon:
return L
"TypeBalloon";
6544 case TypeDatumTarget:
return L
"TypeDatumTarget";
6545 case TypeRoughness:
return L
"TypeRoughness";
6546 case TypeDimension:
return L
"TypeDimension";
6547 case TypeFlagNote:
return L
"TypeFlagNote";
6548 case TypeGeometricalTolerance:
return L
"TypeGeometricalTolerance";
6549 case TypeAnnotationTable:
return L
"TypeAnnotationTable";
6550 case TypeCell:
return L
"TypeCell";
6551 case TypeTable:
return L
"TypeTable";
6552 case TypeCallout:
return L
"TypeCallout";
6553 case TypeWelding:
return L
"TypeWelding";
6554 case TypeCoordinateDimension:
return L
"TypeCoordinateDimension";
6555 case TypeGeom:
return L
"TypeGeom";
6556 case TypeAxis:
return L
"TypeAxis";
6557 case TypeAxisSystem:
return L
"TypeAxisSystem";
6558 case TypeCenterLine:
return L
"TypeCenterLine";
6559 case TypeCenterMark:
return L
"TypeCenterMark";
6560 case TypeGrid:
return L
"TypeGrid";
6561 case TypeHatching:
return L
"TypeHatching";
6562 case TypeFullBoltCircle:
return L
"TypeFullBoltCircle";
6563 case TypeCustomSymbol:
return L
"TypeCustomSymbol";
6564 case TypeHoleNote:
return L
"TypeHoleNote";
6565 case TypeUrl:
return L
"TypeUrl";
6566 case TypeArrow:
return L
"TypeArrow";
6567 default:
return L
"Unknown";
6756 SetAsDeprecated(
"2020.2",
"Use AddGeometricalElement( const Dtk_EntityPtr &inGeomElt ) instead" )
6757 Dtk_ErrorStatus AddGeometricalElement( Geometric_set_select_entity *inGeomElt );
6770 Geometric_set_select_entity* GetGeometricalElement( const
Dtk_Size_t &inPos ) const;
6778 void ConvertLeadersToGeometrie();
7014 WireframeDisplay = 1,
7015 WithHiddenDisplay = 2,
7016 NoHiddenDisplay = 3,
7018 ShadingWithEdgeDisplay = 5
7352 ParallelToScreen = 1,
7360 case Default:
return L
"Default";
7361 case ParallelToScreen:
return L
"ParallelToScreen";
7362 case PinToScreen:
return L
"PinToScreen";
7481 Dtk_Handle *_Private;
7484 Dtk_FdtView(
const Dtk_transfo& inPlacementMatrix);
7486 Dtk_FdtView(
const Dtk_FdtView &s);
7487 inline virtual Dtk_Object* Clone() {
return new Dtk_FdtView(*
this); }
7492 void _Copy(
const Dtk_FdtView &s);
7531 void AddFdt(
const Dtk_ID& inFdtID);
7543 class Dtk_FdtAnnotationSet :
public Dtk_Entity
7547 Dtk_Handle *_Private;
7550 Dtk_FdtAnnotationSet();
7553 Dtk_FdtAnnotationSet(
const Dtk_FdtAnnotationSet &s);
7554 inline virtual Dtk_Object* Clone() {
return new Dtk_FdtAnnotationSet(*
this); }
7557 ~Dtk_FdtAnnotationSet();
7560 void _Copy(
const Dtk_FdtAnnotationSet &s);
7603 Dtk_Size_t GetNumConstructionGeometries()
const;
7606 void SetActivationStatus(
const Dtk_bool& inActivationStatus);
7631 Dtk_ConnectorPtr GetConnectorById(
const Dtk_Size_t& inConnectorID)
const ;
7670 Dtk_bool hasConnector(Dtk_ConnectorPtr inConnector)
const;
7730 Dtk_Handle *_Private;
7736 Dtk_FdtCapture(
const Dtk_FdtCapture &s);
7737 inline virtual Dtk_Object* Clone() {
return new Dtk_FdtCapture(*
this); }
7743 void _Copy(
const Dtk_FdtCapture &s);
7777 void AddFdtId(
const Dtk_ID& inFdtId);
7781 void AddGeomId(
const Dtk_ID& inGeomId);
7783 void AddConnector(
const Dtk_ConnectorPtr& inConnector);
7809 void AddVisiblePart(
const Dtk_ConnectorPartPtr& inVisiblePart);
7823 void AddVisibleConstructionGeometry(
const Dtk_ID & inVisibleCstGeomID);
7827 Dtk_Size_t GetNumVisibleConstructionGeometries()
const;
7847 #ifdef AF51BDA7E49648f8AB95949F4CA52EF8
7848 const bool &IsCaptureManaged();
7849 void SetIsCaptureManaged(
const bool &bManaged);
7867 ProjectionTypeUnknown = 0,
7869 ProjectionTypePerspective
7929 const double& inAngle,
7930 const double& inFocus,
7931 const double& inZoomFactor = 1.0,
8091 this->_line_style = 0;
8092 this->_line_width = 0.0;
8093 this->_offset = 0.0;
8112 if (&inToBeAssigned!=
this)
8114 this->_angle = inToBeAssigned.
_angle;
8115 this->_color = inToBeAssigned.
_color;
8118 this->_offset = inToBeAssigned.
_offset;
8119 this->_pitch = inToBeAssigned.
_pitch;
8120 this->_style = inToBeAssigned.
_style;
Dtk_RGB _BorderTopColor
Definition: util_draw_dtk.hpp:4192
static Dtk_string LeaderTerminatorTypeEnumToString(const LeaderTerminatorTypeEnum &inEnum)
Definition: util_draw_dtk.hpp:2056
void Clear()
Definition: util_draw_dtk.hpp:6096
@ DTK_ALIGN_CENTER
Definition: util_draw_dtk.hpp:119
Dtk_tab< Dtk_CurvePtr > & GetDatumTargetMovableStatusRelatedGeom() const
Gets the geometry related to the Movable status of the Dtk_DatumTarget.
@ SymbolFoldJointWeld
Definition: util_draw_dtk.hpp:3139
static Dtk_OneCell * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_tab< Dtk_EntityPtr > _AdditionnalGeometries
Added geometries for Dtk_OneCell.
Definition: util_draw_dtk.hpp:4208
FontTypeEnum
Definition: util_draw_dtk.hpp:192
@ DTK_ALIGN_JUSTIFIED
Definition: util_draw_dtk.hpp:121
@ TypeHatching
Definition: util_draw_dtk.hpp:6530
Dtk_ToleranceSpecificationContainer(const TypeEnum &inTolSpecContType, const Dtk_Oriented2dBBox &inInnerTolTypeBBox, const Dtk_Oriented2dBBox &inOuterTolTypeBBox)
Dtk_FCFFeatureIndicator & operator=(Dtk_FCFFeatureIndicator &&inToBeMoved) DTK_NOEXCEPT
\MoveOp{inToBeMoved}
Dtk_CompositeText GetArrowSideWeldSymbolText() const
Retrieves the ArrowSideWeldSymbolText Dtk_CompositeText.
@ LinearDiameterDimension
Definition: util_draw_dtk.hpp:4865
const Dtk_dir & UpVector() const
Retrieves the up vector - read only -.
Dtk_tab< Dtk_PolylinePtr > & Boundaries()
Retrieves the hatching area boundaries as an array(ordered polylines). The first bounday (this->Bound...
Dtk_CompositeText _text
Definition: util_draw_dtk.hpp:4181
Dtk_Double64 & Ratio()
Retrieves the text ratio - get/set -.
@ TypeWelding
Definition: util_draw_dtk.hpp:6521
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
FinishSymbolEnum
Definition: util_draw_dtk.hpp:3231
Dtk_Int32 _BorderBottomBlanked
Definition: util_draw_dtk.hpp:4202
void GetAllEntitiesByType(Dtk_tab< Dtk_2dEntityPtr > &out2dEntities, Dtk_tab< Dtk_EntityPtr > &outGeometricalEntities, Dtk_tab< Dtk_picturePtr > &outPictures) const
This is the application zone class. It's used to gather all application zone informations.
Definition: util_draw_dtk.hpp:1868
Dtk_ErrorStatus AddBody(const Dtk_BodyPtr &inBody)
Adds a Body displayed in the view.
Dtk_ToleranceSpecificationContainer(Dtk_ToleranceSpecificationContainer &&s) DTK_NOEXCEPT
const Dtk_CompositeText & TopTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer top-text as Dtk_CompositeText - read only -.
Dtk_ReferenceBlockPtr & FirstReference()
Retrieves the first reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame ...
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
@ JustificationCenter
Definition: util_draw_dtk.hpp:301
Dtk_ErrorStatus SetMiddleLeftText(Dtk_Text inText)
Sets the middle-left text.
static Dtk_ReferenceFrame * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Polyline_detk * GetExtensionLine(const Dtk_Size_t &inPos) const
OBSOLETE.
static Dtk_ToleranceSpecificationPtr Create()
Base constructor.
SetAsDeprecated("2020.2", "Use Dtk_ErrorStatus ConvertExtensionLineToGeometries(const Dtk_Size_t &inExtLinePos,Dtk_tab<Dtk_CurvePtr> &outGeomsArray) instead") Dtk_ErrorStatus ConvertExtensionLineToGeometries(const Dtk_Size_t &inExtLinePos
OBSOLETE.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_Double64 &inOffSet=0.0)
Sets the Dtk_ReferenceBlock anchor point.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_ErrorStatus SetRightText(Dtk_CompositeText inText)
Sets the Dtk_ToleranceSpecificationContainer right-text.
void GetApplicationZone(Dtk_Leader::ApplicationZone &outApplicationZone) const
Retrieves the Frame - read only -.
void SetLeaderCurveLineType(const Dtk_FontLineType inCurveLineType)
Set the leader curve FontLineType .
static Dtk_ToleranceSpecificationContainerPtr Create(Dtk_ToleranceSpecificationContainer &&ToBeMoved)
\MoveConstructor{ToBeMoved}
Dtk_Double64 & Height()
Retrieves the drawing height - get/set -.
void _CommonLinearCtor(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_tab< Dtk_pnt > &inPntsArray)
Dtk_Size_t GetNumPictures() const
Retrieves the pictures number - read only -.
void SetInvertText(Dtk_Int32 inValue=DTK_FALSE)
Sets text are invert.
Dtk_bool IsValid() const
Checks if the Dtk_Camera is valid. For this:
Definition: util_draw_dtk.hpp:8041
Dtk_Double64 GetXLength() const
Retrieves the X length - Read Only -.
Definition: util_draw_dtk.hpp:626
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
@ DTK_UNIT_INCH
Definition: util_draw_dtk.hpp:89
Dtk_ReferenceBlock & operator=(const Dtk_ReferenceBlock &inToBeAssigned)
Full featured constructor.
Dtk_ReferenceBlock(const Dtk_ReferenceBlock &s)
Copy Constructor.
@ WCS
Definition: util_draw_dtk.hpp:4638
Dtk_pnt & OuterLocation()
Retrieves the outer bounding box location - get/set -.
RegionType GetType()
Gets the type of the region.
Dtk_Symbol(const Dtk_Grid &inGrid, const Dtk_bool &text_auto_flip=DTK_FALSE)
@ CircularType
Definition: util_draw_dtk.hpp:8367
virtual Dtk_Object * Clone()=0
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:1785
void SetOuterXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis)
Sets the outer bounding box orientation.
@ ComplementarySymbolFlushFinishedWeld
Definition: util_draw_dtk.hpp:3196
Dtk_OneCell(Dtk_OneCell &&inToBeMoved) DTK_NOEXCEPT
Dtk_FCFFeatureIndicator(Dtk_FCFFeatureIndicator &&s) DTK_NOEXCEPT
Definition: util_draw_dtk.hpp:6057
Dtk_string & Name()
Retrieves the font name - get/set -.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5451
Dtk_Hatching(const Dtk_Hatching &s)
Copy Constructor.
uint32_t Dtk_ID
Definition: define.h:689
@ DTK_FDT_MODIFIER_NOT_SET
Definition: util_draw_dtk.hpp:64
@ CumulatedDimension
Definition: util_draw_dtk.hpp:4871
void SetFrameType(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set the text frame information - get/set -.
@ DTK_FRAME_TYPE_DIAMOND
Definition: util_draw_dtk.hpp:144
Dtk_pnt GetTopRightPoint() const
Retrieves the top right point - Read Only -.
Definition: util_draw_dtk.hpp:619
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
Dtk_HatchingPattern()
Definition: util_draw_dtk.hpp:8088
static Dtk_FCFFeatureIndicatorPtr Create(Dtk_FCFFeatureIndicatorType inFeatureIndicatorType, Dtk_Text inSymbol, Dtk_Text inDatumFeatureIdentifier)
Full featured constructor.
Definition: util_draw_dtk.hpp:6124
Dtk_ErrorStatus SetRectangularWidth(Dtk_Double64 inWidth)
Sets the width of the rectangular Dtk_Region.
const Dtk_CompositeText & BottomTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer bottom-text as Dtk_CompositeText - read only -.
const Dtk_ToleranceSpecificationContainerPtr & at(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_ToleranceSpecificationContainer - read only -.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_DatumTarget anchor points.
@ SymbolInclinedJointWeld
Definition: util_draw_dtk.hpp:3133
static Dtk_DrawingPtr Create()
Base constructor.
Dtk_OneCell * operator[](const Dtk_Size_t &inPos)
@ ApplyToSurroundingSurfaces
Definition: util_draw_dtk.hpp:2712
This is the Region class. The region that designates areas of your model for special purposes,...
Definition: util_draw_dtk.hpp:8362
Dtk_TextStyle & TextStyle()
Retrieves the text text style - get/set -.
static Dtk_Table * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
@ DTK_TYPE_GEOM_TOL
Definition: define.h:439
Dtk_CameraPtr inCamera
Definition: pdfw.hpp:654
DatumTargetTypeEnum
Definition: util_draw_dtk.hpp:3832
static Dtk_CompositeEntityPtr Create()
Base constructor.
Dtk_ReferenceBlockPtr & ThirdReference()
Retrieves the third reference block - get/set -.
@ DTK_UNIT_CM
Definition: util_draw_dtk.hpp:86
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6231
static Dtk_SymbolPtr Create(const Dtk_GridPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Constructor from Dtk_GridPtr.
Dtk_bool IsEmpty() const
Tells if the Dtk_Text is empty or not - read only -.
Dtk_Double64 ZoomFactor() const
Processes the X - width - zoom factor - read only -.
Definition: util_draw_dtk.hpp:8030
void SetFieldWeldFlag(const Dtk_bool inFieldWeldFlag)
Sets the Field Weld Flag.
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_Grid geometries.
This is abstract Dtk_Annotation class.
Definition: util_draw_dtk.hpp:2538
ApplicationZoneEnum _ApplicationZoneType
Definition: util_draw_dtk.hpp:1887
@ DTK_FRAME_TYPE_FLAG_LEFT
Definition: util_draw_dtk.hpp:150
Dtk_ErrorStatus Explode(Dtk_CompositeText &outText, Dtk_tab< Dtk_CurvePtr > &outGeomsArray) const
Explodes the Dtk_FCFFeatureIndicator into Dtk_CompositeText and geometrical elements - used for Dtk_S...
void SetXLocalVector(const Dtk_dir &inNewXVector)
Sets the X local vector.
Definition: util_draw_dtk.hpp:654
void SetBorderRightBlanked(const Dtk_Int32 &inBorderRightBlanked)
Sets BorderRightBlanked of Right border.
Dtk_Leader(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const Dtk_Double64 &inRadius, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_pnt &inEndingPnt, const Dtk_pnt &inCenterPnt, const Dtk_bool &IsCounterClockwise)
@ DTK_FRAME_TYPE_SQUARE_CIRCLE
Definition: util_draw_dtk.hpp:178
@ ShowDualValueFractional
Definition: util_draw_dtk.hpp:4890
Dtk_Double64 _offset
Definition: util_draw_dtk.hpp:8081
@ ArbitraryType
Definition: util_draw_dtk.hpp:8370
void SetTangentEdgesLineStyle(Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor)
Set Line style for Tangent Edges.
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.
@ TerminatorTypeDoubleCrossArrow
Definition: util_draw_dtk.hpp:2053
Dtk_Size_t nbRows
Number of lines.
Definition: util_draw_dtk.hpp:4420
void SetBottomLeftPoint(const Dtk_pnt &inNewPoint)
Sets the bottom left point.
void AddAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Add Geometries associated to whole Dtk_Welding (Weld body and tail).
Dtk_Text GetFinishSymbolArrowSideAsText() const
Dtk_Int32 ProcessIntersectionWithSegment(const Dtk_pnt &inPntA, const Dtk_pnt &inPntB, Dtk_pnt &outIntersectionPnt1, Dtk_pnt &outIntersectionPnt2, const Dtk_bool &inTestComplanarity=DTK_FALSE) const
Processes intersection points with a segment giving its ends.
Dtk_ErrorStatus AddView(const Dtk_ViewPtr &inViewtoBeAdded)
Adds a view into the drawing.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7152
const LeaderTerminatorTypeEnum GetType() const
Definition: util_draw_dtk.hpp:2165
Dtk_Size_t & Cell_Line(const Dtk_Size_t inPos)
Sets the number of cells of the (i)th line.
Dtk_pnt GetMiddleLeftPoint() const
Retrieves the middle left point - Read Only -.
Definition: util_draw_dtk.hpp:567
Dtk_FCFFeatureIndicatorType()
Base constructor.
Definition: util_draw_dtk.hpp:5935
TextJustificationEnum & Justification()
Retrieves the text justification - get/set -.
Dtk_bool GetBrazingArrowSide() const
Tells if the Brazing is activated for the ArrowSide.
Dtk_ReferenceBlockPtr & SecondReference()
Retrieves the second reference block - get/set -.
@ AttributeUnderline
Definition: util_draw_dtk.hpp:287
Dtk_ErrorStatus AddToleranceSpecification(const Dtk_ToleranceSpecificationPtr &inTolSpec)
Adds a tolerance specification to the Dtk_ToleranceSpecificationContainer.
static Dtk_string FontStyleEnumToString(const FontStyleEnum &inEnum)
Definition: util_draw_dtk.hpp:272
void SetClippingDistance(const Dtk_Double64 &inFrontDistance, const Dtk_Double64 &inBackDistance) const
set the Front Clipping Distance et Back Clipping Distance
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:6065
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Symbol.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7877
@ DTK_TYPE_DIMENSION
Definition: define.h:440
Dtk_ErrorStatus AddEntity(const Dtk_EntityPtr &inEnt)
Adds an entity, Dtk_Hatching, curve and point to the view ( other type are not supported )
SetAsDeprecated("Undefined", "Use GetOuterBoundingBox") Dtk_ErrorStatus GetOuterAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_CompositeText outer anchor points.
DTK_Text_subtype & TextSubType()
Retrieves the text subtype - get/set -.
This is the general dimension.
Definition: util_draw_dtk.hpp:4853
Dtk_string GetRightTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer right-text - read only -.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7037
~Dtk_ToleranceSpecificationContainer()
Destructor.
SetAsDeprecated("2020.2", "Use CreateGeometries(Dtk_tab< Dtk_CurvePtr >& outGeoms) instead") Dtk_ErrorStatus CreateGeometries(Dtk_tab< Geometric_set_select_entity * > &outGeoms) const
OBSOLETE Process Related geometries into old form geometry.
@ JustificationLeft
Definition: util_draw_dtk.hpp:299
static Dtk_Welding * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
const Dtk_Text & GetDatumFeatureIdentifier() const
Retrieves the DatumFeature Identifier of the Dtk_FCFFeatureIndicator - Read Only -.
static Dtk_ToleranceSpecificationContainerPtr Create(const Dtk_ToleranceSpecificationContainer &ToBeCopied)
Copy constructor.
Dtk_ReferenceFrame(Dtk_ReferenceFrame &&s) DTK_NOEXCEPT
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_GeometricalTolerance anchor points.
#define DTK_TOLERANCE
Definition: str_def.h:7
@ DTK_WITH_HIERARCHY
Definition: util_draw_dtk.hpp:74
Dtk_FCFFeatureIndicatorType(const Dtk_FCFFeatureIndicatorTypeEnum &inIndicatorType, const Dtk_Oriented2dBBox &inOuterBoundingBox, Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts)
Full featured constructor.
Definition: util_draw_dtk.hpp:5925
SetAsDeprecated("Undefined", "Use Dtk_TextStyle::Justification()") Dtk_justication_type GetJustification() const
Get the justification type - read only -.
void SetFrameColor(const Dtk_RGB &inFrameColor)
Sets the frame color .
Dtk_ToleranceSpecificationContainer(const Dtk_ToleranceSpecificationContainer &s)
void SetBorderRightColor(const Dtk_RGB &inBorderRightColor)
@ TerminatorTypeCrossArrow
Definition: util_draw_dtk.hpp:2009
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
Dtk_Size_t GetNumTexts() const
Retrieves the texts number.
Dtk_ErrorStatus Reverse()
Reverses the text The text anchor type is replaced by the opposed one and the text orientation is rev...
@ DTK_FRAME_TYPE_FLAG_BOTH
Definition: util_draw_dtk.hpp:152
Dtk_Symbol(const Dtk_DatumTarget &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
void SetBottomCenterPoint(const Dtk_pnt &inNewPoint)
Sets the bottom center point.
Dtk_ReferenceFrame & operator=(Dtk_ReferenceFrame &&inToBeMoved) DTK_NOEXCEPT
\MoveOp{inToBeMoved}
Dtk_Size_t getNbrows()
Gets the number of rows in Dtk_Table.
@ DTK_FRAME_TYPE_STICKING
Definition: util_draw_dtk.hpp:161
const Dtk_CompositeText & RightTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer right-text as Dtk_CompositeText - read only -.
const Dtk_Frame & GetFrame() const
Retrieves the frame of the Datum Target.
Dtk_string ConvertToDtk_String() const
Converts the Dtk_ReferenceBlock into a Dtk_string - used for Dtk_Symbol conversion -.
~Dtk_ToleranceSpecification()
Destructor.
friend std::ostream & operator<<(std::ostream &o, const Dtk_Drawing &d)
Dtk_ErrorStatus SetBottomText(Dtk_CompositeText text)
Sets the Dtk_ToleranceSpecificationContainer bottom-text.
@ DTK_FRAME_TYPE_FIXED_SUPPORT
Definition: util_draw_dtk.hpp:165
Dtk_Oriented2dBBox & GetOuterBoundingBox()
@ FinishSymbolHammer
Definition: util_draw_dtk.hpp:3240
Dtk_Double64 & LineWidth()
void SetOuterXLength(const Dtk_Double64 &inXLength)
Sets the outer bounding box X length.
This is the text_style. This class gathers several informations about text style.
Definition: util_draw_dtk.hpp:260
const TextJustificationEnum & Justification() const
Retrieves the text justification - read only -.
Dtk_dir & XLocalVector()
Retrieves the X local vector.
Definition: util_draw_dtk.hpp:743
Dtk_Annotation & operator=(const Dtk_Annotation &inToBeAssigned)
Assignment Operator.
@ DTK_TYPE_CELL
Definition: define.h:441
Dtk_bool IsUrl() const
Tell if the associated Dtk_text is an url group - into Dtk_Dimension -.
DTK_FDT_MODIFIER GetMaterialModifier(const Dtk_Size_t &inReferencePos) const
Retrieves the material modifier related to the ith reference.
const Dtk_Size_t & ID() const
Retrieves the font Id - read only -.
static Dtk_string DatumTargetValueEnumToString(const DatumTargetValueEnum &inEnum)
Definition: util_draw_dtk.hpp:3891
static Dtk_SymbolPtr Create(const Dtk_RegionPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Constructor from Dtk_RegionPtr.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:4557
friend std::ostream & operator<<(std::ostream &o, const Dtk_View &d)
@ DTK_JUSTIFY_LEFT
Definition: util_draw_dtk.hpp:126
@ TypeAxis
Definition: util_draw_dtk.hpp:6524
@ DTK_TYPE_ANNOTATION
Definition: define.h:436
static Dtk_FCFFeatureIndicatorPtr Create(Dtk_FCFFeatureIndicator &&inToBeMoved)
\MoveConstructor{inToBeMoved}
Definition: util_draw_dtk.hpp:6114
Dtk_Size_t GetNumLeaders() const
Retrieves the leaders number - read only -.
void Merge(const Dtk_pnt &inPoint)
Merges the Dtk_Oriented2dBBox to an additional point.
@ DTK_FDT_MODIFIER_LEAST_MATERIAL
Definition: util_draw_dtk.hpp:66
OriginReferenceOption
Definition: util_draw_dtk.hpp:4636
@ DTK_FRAME_TYPE_POLYGON
Definition: util_draw_dtk.hpp:181
Dtk_Int32 nbCells_Left_Right
Number of adjacent cells to the left or right.
Definition: util_draw_dtk.hpp:4185
void SetBrazingOtherSide(const Dtk_bool inBrazing=DTK_TRUE)
Sets the Brazing flag for the OtherSide.
void SetOtherSideOpeningText(Dtk_CompositeText inOtherSideOpeningText)
Sets the OtherSideOpeningText Dtk_CompositeText.
void SetArrowSideWeldSymbolText(Dtk_CompositeText inArrowSideWeldSymbolText)
Sets the ArrowSideWeldSymbolText Dtk_CompositeText.
@ HorizontalMirroring
Definition: util_draw_dtk.hpp:1130
Dtk_ErrorStatus SetInnerBoundingBox(const Dtk_Oriented2dBBox &innerBoundingBox)
Sets the inner bounding box.
@ SymbolPlugWeld
Definition: util_draw_dtk.hpp:3103
This is the Dtk_ViewDisplay class to set the Display mode for the bodies stored in a view.
Definition: util_draw_dtk.hpp:7009
Dtk_CompositeText GetArrowSideOpeningText() const
Retrieves the ArrowSideOpeningText Dtk_CompositeText.
@ TerminatorTypeDoubleTriangle
Definition: util_draw_dtk.hpp:2043
void ProcessSymbolInfos(Dtk_tab< Dtk_pnt > &outPnts, Dtk_Double64 &outCircleRadius) const
Process the Roughness Symbol Informations as shown in the picture below.
@ TypeGeometricalTolerance
Definition: util_draw_dtk.hpp:6516
@ Dtk_HatchingStyle_Hatching
Definition: util_draw_dtk.hpp:8068
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:8374
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the ApplicationZone giving a translation vector.
Definition: util_draw_dtk.hpp:2189
This is the Welding Symbol class.
Definition: util_draw_dtk.hpp:3074
const Dtk_ReferenceBlockPtr & SecondReference() const
Retrieves the second reference block - read only -.
virtual Dtk_Object * Clone()=0
void SetArrowSideContourSymbol(ComplementarySymbolEnum inContourSymbol)
Set the ContourSymbol of the ArrowSide.
void SetMiddleCenterPoint(const Dtk_pnt &inNewPoint)
Sets the middle center point.
const Dtk_Int32 & LineType() const
Retrieves the hatch line type. Applies for hatching. The value can be casted to enum Dtk_FontLineType...
Dtk_ErrorStatus SetBottomLeftText(Dtk_Text inText)
Sets the bottom-left text.
Dtk_Size_t GetNum2dEntities() const
Retrieves the 2D entities number - read only -.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES], const Dtk_bool &inProcessAddtionnalTexts) const
Processes all the Dtk_GeometricalTolerance anchor points.
Dtk_dir _XLocalVector
Definition: util_draw_dtk.hpp:482
Dtk_InfoPtr m_Infos
Definition: util_draw_dtk.hpp:2103
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType, const Dtk_Double64 &inOffSet=0.0)
Sets the Dtk_ReferenceFrame anchor point.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
static Dtk_CompositeEntityPtr Create(Dtk_CompositeEntity &&inToBeMoved)
Copy constructor.
Dtk_Int32 _BorderTopBlanked
Definition: util_draw_dtk.hpp:4200
@ DTK_FDT_MODIFIER_NONE
Definition: util_draw_dtk.hpp:68
@ AttributeStrikethrough
Definition: util_draw_dtk.hpp:289
const Dtk_RGB & GetBorderBottomColor()
Gets BorderBottomColor of Bottom border.
Dtk_CompositeText GetOtherSideSecondFilletSizeText() const
Retrieves the OtherSideSecondFilletSizeText Dtk_CompositeText.
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
Dtk_CompositeText()
Base constructor.
Dtk_FCFFeatureIndicatorType(Dtk_FCFFeatureIndicatorType &&inToBeMoved) DTK_NOEXCEPT
\MoveConstructor
Definition: util_draw_dtk.hpp:5944
Dtk_Oriented2dBBox GetOuterBoundingBox() const
@ DTK_FRAME_TYPE_OBLONG
Definition: util_draw_dtk.hpp:154
ShowLabelOption GetDisplayShowLabelOption() const
Gets the display show labels option.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:4793
Dtk_Size_t GetNumOrigins() const
Retrieves the origin points number - read only -.
Dtk_ErrorStatus GetRectangularHeight(Dtk_Double64 &outHeight)
Gets the height of the rectangular Dtk_Region.
MirroringTypeEnum
Definition: util_draw_dtk.hpp:1128
Represents the grids.
Definition: util_draw_dtk.hpp:4618
void SetArrowSideSizeText(Dtk_CompositeText inArrowSideSizeText)
Sets the ArrowSideSizeText Dtk_CompositeText.
ShowLabelOption
Definition: util_draw_dtk.hpp:4629
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)
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:2786
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_pnt ProcessBottomLeftAnchorPoint() const
Processes the bottom-left inner anchor point.
ZoomFitModeEnum
Definition: util_draw_dtk.hpp:7872
DatumTargetValueEnum
Definition: util_draw_dtk.hpp:3879
RoughModeEnum
Definition: util_draw_dtk.hpp:2719
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4673
@ WeldTextSecondFilletSize
Definition: util_draw_dtk.hpp:3211
This is the geometrical tolerance specification. It is part of the Dtk_ToleranceSpecificationContaine...
Definition: util_draw_dtk.hpp:5429
const Dtk_RGB & GetBorderRightColor()
Gets BorderRightColor of Right border.
static Dtk_ToleranceSpecificationPtr Create(Dtk_Text inFullTextWithMaterialCondition, const Dtk_ReferenceFramePtr &inReferenceFrame=Dtk_ReferenceFrame::Create())
Full featured constructor.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Symbol anchor point.
Dtk_CompositeText GetArrowSideSecondFilletSizeText() const
Retrieves the ArrowSideSecondFilletSizeText Dtk_CompositeText.
void AddEntities(const Dtk_tab< Dtk_EntityPtr > &inEltArray)
Adds an array of Dtk_EntityPtr.
ProjectionTypeEnum
Definition: util_draw_dtk.hpp:7866
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:2302
const Dtk_bool & VerticallyOrientedStatus() const
Retrieves the text vertically oriented Status - read only -.
Dtk_ErrorStatus AddPicture(const Dtk_picturePtr &inElt)
Adds a Dtk_picturePtr to the Dtk_CompositeEntity For that, it will check if the Dtk_picturePtr is not...
void SetDatumTargetMovable(const DatumTargetMovableStatusEnum inMovableStatus, Dtk_tab< Dtk_CurvePtr > inMovableGeom)
Sets the Movable status of the Dtk_DatumTarget.
Dtk_ReferenceBlock & operator=(Dtk_ReferenceBlock &&inToBeMoved) DTK_NOEXCEPT
\MoveOp{inToBeAssigned}
@ DTK_UNIT_DMS
Definition: util_draw_dtk.hpp:96
const Dtk_Double64 & Pitch() const
Retrieves the text pitch - read only -.
const Dtk_RGB & GetBorderLeftColor()
Gets BorderLeftColor of Left border.
@ DTK_FRAME_TYPE_OBLONG_RIGHT
Definition: util_draw_dtk.hpp:156
Dtk_Annotation & operator=(Dtk_Annotation &&inToBeMoved) DTK_NOEXCEPT
\MoveOp{inToBeAssigned}
static Dtk_Annotation * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
~Dtk_DatumTarget()
Destructor.
void _ReplaceFirstMaterialModifer(const Dtk_Size_t &inReferencePos, const DTK_FDT_MODIFIER &inMaterialModifier)
Internal use only.
Dtk_bool IsTolSign() const
Tell if the associated Dtk_text is part of Tolerance Sign group - into Dtk_Dimension -.
Dtk_Camera(const Dtk_Camera &s)
const Dtk_Double64 & CharHeight() const
Retrieves the char height - Read Only -.
@ RadiusDimension
Definition: util_draw_dtk.hpp:4867
void SetPoint(const Dtk_pnt &inNewPoint, const enum Dtk_anchor_type &inAnchorType)
Sets the point with inAnchorType type.
Dtk_ErrorStatus ProcessDistance(const Dtk_Oriented2dBBox &inReferenceBBox, Dtk_Double64 &outTopOffSet, Dtk_Double64 &outBottomOffSet, Dtk_Double64 &outRightOffSet, Dtk_Double64 &outLeftOffSet) const
Process distance - Read Only -.
@ ZoomFitAllScene
Definition: util_draw_dtk.hpp:7874
static Dtk_SymbolPtr Create(const Dtk_DatumTargetPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Constructor from Dtk_DatumTargetPtr.
const Dtk_ReferenceBlockPtr & SecondReference() const
Retrieves the second reference block - read only -. This is a shortcut without using Dtk_ReferenceFra...
void setWidth(const double &inWidth)
Sets the Dtk_OneCell Width.
Dtk_Double64 GetMinorLineWidth() const
Gets the minor line width.
Dtk_Double64 GetInnerRotationAngle(const Dtk_dir &inXAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inYAxis=Dtk_dir(0, 1, 0))
Gets the inner bounding box rotation angle giving a reference base.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:3932
@ ApplyToBasicSurface
Definition: util_draw_dtk.hpp:2714
Dtk_pnt BottomLeftPoint() const
Retrieves the bottom left point - Read Only -.
Definition: util_draw_dtk.hpp:552
@ TypeFlatness
Definition: util_draw_dtk.hpp:6202
Dtk_ToleranceSpecificationContainer & operator=(const Dtk_ToleranceSpecificationContainer &s)
Assignment Operator.
@ ModeMultiDirectional
Definition: util_draw_dtk.hpp:2722
const Dtk_Text & BottomText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer bottom-text as Dtk_Text - read only -.
const Dtk_string const Dtk_transfo & inTransfo
Definition: catiav5w.hpp:619
void SetArrowSideAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Set the AssociatedGeometries of the ArrowSide.
const Dtk_frame_type & GetFrameType() const
Retrieves the Frame Type - Read Only -.
Definition: util_draw_dtk.hpp:977
@ DTK_FRAME_TYPE_FLAG_RIGHT
Definition: util_draw_dtk.hpp:148
@ TypeFullBoltCircle
Definition: util_draw_dtk.hpp:6531
Dtk_Double64 min_Height
The original height before mergers.
Definition: util_draw_dtk.hpp:4177
Dtk_justication_type
Definition: util_draw_dtk.hpp:124
Dtk_DatumTarget(const Dtk_DatumTarget &inToBeCopied)
Dtk_Double64 GetSemiHeight() const
Retrieves the Camera Base Semi Height - read only -.
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
Dtk_RGB _BorderBottomColor
Definition: util_draw_dtk.hpp:4194
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
~Dtk_OneCell()
Destructor.
#define DTK_TRUE
Definition: define.h:727
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Definition: util_draw_dtk.hpp:6083
Dtk_Int32 getnbCells_Top_Bottom() const
Gets the number of cells at the bottom or left of the Dtk_OneCell.
Dtk_Size_t anchor
Defines the anchor texts.
Definition: util_draw_dtk.hpp:4183
This is the general symbol class. It's basically composed of Dtk_CompositeText and geometrical elemen...
Definition: util_draw_dtk.hpp:6505
@ DTK_TYPE_REGION
Definition: define.h:559
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:3312
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Annotation anchor point.
Dtk_CompositeText(const Dtk_CompositeText &t)
Copy constructor.
@ ComplementarySymbolWeldWithConcaveFace
Definition: util_draw_dtk.hpp:3194
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:4100
Dtk_Double64 ProcessRotationAngle(const Dtk_dir &inZAxis=Dtk_dir(0, 0, 1)) const
Processes the inner bounding box rotation angle giving the reference Z Axis.
@ FinishSymbolRoll
Definition: util_draw_dtk.hpp:3244
void CreateGeometries(Dtk_tab< Dtk_CurvePtr > &outRes) const
Dtk_bool IsSeparator() const
Tell if the associated Dtk_text is a separator - into Dtk_Dimension -.
Dtk_Frame()
Base constructor.
Definition: util_draw_dtk.hpp:949
~Dtk_Welding()
Destructor.
Dtk_CompositeText & operator+=(Dtk_CompositeText s2)
Merges the Dtk_CompositeText to another one.
Dtk_Font & operator=(const Dtk_Font &inToBeAssigned)
Assignment Operator.
Dtk_ErrorStatus SetRoughnessApplyTo(const ApplyToEnum &inApplyTo)
Sets the apply-to type.
void AddAdditionnalGeometry(const Dtk_EntityPtr &inAdditionnalGeometry)
Adds an additionnal geometry to the Dtk_2dEntity.
Dtk_Symbol(const Dtk_Roughness &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
void SetMiddleRightPoint(const Dtk_pnt &inNewPoint)
Sets the middle right point.
void SetText(Dtk_CompositeText text)
Sets the text in the Dtk_OneCell.
Dtk_HatchingPattern & operator=(const Dtk_HatchingPattern &inToBeAssigned)
Definition: util_draw_dtk.hpp:8110
TextJustificationEnum _justification
Text Justification (Left, etc...)
Definition: util_draw_dtk.hpp:326
Dtk_ErrorStatus AddOLEObject(const Dtk_OLEObjectPtr &inOLEObject)
Adds a Dtk_OLEObjectPtr to the view.
Dtk_Handle * m_Private
Definition: util_draw_dtk.hpp:6037
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.
Dtk_Font & operator=(Dtk_Font &&inToBeMoveed) DTK_NOEXCEPT
\MoveOp{inToBeMoveed}
@ RectangularType
Definition: util_draw_dtk.hpp:8366
@ SymbolFlangeEdge
Definition: util_draw_dtk.hpp:3113
static Dtk_CompositeEntity * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ErrorStatus GetAnchorPointsByTolSpec(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES], const Dtk_Int32 &ref_tol_spec_ind=-1) const
Processes all the Dtk_Symbol anchor points.
Dtk_Font(Dtk_Font &&s) DTK_NOEXCEPT
\MoveConstructor{s}
Dtk_justication_type & getJustification()
Gets the Dtk_OneCell justification.
Dtk_ErrorStatus SetInnerAnchorPoint(const Dtk_pnt &inNewOrigin, const Dtk_anchor_type &inLocationAnchorType)
Set the text inner anchor point.
static Dtk_LeaderPtr Create(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_tab< Dtk_pnt > &inPntsArray)
Linear leader constructor.
friend std::ostream & operator<<(std::ostream &o, const Dtk_Leader &d)
Dtk_bool GetDisplayGridOption() const
Gets the display grid option.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_bool IsTolBloc() const
Tell if the associated Dtk_text is part of Tolerance Block group - into Dtk_Dimension -.
Dtk_Size_t GetNumBodies() const
Retrieves the bodies number to be dispalyed- read only -.
@ DTK_TYPE_REFERENCE
Definition: define.h:473
void SetBorderTopBlanked(const Dtk_Int32 &inBorderTopBlanked)
Sets BorderTopBlanked of Top border.
static Dtk_HatchingPtr Create()
Base Constructor.
ApplicationZone & operator=(const ApplicationZone &inToBeAssigned)
Assignment Operator.
Definition: util_draw_dtk.hpp:1975
@ WeldTextClearance
Definition: util_draw_dtk.hpp:3210
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
static Dtk_2dEntity * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
const Dtk_dir & OuterXAxis() const
Retrieves the outer bounding box XAxis - read only -.
@ WeldTextLength
Definition: util_draw_dtk.hpp:3207
static Dtk_string TextJustificationEnumToString(const TextJustificationEnum &inEnum)
Definition: util_draw_dtk.hpp:306
Dtk_TextStyle & operator=(const Dtk_TextStyle &s)
Assignment Operator.
@ DTK_TYPE_CAMERA
Definition: define.h:478
Dtk_ToleranceSpecificationContainerPtr & GetToleranceSpecificationContainer(const Dtk_Size_t &inPos)
Retrieves the ith Dtk_ToleranceSpecificationContainer - get/set -.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES], const Dtk_Double64 &inOffSet=0.0) const
Processes all the Dtk_ReferenceFrame anchor points.
@ DTK_JUSTIFY_CENTER
Definition: util_draw_dtk.hpp:128
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7056
void SetToleranceTypeOuterBoundingBox(const Dtk_Oriented2dBBox &inOuterBBox) const
Set the Tolerance Specification Container Type outer Bounding Box.
~Dtk_ReferenceBlock()
Destructor.
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_Grid geometries.
Dtk_Size_t GetNum2dGeometricalEntity() const
Retrieves the number of geometrical entity to the view.
void AddAdditionnalTexts(Dtk_CompositeText inAddtionnalTexts)
Adds some additionnal texts to the Dtk_2dEntity.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
static Dtk_ToleranceSpecificationContainer * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_bool IsUpperFrac() const
Tell if the associated Dtk_text is part of Upper Fraction group - into Dtk_Dimension -.
const Dtk_Font & Font() const
Retrieves the font - read only -.
void SetArrowSideTexts(std::unordered_map< Dtk_UInt8, Dtk_CompositeText > &inTexts)
Set the Dtk_Welding ArrowSide Texts and their types.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the ApplicationZone.
Definition: util_draw_dtk.hpp:1964
Dtk_View(const Dtk_View &s)
Dtk_Text GetMiddleLeftText() const
Gets the middle-left text - read only -.
void _Init()
Definition: util_draw_dtk.hpp:487
DTK_FDT_MODIFIER
This is the several tolerances modifiers list.
Definition: util_draw_dtk.hpp:63
@ SymbolSquareButtWeld
Definition: util_draw_dtk.hpp:3079
void SetIndentLineFlag(const Dtk_Char8 inIndentLineFlag=-1)
Sets the IndentLine Flag.
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_Roughness geometries.
@ FinishSymbolFlush
Definition: util_draw_dtk.hpp:3236
Dtk_bool IsDual() const
Tell if the associated Dtk_text is part of dual group - into Dtk_Dimension -.
@ TypeUrl
Definition: util_draw_dtk.hpp:6534
void MergeWithOtherSymbol(const Dtk_SymbolPtr &inSymbolToBeMerged)
Merges texts and geometrical element of the given Dtk_Symbol into this Dtk_Symbol.
This is a high level string class.
Definition: dtk_string.hpp:58
@ DTK_ALIGN_RIGHT
Definition: util_draw_dtk.hpp:117
This is the Hatching class. The hatching fills a close area delimited by boundaries (a set of Dtk_Pol...
Definition: util_draw_dtk.hpp:8183
Dtk_ToleranceSpecification()
const Dtk_CompositeText & TopText() const
Retrieves the top text - read only -.
Dtk_ErrorStatus SetMiddleRightText(Dtk_Text inText)
Sets the middle-right text.
Dtk_Int32 ProcessIntersectionWithSegment(const Dtk_pnt &inPntA, const Dtk_pnt &inPntB, Dtk_tab< Dtk_pnt > &outIntersectionPnts, const Dtk_bool &inTestComplanarity=DTK_FALSE) const
Processes intersection points with a segment giving its ends.
DimensionTypeEnum GetDimensionType() const
Retrieves the Dtk_Dimension type - read only -.
This is the Feature Indicator. It is part of the Dtk_FCFFeatureIndicator. .
Definition: util_draw_dtk.hpp:5898
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:5116
@ DTK_ANCHOR_BOTTOM_LEFT
Definition: util_draw_dtk.hpp:106
static Dtk_GeometricalTolerancePtr Create(const Dtk_GeometricalTolerance &inToBeCopied)
Copy constructor.
@ TerminatorTypeTriangle
Definition: util_draw_dtk.hpp:2025
@ TerminatorTypeCircle
Definition: util_draw_dtk.hpp:2011
Dtk_Oriented2dBBox & GetBoundingBox() const
Gets the 2d bbox of the grid.
void setnbCells_Left_Right(const Dtk_Size_t &inNewVal)
Sets nbCells_Left_Right.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7123
virtual type_detk get_type_detk() const =0
size_t Dtk_Size_t
Definition: define.h:712
Dtk_ErrorStatus SetOuterRotationAngle(const Dtk_Double64 &inRotationAngle, const Dtk_dir &inXAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inYAxis=Dtk_dir(0, 1, 0))
Sets the outer bounding box rotation angle giving a reference base.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:6250
Dtk_picturePtr GetPicture(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_picturePtr.
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:5955
void SetReverseTailAndFieldFlag(const Dtk_bool inReverseTailAndField=DTK_TRUE)
Sets the Field/Tail Reverse Flag.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Roughness anchor point.
const Dtk_CompositeText & BottomText() const
Retrieves the bottom text - read only -.
Dtk_CompositeText & BottomText()
Retrieves the bottom text - get/set -.
Dtk_pnt & InnerLocation()
Retrieves the inner bounding box location - get/set -.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
@ DTK_TYPE_COMPOSITE_ENTITY
Definition: define.h:450
@ DTK_ANCHOR_TOP_CENTER
Definition: util_draw_dtk.hpp:101
@ TypeStraightness
Definition: util_draw_dtk.hpp:6200
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES])
Processes all the Dtk_DatumTarget anchor points.
static Dtk_Camera * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_bool GetDisplayMajorLinesOption() const
Gets the display major lines option.
void set_min_Height(const double &inHeight)
Sets the Dtk_OneCell min_Height.
Dtk_ErrorStatus AddView(const Dtk_ViewPtr &inView, const Dtk_pnt &inOrigin)
Adds a view into the drawing.
Dtk_bool _HasText
Definition: util_draw_dtk.hpp:4180
static Dtk_ViewDisplayPtr Create(const Dtk_ViewDisplay &inToBeCopied)
Copy constructor.
ObtentionTypeEnum GetRoughnessType() const
Gets the obtention type - read only -.
virtual std::ostream & operator<<(std::ostream &o) const
Definition: util_draw_dtk.hpp:1845
Dtk_Int32 ProcessIntersectionWithLine(const Dtk_LinePtr inLine, Dtk_pnt &outIntersectionPnt1, Dtk_pnt &outIntersectionPnt2, Dtk_Double64 &outIntersectionParam1, Dtk_Double64 &outIntersectionParam2, const Dtk_bool &inTestComplanarity=DTK_FALSE) const
Processes intersection points with a line.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7136
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:2230
static Dtk_DrawingPtr Create(const Dtk_Drawing &inToBeCopied)
Copy constructor.
ApplicationZone & operator=(ApplicationZone &&inToBeMoved) DTK_NOEXCEPT
\MoveOp{inTobeAssigned}
Definition: util_draw_dtk.hpp:1986
void SetYLocalVector(const Dtk_dir &inNewYVector)
Sets the Y local vector.
Definition: util_draw_dtk.hpp:662
@ WeldTextDepth
Definition: util_draw_dtk.hpp:3209
const Dtk_InfoPtr & GetInfo() const
Retrieves the text infos - read only -.
@ DTK_FRAME_TYPE_UNDERLINE
Definition: util_draw_dtk.hpp:182
Dtk_Text GetBottomRightText() const
Gets the bottom-right text - read only -.
@ WeldTextNum
Definition: util_draw_dtk.hpp:3206
Dtk_FCFFeatureIndicatorTypeEnum m_Type
Definition: util_draw_dtk.hpp:5913
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7885
@ AnnularType
Definition: util_draw_dtk.hpp:8368
Dtk_Symbol(Dtk_Table &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
@ DTK_ANCHOR_BOTTOM_CENTER
Definition: util_draw_dtk.hpp:107
Dtk_EntityPtr GetEntity(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_EntityPtr.
~Dtk_CompositeEntity()
Destructor.
const FontTypeEnum & FontType() const
Retrieves the font type - read only -.
FontTypeEnum _font_type
Font type (Postcript, TrueType)
Definition: util_draw_dtk.hpp:202
Dtk_bool IsPow() const
Tell if the associated Dtk_text is part of Pow group - into Dtk_Dimension -.
Dtk_dir & OuterXAxis()
Retrieves the outer bounding box XAxis - get/set -.
Dtk_ErrorStatus SetBottomRightText(Dtk_Text inText)
Sets the bottom-right text.
friend std::ostream & operator<<(std::ostream &o, const Dtk_2dEntity &d)
void AddArrowSideText(WeldTextType inType, Dtk_CompositeText inText)
Add a Text and its type to the ArrowSide.
Dtk_ErrorStatus SetOtherRequirement(Dtk_Text inText)
Sets the OtherRequirement text.
@ WeldTextFinishSymbol
Definition: util_draw_dtk.hpp:3204
This is the base text class. It's part of Dtk_CompositeText. It's used into a lot of 2D Entities It c...
Definition: util_draw_dtk.hpp:1126
Dtk_Double64 GetUSpacing() const
Gets U spacing between lines.
const Dtk_transfo & TransformationMatrix() const
Retrieves the transformation matrix - read only -.
static Dtk_FCFFeatureIndicator * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Definition: util_draw_dtk.hpp:6090
~Dtk_FCFFeatureIndicator()
Destructor.
Definition: util_draw_dtk.hpp:6071
BasicDimensionTypeEnum
Definition: util_draw_dtk.hpp:4879
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_FCFFeatureIndicator giving a translation vector.
void Merge(const Dtk_Oriented2dBBox &inOriented2dBBox)
Merges the Dtk_Oriented2dBBox to another one.
Dtk_FCFFeatureIndicator(Dtk_FCFFeatureIndicatorType inFeatureIndicatorType, Dtk_Text inSymbol, Dtk_Text inDatumFeatureIdentifier)
@ DTK_UNIT_MM
Definition: util_draw_dtk.hpp:85
FontStyleEnum _font_style
Font Style type (Regular, Italic, etc...)
Definition: util_draw_dtk.hpp:322
static Dtk_FCFFeatureIndicatorPtr Create(const Dtk_FCFFeatureIndicator &inToBeCopied)
Copy constructor.
Definition: util_draw_dtk.hpp:6109
@ TypeRoughness
Definition: util_draw_dtk.hpp:6513
Dtk_GeometricalTolerance(Dtk_GeometricalTolerance &&s) DTK_NOEXCEPT
@ ModeParticular
Definition: util_draw_dtk.hpp:2728
Dtk_ErrorStatus SetLeftText(Dtk_CompositeText inText)
Sets the Dtk_ToleranceSpecificationContainer left-text.
void Extend(const Dtk_Double64 &inTopExtend, const Dtk_Double64 &inBottomExtend, const Dtk_Double64 &inLeftExtend, const Dtk_Double64 &inRightExtend)
Extend the bounding box.
@ SymbolRemovableBackingStripUsed
Definition: util_draw_dtk.hpp:3105
void _Init()
Definition: util_draw_dtk.hpp:920
Dtk_Int32 _BorderLeftBlanked
Definition: util_draw_dtk.hpp:4204
Dtk_ErrorStatus GetHiddenEdgesLineStyle(Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const
Retrieves Line style for Hidden Edges.
Dtk_Double64 _char_width
Width of each char in the text.
Definition: util_draw_dtk.hpp:332
SetAsDeprecated("2020.2", "Use Explode(Dtk_CompositeText &outCompositeText,Dtk_tab<Dtk_CurvePtr> &outGeoms) instead") Dtk_ErrorStatus Explode(Dtk_CompositeText &outCompositeText
OBSOLETE.
Dtk_bool GetReverseTailAndFieldFlag() const
Tells if the Field/Tail are reversed.
@ SymbolFlareBevelWeld
Definition: util_draw_dtk.hpp:3121
This is main leader_class. It is part of Dtk_Annotation and Dtk_Dimension. Here a description of a p...
Definition: util_draw_dtk.hpp:1861
Dtk_OneCell(const Dtk_OneCell &inToBeCopied)
This is the drawing class. It basically contains Dtk_View array and Dtk_2dEntity array.
Definition: util_draw_dtk.hpp:6869
friend Dtk_CompositeText operator+(Dtk_CompositeText s1, Dtk_CompositeText s2)
Add all the Dtk_Text from the two Dtk_CompositeText.
static Dtk_string ApplicationZoneEnumToString(const ApplicationZoneEnum &inEnum)
Definition: util_draw_dtk.hpp:1876
Dtk_CompositeText GetArrowSideClearanceText() const
Retrieves the ArrowSideClearanceText Dtk_CompositeText.
Dtk_Double64 & Pitch()
Retrieves the text pitch - get/set -.
void SetArrowSideSecondFilletSizeText(Dtk_CompositeText inArrowSideSecondFilletSizeText)
Sets the ArrowSideSecondFilletSizeText Dtk_CompositeText.
ComplementarySymbolEnum GetComplementarySymbolArrowSide() const
Retrieves the ArrowSide WeldingSymboEnum.
Dtk_Font()
Base constructor.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5305
Dtk_Fdt::ScreenDisplayEnum GetScreenDisplayAttribute() const
Gets the ScreenDisplay attribute of the Dtk_Fdt.
Dtk_Table(const Dtk_Table &tab)
~Dtk_Frame()
Destructor.
Definition: util_draw_dtk.hpp:955
FontStyleEnum
Definition: util_draw_dtk.hpp:262
Dtk_RGB _BorderRightColor
Definition: util_draw_dtk.hpp:4198
Dtk_Text GetLengthTextArrowSide() const
Retrieves the ArrowSide Length Dtk_Text.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:3275
static Dtk_DimensionPtr Create(Dtk_Dimension &&inToMoved)
\MoveConstructor{inToBeMoved}
Dtk_pnt GetBottomCenterPoint() const
Retrieves the bottom center point - Read Only -.
Definition: util_draw_dtk.hpp:581
void Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_ReferenceBlock - internal use only -.
static Dtk_SymbolPtr Create(const Dtk_TablePtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Constructor from Dtk_TablePtr.
@ FontTruescript
Definition: util_draw_dtk.hpp:194
Dtk_Symbol(const Dtk_GeometricalTolerance &inToBeConverteds, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
#define DTK_FALSE
Definition: define.h:728
friend std::ostream & operator<<(std::ostream &o, const Dtk_Symbol &d)
void SetOtherSideSecondFilletSizeText(Dtk_CompositeText inOtherSideSecondFilletSizeText)
Sets the OtherSideSecondFilletSizeText Dtk_CompositeText.
@ DTK_FRAME_TYPE_OBLONG_LEFT
Definition: util_draw_dtk.hpp:158
Dtk_tab< Dtk_CurvePtr > m_RelatedGeomElements
Definition: util_draw_dtk.hpp:5914
void SetBorderRightColor(const Dtk_Int32 &inBorderRightColor)
Sets BorderRightColor of Right border.
Dtk_Fdt(const Dtk_Fdt &inToBeCopied)
static const Dtk_string TypeEnumToString(const TypeEnum &inEnum)
Definition: util_draw_dtk.hpp:6537
ArrowHead()
Definition: util_draw_dtk.hpp:2144
@ DTK_TYPE_SYMBOL
Definition: define.h:409
Dtk_CompositeEntity(const Dtk_CompositeEntity &s)
const Dtk_Text & GetRightText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer right-text as Dtk_Text - read only -.
Dtk_CompositeText GetOtherSideWeldSymbolText() const
Retrieves the OtherSideWeldSymbolText Dtk_CompositeText.
char Dtk_bool
Definition: define.h:725
@ SymbolSteepFlankedSingleBevelButtWeld
Definition: util_draw_dtk.hpp:3099
Dtk_Annotation(Dtk_Annotation &&s) DTK_NOEXCEPT
\MoveConstructor{s}
Dtk_Int32 ProcessTextNumLines() const
Processes the line feed number.
Dtk_Symbol(const Dtk_Symbol &s)
static Dtk_FCFFeatureIndicatorPtr Create()
Base constructor.
Definition: util_draw_dtk.hpp:6103
SetAsDeprecated("2020.2", "Use CreateFrameAsGeometry( Dtk_tab<Dtk_CurvePtr> &outGeoms) instead") Dtk_ErrorStatus CreateFrameAsGeometry(Dtk_tab< Geometric_set_select_entity * > &outGeoms) const
OBSOLETE Creates geometries corresponding to the text frame type.
@ DTK_TYPE_VIEW
Definition: define.h:444
Dtk_Roughness(const Dtk_pnt &inLocationPnt, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=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 &inJustificationType=DTK_JUSTIFY_LEFT)
void SetTopLeftPoint(const Dtk_pnt &inNewPoint)
Sets the top left point.
@ DTK_TYPE_DATUM_TARGET
Definition: define.h:437
void SetBorderBottomColor(const Dtk_RGB &inBorderBottomColor)
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:3007
Dtk_Double64 & Slant()
Retrieves the text slant - get/set -.
static Dtk_string DatumTargetTypeEnumToString(const DatumTargetTypeEnum &inEnum)
Definition: util_draw_dtk.hpp:3846
Dtk_ErrorStatus AddText(Dtk_Text inText)
Adds text to the Dtk_Dimension text.
TextAttributeEnum & Attributes()
Retrieves the text attribute - get/set -.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType, const Dtk_bool &inProcessAddtionnalTexts)
Sets the Dtk_GeometricalTolerance anchor point.
ComplementarySymbolEnum GetComplementarySymbolOtherSide() const
Retrieves the OtherSide WeldingSymboEnum.
Dtk_Double64 & Scale()
Retrieves the Dtk_View scale - get/set-.
static Dtk_Dimension * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ErrorStatus SetOuterAnchorPoint(const Dtk_pnt &inNewOrigin, const Dtk_anchor_type &inLocationAnchorType)
Set the text outer anchor point.
Dtk_bool IsBasisval() const
Tell if the associated Dtk_text is part of Basis group - into Dtk_Dimension -.
const Dtk_ReferenceBlockPtr & FirstReference() const
Retrieves the first reference block - read only -. This is a shortcut without using Dtk_ReferenceFram...
Dtk_bool GetBrazingOtherSide() const
Tells if the Brazing is activated for the OtherSide.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the ApplicationZone.
Definition: util_draw_dtk.hpp:2198
Dtk_HatchingStyle _style
Definition: util_draw_dtk.hpp:8080
void SetLeaderCurveThicknessInMM(const Dtk_Double64 inCurveThicknessinMM)
Set the leader curve Thickness in Millimeters.
static Dtk_SymbolPtr Create()
Base constructor.
Dtk_justication_type justification
Text justification.
Definition: util_draw_dtk.hpp:4189
@ DTK_ANCHOR_MIDDLE_CENTER
Definition: util_draw_dtk.hpp:104
Dtk_Double64 ProcessXSemiAngle() const
Processes the X - along width - Semi Angle - read only -.
Definition: util_draw_dtk.hpp:8006
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
void SetOtherSideWeldingSymbol(WeldingSymbolEnum inWeldingSymbol)
Set the WeldingSymbol of the OtherSide.
@ FinishSymbolMachine
Definition: util_draw_dtk.hpp:3242
void GetSymbolColor(Dtk_Int32 &outColorId) const
get the color of the Symbol
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:8251
Dtk_CompositeText & operator=(const Dtk_CompositeText &inToBeAssigned)
Assignment Operator.
@ DTK_TYPE_FDT_ANNOTATION_SET
Definition: define.h:447
void SetIndicatorTypeData(const Dtk_FCFFeatureIndicatorTypeEnum &inIndicatorType, const Dtk_Oriented2dBBox &inOuterBoundingBox, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set IndicatorType data.
Definition: util_draw_dtk.hpp:5965
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:1923
static Dtk_ViewPtr Create(const Dtk_View &inToBeCopied)
Copy constructor.
FinishSymbolEnum GetFinishSymbolOtherSide() const
Retrieves the OtherSide FinishSymbol as FinishSymbolEnum.
Dtk_CompositeText & TopText()
Retrieves the top text - get/set -.
static Dtk_RoughnessPtr Create(Dtk_Roughness &&s)
\MoveConstructor{s}
@ TypeCenterMark
Definition: util_draw_dtk.hpp:6527
void SetFrame(Dtk_Frame inFrame)
Sets the frame of the Datum Target.
Dtk_HatchingPattern(const Dtk_HatchingPattern &p)
Definition: util_draw_dtk.hpp:8099
const Dtk_ToleranceSpecificationContainerPtr & GetToleranceSpecificationContainer(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_ToleranceSpecificationContainer - read only -.
Dtk_pnt GetBottomLeftPoint() const
Retrieves the bottom left point - Read Only -.
Definition: util_draw_dtk.hpp:560
@ Local
Definition: util_draw_dtk.hpp:4639
void _Reset()
Definition: util_draw_dtk.hpp:512
Dtk_Size_t _ID
Font ID.
Definition: util_draw_dtk.hpp:204
Dtk_Double64 GetOuterRotationAngle(const Dtk_dir &inXAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inYAxis=Dtk_dir(0, 1, 0))
Gets the outer bounding box rotation angle giving a reference base.
Dtk_ErrorStatus _CreateDatumFeatureFrameAsGeometries(Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES])
Internal use only.
Dtk_bool IsChamfersign() const
Tell if the associated Dtk_text is part of Chamfer Sign group - into Dtk_Dimension -.
void SetWidthHeight(const Dtk_Double64 inWidth, const Dtk_Double64 inHeight)
Definition: util_draw_dtk.hpp:2178
@ TypeCustomSymbol
Definition: util_draw_dtk.hpp:6532
Dtk_OLEObjectPtr GetOLEObject(const Dtk_Size_t &inIndex) const
Retrieves the OLE Object at index.
Dtk_bool IsMainvalpart() const
Tell if the associated Dtk_text is part of Main Value Part group - into Dtk_Dimension -.
void SetScreenDisplayAttribute(const ScreenDisplayEnum inType)
Sets the ScreenDisplay attribute of the Dtk_Fdt.
SetAsDeprecated("2020.2", "Use AddGeometricalElement( const Dtk_EntityPtr &inGeomElt ) instead") Dtk_ErrorStatus AddGeometricalElement(Geometric_set_select_entity *inGeomElt)
OBSOLETE Adds a geometrical element to the Dtk_Symbol.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
double Dtk_Double64
Definition: define.h:699
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES])
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7366
Dtk_Hatching & operator=(const Dtk_Hatching &inToBeAssigned)
Assignment Operator.
Dtk_Grid()
Base constructor.
Definition: util_draw_dtk.hpp:4644
Dtk_Char8 GetIndentLineFlag() const
Retrieves the IndentLine Flag.
Dtk_CompositeText GetOtherSideDepthText() const
Retrieves the OtherSideDepthText Dtk_CompositeText.
~Dtk_Dimension()
Destructor.
ApplicationZone(const ApplicationZoneEnum &inApplicationZoneType, const Dtk_tab< Dtk_CurvePtr > &inRelatedGeometricalElts)
Full featured constructor.
Dtk_bool IsInside(const Dtk_pnt &inPoint) const
Test if a point is inside Dtk_Oriented2dBBox class.
const Dtk_dir & OuterYAxis() const
Retrieves the outer bounding box YAxis - read only -.
Dtk_RGB _BorderLeftColor
Definition: util_draw_dtk.hpp:4196
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
void SetSymbolColor(Dtk_Int32 inColorId) const
set the color of the Symbol
WeldingSymbolEnum
Definition: util_draw_dtk.hpp:3076
Dtk_Double64 _char_height
Height of each char in the text.
Definition: util_draw_dtk.hpp:328
Dtk_pnt m_ArrowLocation
Definition: util_draw_dtk.hpp:2105
Dtk_Double64 GetYLength() const
Retrieves the Y length - Read Only -.
Definition: util_draw_dtk.hpp:633
@ LinearRadiusDimension
Definition: util_draw_dtk.hpp:4869
@ TypeHoleNote
Definition: util_draw_dtk.hpp:6533
ArrowHead & operator=(const ArrowHead &inToBeAssigned)
Assignment Operator.
Definition: util_draw_dtk.hpp:2207
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Annotation anchor point.
const Dtk_tab< Dtk_EntityPtr > & GetAdditionnalGeometries() const
Retrieves the additionnal geometries of the Dtk_OneCell.
Dtk_Double64 Focus() const
Definition: util_draw_dtk.hpp:8034
static Dtk_LeaderPtr Create(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const Dtk_Double64 &inRadius, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_pnt &inEndingPnt, const Dtk_pnt &inCenterPnt, const Dtk_bool &IsCounterClockwise)
Angular leader constructor.
static Dtk_ViewPtr Create(Dtk_View &&inToBeMoved)
\MoveConstructor{inToBeMoved}
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_GeometricalTolerance.
~ApplicationZone()
Destructor.
Definition: util_draw_dtk.hpp:1920
Dtk_Unit
Definition: util_draw_dtk.hpp:82
static Dtk_RoughnessPtr Create(const Dtk_Roughness &s)
Copy constructor.
Dtk_bool IsNotDefined() const
const Dtk_LeaderPtr & GetOptionnalBottomTextLeader() const
Retrieves optionnal Leader of the Bottom Text.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7384
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)
static Dtk_ReferenceBlock * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Roughness(const Dtk_pnt &inLocationPnt, Dtk_Text inTopLeftText=Dtk_Text(), Dtk_Text inMiddleLeftText=Dtk_Text(), Dtk_Text inBottomLeftText=Dtk_Text(), Dtk_Text inTopRightText=Dtk_Text(), Dtk_Text inMiddleRightText=Dtk_Text(), Dtk_Text inBottomRightText=Dtk_Text(), const ObtentionTypeEnum &inObtentionType=ObtentionTypeNotDefined, const ApplyToEnum &inApplyToType=ApplyToSpecifiedSurface, const Dtk_InfoPtr &inInfos=NULL, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=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 &inJustificationType=DTK_JUSTIFY_LEFT)
const Dtk_CompositeText & GetText() const
Dtk_bool GetAllAroundSet() const
OBSOLETE Retrieves the status of the all around property for the current drawing leader.
Dtk_Text & operator=(Dtk_Text &&s) DTK_NOEXCEPT
static Dtk_LeaderPtr Create(const Dtk_Leader &s)
Copy constructor.
Dtk_Text GetOtherRequirement() const
Gets the OtherRequirement text - read only -.
Dtk_anchor_type & AnchorType()
Retrieves the text anchor type - get/set -.
@ StyleBold
Definition: util_draw_dtk.hpp:266
Dtk_pnt & GetOrigin(const Dtk_Size_t &inPos)
Retrieves the origin Dtk_pnt - get/set -.
Dtk_Text GetMiddleRightText() const
Gets the middle-right text - read only -.
@ TerminatorTypeFilledTriangle
Definition: util_draw_dtk.hpp:2027
@ TypeCoordinateDimension
Definition: util_draw_dtk.hpp:6522
Dtk_ToleranceSpecification & operator=(const Dtk_ToleranceSpecification &inToBeAssigned)
Assignment Operator.
@ DistanceDimension
Definition: util_draw_dtk.hpp:4875
Dtk_ErrorStatus SetRectangularHeight(Dtk_Double64 inHeight)
Sets the height of the rectangular Dtk_Region.
Dtk_Symbol(Dtk_Symbol &&s) DTK_NOEXCEPT
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_DatumTarget.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_ViewPtr & GetView(const Dtk_Size_t &inPos)
Retrieves the ith Dtk_View - get/set -.
@ SymbolSurfaceJointWeld
Definition: util_draw_dtk.hpp:3131
Dtk_Dimension(const Dtk_Dimension &inToBeCopied)
Dtk_Frame(Dtk_Frame &&s) DTK_NOEXCEPT
\MoveConstructor{s}
Definition: util_draw_dtk.hpp:946
@ TerminatorTypeDoubleCloseArrow
Definition: util_draw_dtk.hpp:2039
static Dtk_Region * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Double64 & CharWidth()
Retrieves the char width - get/set -.
Dtk_Leader(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_tab< Dtk_pnt > &inPntsArray)
const Dtk_TextStyle & TextStyle() const
Retrieves the text text style - read only -.
@ DTK_ANCHOR_TOP_LEFT
Definition: util_draw_dtk.hpp:100
Dtk_CompositeText GetArrowSideSecondFilletLengthText() const
Retrieves the ArrowSideSecondFilletLengthText Dtk_CompositeText.
void SetLetteringColor(const Dtk_RGB &inLetteringColor)
Sets the lettering color for symbol and references.
Dtk_picturePtr GetPicture(const Dtk_Size_t &inPos) const
Retrieves the ith Picture.
static Dtk_ViewPtr Create()
Base constructor.
void SetXLength(const Dtk_Double64 &inNewXlength)
Retrieves the X length.
static Dtk_string TolSpecContTypeToDtk_string(const TypeEnum inValue)
ScreenDisplayEnum
Definition: util_draw_dtk.hpp:7350
Dtk_tab< Dtk_Size_t > nbCells_Line
number of cells on each line (if we consider mergers)
Definition: util_draw_dtk.hpp:4424
@ TypeRegion
Definition: util_draw_dtk.hpp:6529
@ CylindricalType
Definition: util_draw_dtk.hpp:8369
This is the Datum Target.
Definition: util_draw_dtk.hpp:3829
void SetTopCenterPoint(const Dtk_pnt &inNewPoint)
Sets the top center point.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
void AddArrowSideUndefinedText(Dtk_CompositeText inText)
Add an undefined Text to the ArrowSide.
Dtk_Double64 ProcessHeight() const
Internal use only.
@ ChamferDimension
Definition: util_draw_dtk.hpp:4873
Dtk_CompositeText & Text(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
This is the Dtk_ReferenceBlock Class. It is part of the Dtk_ReferenceFrame entity.
Definition: util_draw_dtk.hpp:5114
Dtk_2dEntity & operator=(Dtk_2dEntity &&inToBeAssigned) DTK_NOEXCEPT
\MoveOp{inToBeAssigned}
Definition: dtk_val.hpp:67
@ SymbolFlangeCorner
Definition: util_draw_dtk.hpp:3117
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6871
void Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_ReferenceBlock - internal use only -.
Dtk_ReferenceBlockPtr & ThirdReference()
Retrieves the third reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame ...
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
static Dtk_CompositeEntityPtr Create(const Dtk_CompositeEntity &inToBeCopied)
Copy constructor.
void AddOtherSideText(WeldTextType inType, Dtk_CompositeText inText)
Add a Text and its type to the OtherSide.
void SetLocalVectors(const Dtk_dir &inNewXVector, const Dtk_dir &inNewYVector)
Sets the X and Y local vectors.
Definition: util_draw_dtk.hpp:671
This is the Roughness class.
Definition: util_draw_dtk.hpp:2697
@ StyleItalic
Definition: util_draw_dtk.hpp:268
const Dtk_CompositeText & Text(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
Gets the (i,j)th text - get/set -.
@ TerminatorTypeFilledCircle
Definition: util_draw_dtk.hpp:2013
Dtk_TextStyle()
Base constructor.
IncludeOptions
Definition: util_draw_dtk.hpp:2092
static Dtk_WeldingPtr Create()
Base constructor.
Dtk_string GetTopTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer top-text - read only -.
@ CurvilinearDimension
Definition: util_draw_dtk.hpp:4861
@ BasicTypeFlagRight
Definition: util_draw_dtk.hpp:4883
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)
Definition: util_draw_dtk.hpp:2147
const Dtk_Double64 & Height() const
Retrieves the drawing height - read only -.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6572
static Dtk_string ComplementarySymbolEnumToString(const ComplementarySymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3217
Dtk_ReferenceFrame(const Dtk_ReferenceBlockPtr &ref)
Dtk_ToleranceSpecificationContainer & operator=(Dtk_ToleranceSpecificationContainer &&s) DTK_NOEXCEPT
\MoveOp{inToBeMoved}
@ CollectionPlane
Definition: util_draw_dtk.hpp:5906
void SetArrowSideSecondFilletLengthText(Dtk_CompositeText inArrowSideSecondFilletLengthText)
Sets the ArrowSideSecondFilletLengthText Dtk_CompositeText.
Dtk_Text GetBottomLeftText() const
Gets the bottom-left text - read only -.
Dtk_ErrorStatus SetRoughnessType(const ObtentionTypeEnum &inObtentionType)
Sets the obtention type.
Dtk_ErrorStatus SetCircularDiameter(Dtk_Double64 inDiameter)
Sets the diameter of the circular Dtk_Region.
Dtk_string & Text()
Retrieves the text string - get/set -.
Dtk_CompositeText GetArrowSideDepthText() const
Retrieves the ArrowSideDepthText Dtk_CompositeText.
Dtk_RGB _color
Definition: util_draw_dtk.hpp:8084
Dtk_Double64 _ratio
Char Ratio. It represents the stretch of the width of the text. Default value is 1.
Definition: util_draw_dtk.hpp:338
static Dtk_string ScreenDisplayEnumToString(const ScreenDisplayEnum &inEnum)
Definition: util_draw_dtk.hpp:7355
Dtk_ErrorStatus GetVisibleEdgesLineStyle(Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const
Retrieves Line style for Visible Edges.
Dtk_ReferenceFrame(const Dtk_ReferenceFrame &s)
Dtk_dir _YLocalVector
Definition: util_draw_dtk.hpp:483
@ TypeAnnotationTable
Definition: util_draw_dtk.hpp:6517
Dtk_FCFFeatureIndicator()
Definition: util_draw_dtk.hpp:6045
@ DTK_FRAME_TYPE_SYMMETRICAL_SET
Definition: util_draw_dtk.hpp:171
Dtk_Double64 GetMajorLineWidth() const
Gets the major line width.
@ DTK_TYPE_REFERENCE_FRAME
Definition: define.h:474
Dtk_ToleranceSpecificationContainerPtr & at(const Dtk_Size_t &inPos)
Retrieves the ith Dtk_ToleranceSpecificationContainer - get/set -.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
void SetStubDelta(const double &inStubDelta)
Set the value of the leader stub.
This is the font class This class lets you access to font informations (name, type ....
Definition: util_draw_dtk.hpp:190
const Dtk_pnt & OuterLocation() const
Retrieves the outer bounding box location - read only -.
static Dtk_RoughnessPtr Create(const Dtk_pnt &inLocationPnt, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=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 &inJustificationType=DTK_JUSTIFY_LEFT)
Full featured constructor.
Dtk_Int32 ProcessIntersectionWithLine(const Dtk_pnt &inPntA, const Dtk_pnt &inPntB, Dtk_pnt &outIntersectionPnt1, Dtk_pnt &outIntersectionPnt2, const Dtk_bool &inTestComplanarity=DTK_FALSE) const
Processes intersection points with a line giving two points on the line.
Dtk_FontLineType GetMajorLineStyle() const
Gets the major line font line type.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:8284
Dtk_bool GetDisplayOnTopOption() const
Gets the display on top option.
void SetBrazingArrowSide(const Dtk_bool inBrazing=DTK_TRUE)
Sets the Brazing flag for the ArrowSide.
Dtk_tab< Dtk_HatchingPattern > & Patterns()
Retrieves the hatching area patterns. Patterns describes hatch line presentations (angle,...
Dtk_Double64 getHeight() const
Gets the height of the Dtk_OneCell.
@ SymbolSurfacingWeld
Definition: util_draw_dtk.hpp:3109
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Annotation anchor point.
Dtk_Hatching()
Base Constructor.
@ SymbolScarfWeld
Definition: util_draw_dtk.hpp:3123
@ TypeCylindricity
Definition: util_draw_dtk.hpp:6206
@ DTK_ALIGN_NONE
Definition: util_draw_dtk.hpp:113
const Dtk_CompositeText & LeftTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer left-text as Dtk_CompositeText - read only -.
void ProcessSymbolInfos(Dtk_tab< Dtk_pnt > &outPnts) const
Process the Welding Symbol Informations as shown in the picture below.
const Dtk_RGB & GetBorderTopColor()
Gets BorderTopColor of Top border.
@ TerminatorTypeBottomOpenArrow
Definition: util_draw_dtk.hpp:2047
@ DTK_FRAME_TYPE_SQUARE
Definition: util_draw_dtk.hpp:138
void _Copy(const Dtk_FCFFeatureIndicatorType &s)
@ DTK_FRAME_TYPE_CIRCLE
Definition: util_draw_dtk.hpp:140
Dtk_Oriented2dBBox m_OuterBBox
Definition: util_draw_dtk.hpp:5915
Dtk_dir & InnerXAxis()
Retrieves the inner bounding box XAxis - get/set -.
@ TerminatorTypeBottomFillArrow
Definition: util_draw_dtk.hpp:2051
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_bool IsChamferright() const
Tell if the associated Dtk_text is part of Chamfer Right group - into Dtk_Dimension -.
Dtk_FontLineType GetMinorLineStyle() const
Gets the minor line font line type.
This is the Reference Frame Class. It is part of the Dtk_ToleranceSpecification entity....
Definition: util_draw_dtk.hpp:5287
Dtk_ErrorStatus SetYAxis(const Dtk_dir &axis_dir)
Sets the Y Axis for the Dtk_CompositeText and included Dtk_Texts.
type_detk get_type_detk() const
static Dtk_View * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
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)
Definition: util_draw_dtk.hpp:2133
static Dtk_Roughness * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:2540
Dtk_Int32 GetBorderLeftBlanked()
Gets BorderLeftBlanked of Left border.
void AddPictures(const Dtk_tab< Dtk_picturePtr > &inEltArray)
Adds an array of Dtk_EntityPtr. Calls Dtk_CompositeEntity::AddPicture for each elements.
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.
@ DTK_TYPE_LEADER
Definition: define.h:472
static Dtk_DatumTargetPtr Create(Dtk_CompositeText inTopText, Dtk_CompositeText inBottomText, const Dtk_pnt &inLocationPnt, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 &inAngle=0.0, const Dtk_Double64 &inOffSet=0.0, const Dtk_bool &inHasFrame=DTK_TRUE, const Dtk_anchor_type &inAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type &inJustificationType=DTK_JUSTIFY_LEFT)
Full featured constructor.
void SetViewDisplay(Dtk_ViewDisplayPtr inDisplay)
SetDisplayMode for 3D entity to be displayed.
TextAttributeEnum _attributes
Text Attribute (Underline, etc...)
Definition: util_draw_dtk.hpp:324
const Dtk_Double64 & Ratio() const
Retrieves the text ratio - Read Only -.
Dtk_2dEntity & operator=(const Dtk_2dEntity &inToBeAssigned)
Assignment Operator.
@ WeldTextSecondFilletLength
Definition: util_draw_dtk.hpp:3212
Dtk_Double64 ProcessYZoomFactor() const
Processes the Y - along height - zoom factor - read only -.
Definition: util_draw_dtk.hpp:7999
@ SymbolSingeVButtWeld
Definition: util_draw_dtk.hpp:3081
Dtk_bool IsValSplitPart1() const
Tell if the associated Dtk_text is part of Value Split Part 1 - for Degrees/Minutes/Seconds form - gr...
Dtk_Double64 _line_spacing
Spacing between two lines in the text - for multiline texts for example -.
Definition: util_draw_dtk.hpp:334
@ DTK_INDIFFERENT_HIERARCHY
Definition: util_draw_dtk.hpp:76
void SetInnerBoundingBox(const Dtk_Oriented2dBBox &inInnerBBox)
Set the inner Bounding Box.
static Dtk_ReferenceBlockPtr Create(const Dtk_Oriented2dBBox &inInnerBBox, const Dtk_Oriented2dBBox &inOuterBBox)
Base constructor.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_HatchingStyle & HatchingStyle()
void AddArrowSideAssociatedGeometry(Dtk_EntityPtr inAssociatedGeometry)
Add an AssociatedGeometry of the ArrowSide.
Dtk_Size_t & ID()
Retrieves the font Id - get/set -.
@ DTK_JUSTIFY_RIGHT
Definition: util_draw_dtk.hpp:130
static Dtk_GridPtr Create(const Dtk_Grid &grid)
CopyConstructor{inTobCopied}.
Dtk_Double64 get_min_Height()
Gets the original height.
@ TerminatorTypeSlash
Definition: util_draw_dtk.hpp:2019
Dtk_Roughness(Dtk_Roughness &&s) DTK_NOEXCEPT
Move Constructor.
static Dtk_DatumTarget * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:8199
const Dtk_ViewPtr & GetView(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_View - read only -.
static Dtk_RoughnessPtr Create(const Dtk_pnt &inLocationPnt, Dtk_Text inTopLeftText=Dtk_Text(), Dtk_Text inMiddleLeftText=Dtk_Text(), Dtk_Text inBottomLeftText=Dtk_Text(), Dtk_Text inTopRightText=Dtk_Text(), Dtk_Text inMiddleRightText=Dtk_Text(), Dtk_Text inBottomRightText=Dtk_Text(), const ObtentionTypeEnum &inObtentionType=ObtentionTypeNotDefined, const ApplyToEnum &inApplyToType=ApplyToSpecifiedSurface, const Dtk_InfoPtr &inInfos=NULL, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=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 &inJustificationType=DTK_JUSTIFY_LEFT)
Full featured constructor.
const Dtk_anchor_type & AnchorType() const
Retrieves the text anchor type - read only -.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:4894
Dtk_ErrorStatus InnerTranslate(const Dtk_dir &inTranslateDir)
Translates the inner bounding box giving a translation vector.
Dtk_ErrorStatus GetAnnularInnerDiameter(Dtk_Double64 &outDiameter)
Gets the inner diameter of the annular Dtk_Region.
void Clone(Dtk_SmartPtr< T > &out) const
Definition: util_ptr_dtk.hpp:192
OriginReferenceOption GetDisplayOriginReferenceOption() const
Gets the display origin reference option.
Dtk_Text & operator=(const Dtk_Text &inToBeAssigned)
Assignment Operator.
WeldingSymbolEnum GetWeldingSymbolOtherSide() const
Retrieves the OtherSide WeldingSymboEnum.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:3908
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:8412
friend std::ostream & operator<<(std::ostream &o, const Dtk_CompositeEntity &d)
ApplyToEnum GetRoughnessApplyTo() const
Gets the apply-to type - read only -.
static Dtk_Hatching * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
void _Reset()
Definition: util_draw_dtk.hpp:934
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Welding.
static Dtk_DatumTargetPtr Create()
Base constructor.
~Dtk_Hatching()
Destructor.
@ TypeLinear
Definition: util_draw_dtk.hpp:2225
This is the Dtk_CompositeEntity class.
Definition: util_draw_dtk.hpp:8249
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_DatumTarget geometries - frame -.
void SetOtherSideSizeText(Dtk_CompositeText inOtherSideSizeText)
Sets the OtherSideSizeText Dtk_CompositeText.
Dtk_Double64 _XLength
Definition: util_draw_dtk.hpp:484
Dtk_Text & operator[](Dtk_Size_t inPos)
Access operator - get/set -.
@ FinishSymbolGrind
Definition: util_draw_dtk.hpp:3238
Dtk_ErrorStatus GetToleranceSpecificationBoundingBox(const Dtk_Size_t &inTolSpecPos, Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the ith Dtk_ToleranceSpecification anchor points.
Dtk_2dEntityPtr Get2dEntity(const Dtk_Size_t &inPos) const
Retrieves the ith 2D entity.
Dtk_OneCell ** tableOfCell
A table of cells.
Definition: util_draw_dtk.hpp:4418
void GetOuterXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const
Gets the outer bounding box orientation.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:4963
FinishSymbolEnum GetFinishSymbolArrowSide() const
Retrieves the ArrowSide FinishSymbol as FinishSymbolEnum.
Dtk_dir XLocalVector() const
Retrieves the X local vector - Read Only -.
Definition: util_draw_dtk.hpp:640
Dtk_ReferenceBlockPtr & SecondReference()
Retrieves the second reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame...
Dtk_CurvePtr GetLeaderCurve() const
Returns the leader curve.
Dtk_ViewDisplay(Dtk_ViewDisplay &&s) DTK_NOEXCEPT
void Clear()
Resets all sub entities.
Dtk_Size_t GetNum2dEntities() const
Retrieves the 2D entities number - read only -.
@ DTK_ALIGN_LEFT
Definition: util_draw_dtk.hpp:115
@ ModeParallel
Definition: util_draw_dtk.hpp:2732
virtual ~Dtk_Annotation()
Destructor.
TextJustificationEnum
Definition: util_draw_dtk.hpp:297
@ DTK_UNIT_M
Definition: util_draw_dtk.hpp:87
Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) const
Retrieves the ith leader - read only -.
Dtk_pnt & BottomLeftPoint()
Retrieves the bottom left point.
Definition: util_draw_dtk.hpp:736
static Dtk_DatumTargetPtr Create(const Dtk_DatumTarget &inToBeCopied)
Copy constructor.
@ DTK_ANCHOR_TOP_RIGHT
Definition: util_draw_dtk.hpp:102
void SetType(const LeaderTerminatorTypeEnum inTerminatorType)
Definition: util_draw_dtk.hpp:2166
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
static Dtk_ReferenceFramePtr Create()
Base constructor.
void SetApplicationData(const ApplicationZoneEnum &inApplicationZoneType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set ApplicationZone informations.
Definition: util_draw_dtk.hpp:1932
@ DTK_FDT_MODIFIER_MAX_MATERIAL
Definition: util_draw_dtk.hpp:65
Dtk_InfoPtr & GetInfo()
Retrieves the infos.
@ SymbolFilletWeld
Definition: util_draw_dtk.hpp:3093
Dtk_Double64 get_min_Width()
Gets the original width of the Dtk_Onecell.
Dtk_CompositeText & GetText()
Gets the text witch is in the Dtk_OneCell.
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
const Dtk_bool & HasFrame() const
Retrieves the frame status - read only -.
Dtk_anchor_type
Definition: util_draw_dtk.hpp:99
static Dtk_ReferenceBlockPtr Create(Dtk_ReferenceBlock &&s)
Move Constructor.
Dtk_Int32 GetVMinorPerMajor() const
Gets V minor lines per major.
virtual ~Dtk_2dEntity()
Destructor.
void SetTopRightPoint(const Dtk_pnt &inNewPoint)
Sets the top right point.
Dtk_Double64 getWidth() const
Gets the width of the Dtk_OneCell.
const Dtk_ReferenceBlockPtr & ThirdReference() const
Retrieves the third reference block - read only -. This is a shortcut without using Dtk_ReferenceFram...
const Dtk_Camera::ProjectionTypeEnum & ProjectionType() const
Retrieves the projection type - read only -.
~Dtk_ReferenceFrame()
Destructor.
DTK_Text_type
Definition: str_def.h:11
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
int32_t Dtk_Int32
Definition: define.h:687
@ Absolute
Definition: util_draw_dtk.hpp:4637
void AddAssociatedGeometry(Dtk_EntityPtr inAssociatedGeometry)
Add a Geometry associated to whole Dtk_Welding (Weld body and tail).
void _ConcatenateMaterialModifierToText(const Dtk_Size_t &inReferencePos, const DTK_FDT_MODIFIER &inMaterialModifier)
Internal use only.
Dtk_ErrorStatus SetToleranceSpecification(const Dtk_Size_t &inPos, const Dtk_ToleranceSpecificationPtr &inNewTolSpec)
Replaces the ith tolerance specification .
void resize(Dtk_Size_t n, const T &t)
Resizes the array.
Definition: util_stl_dtk.hpp:603
Dtk_ErrorStatus Add2dEntity(const Dtk_2dEntityPtr &in2DEntity)
Adds a 2D entity to the view.
Dtk_CompositeText GetArrowSideUndefinedText() const
Retrieves the ArrowSideUndefinedText Dtk_CompositeText.
DTK_Text_type & TextType()
Retrieves the text type - get/set -.
Dtk_Font _font
Font informations.
Definition: util_draw_dtk.hpp:320
static Dtk_SymbolPtr Create(const Dtk_2dEntityPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE, const Dtk_bool &inKeepLeaderAsLeader=DTK_FALSE)
Constructor from Dtk_2dEntityPtr.
void SetOtherSideAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Set the AssociatedGeometries of the OtherSide.
@ SymbolStudWeld
Definition: util_draw_dtk.hpp:3125
static Dtk_FdtPtr Create(Dtk_Fdt &&inToBeMoved)
\MoveConstructor{inToBeMoved}
This is the view class.
Definition: util_draw_dtk.hpp:7121
void Translate(const Dtk_dir &inTranslationDir)
Dtk_pnt _GetStartPoint() const
Dtk_Welding(Dtk_Welding &&s) DTK_NOEXCEPT
Dtk_2dEntityPtr & Get2dEntity(const Dtk_Size_t &inPos)
Retrieves the 2D entity - get/set -.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES])
Processes all the Dtk_Annotation anchor points.
Dtk_ToleranceSpecification(Dtk_Text inFullTextWithMaterialCondition, const Dtk_ReferenceFramePtr &inReferenceFrame=Dtk_ReferenceFrame::Create())
Dtk_CompositeText(Dtk_Text inText)
Constructor from one Dtk_Text.
void DisableFrame()
Disables the frame status.
@ TypeDatum
Definition: util_draw_dtk.hpp:6510
Dtk_Text(Dtk_string inTextString, const Dtk_Oriented2dBBox &inInnerBox, const Dtk_Oriented2dBBox &inOuterBox, const Dtk_Double64 &inSlant, const Dtk_bool &inHorizontalVerticalType, const DTK_Text_type &inTextType, const Dtk_InfoPtr &inInfos, const Dtk_TextStyle &inTextStyle)
Constructor.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
@ TerminatorTypeIntegral
Definition: util_draw_dtk.hpp:2033
@ TypeGeom
Definition: util_draw_dtk.hpp:6523
@ DTK_TYPE_GRID
Definition: define.h:451
Dtk_bool GetWeldTailActivated() const
Tells if the Weld Tail is activated.
@ DTK_TYPE_FDT_VIEW
Definition: define.h:448
const DTK_Text_subtype & TextSubType() const
Retrieves the text subtype - read only -.
void SetArrowSideDepthText(Dtk_CompositeText inArrowSideDepthText)
Sets the ArrowSideDepthText Dtk_CompositeText.
void Set_Texts(const Dtk_Size_t &inRowIdx, const Dtk_Size_t &inColIdx, Dtk_CompositeText inText)
Sets the (inRowIdx,inColIdx)th text.
@ DTK_UNIT_KM
Definition: util_draw_dtk.hpp:88
@ TypeSymmetry
Definition: util_draw_dtk.hpp:6222
@ WeldTextSize
Definition: util_draw_dtk.hpp:3208
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Symbol.
static Dtk_SymbolPtr Create(const Dtk_WeldingPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip)
Constructor from Dtk_WeldingPtr.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:5714
double GetStubDelta() const
Retrieves the value of the leader stub.
void SetOuterYLength(const Dtk_Double64 &inYLength)
Sets the outer bounding box Y length.
Dtk_FCFFeatureIndicatorType(const Dtk_FCFFeatureIndicatorType &inToBeCopied)
\CopyConstructor
Definition: util_draw_dtk.hpp:5940
@ SymbolPermanentBackingStripUsed
Definition: util_draw_dtk.hpp:3107
static Dtk_DimensionPtr Create()
Base constructor.
const Dtk_pnt & GetArrowLocation() const
Definition: util_draw_dtk.hpp:2164
void SetOptionnalTopTextLeader(const Dtk_LeaderPtr &inLeader)
Sets the optionnal Leader of the Top Text.
void GetGeometries(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
Process Related geometries.
Definition: util_draw_dtk.hpp:1944
const Dtk_Double64 & Offset() const
Retrieves the position start offset along the hatch line. Applies for hatching and dotting.
Dtk_bool IsTolUpperTol() const
Tell if the associated Dtk_text is part of Tolerance Upper Value group - into Dtk_Dimension -.
DimensionTypeEnum
Definition: util_draw_dtk.hpp:4855
Dtk_GeometricalTolerance & operator=(Dtk_GeometricalTolerance &&inToBeMoved) DTK_NOEXCEPT
\MoveOp{inToBeMoved}
static Dtk_SymbolPtr Create(const Dtk_CompositeEntityPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip)
Constructor from Dtk_CompositeEntityPtr.
void GetWidthHeight(Dtk_Double64 &outWidth, Dtk_Double64 &outHeight) const
Definition: util_draw_dtk.hpp:2173
void setHeight(const double &inHeight)
Sets the Dtk_OneCell height.
void SetBorderTopColor(const Dtk_Int32 &inBorderTopColor)
Sets BorderTopColor of Top border.
Dtk_bool IsLeftText() const
Tell if the associated Dtk_text is part of left group - into Dtk_Dimension -.
@ TerminatorTypeXCircle
Definition: util_draw_dtk.hpp:2023
Dtk_CompositeText & operator=(Dtk_CompositeText &&inToBeAssigned) DTK_NOEXCEPT
\MoveOp{inToBeAssigned}
void Translate(const Dtk_dir &inTranslationDir)
char Dtk_Char8
Definition: define.h:697
static Dtk_WeldingPtr Create(const Dtk_Welding &inToBeCopied)
Copy constructor.
Dtk_ToleranceSpecification(Dtk_ToleranceSpecification &&s) DTK_NOEXCEPT
Move Constructor.
Dtk_pnt GetMiddleCenterPoint() const
Retrieves the middle center point - Read Only -.
Definition: util_draw_dtk.hpp:588
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:5289
Dtk_CurvePtr GetExtensionLineAsCurve(const Dtk_Size_t &inPos) const
Retrieves the ith extension line - read only -.
Dtk_InfoPtr & GetInfo()
Definition: util_draw_dtk.hpp:2163
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the ApplicationZone giving a translation vector.
Definition: util_draw_dtk.hpp:1955
@ SymbolVFlareWeld
Definition: util_draw_dtk.hpp:3119
void SetHiddenEdgesLineStyle(Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor)
Set Line style for Hidden Edges.
Dtk_ErrorStatus AddLeaderWithExtensionLine(const Dtk_LeaderPtr &inLeader, Polyline_detk *const &inExtensionLine)
Adds a leader with an extension line to the Dtk_Dimension.
@ TypeTotalRunout
Definition: util_draw_dtk.hpp:6226
const Dtk_RGB & GetFrameColor() const
Gets the frame color .
Dtk_Oriented2dBBox()
Base constructor.
Dtk_CompositeEntity(Dtk_CompositeEntity &&s) DTK_NOEXCEPT
Dtk_ErrorStatus GetAnnularOuterDiameter(Dtk_Double64 &outDiameter)
Gets the outer diameter of the annular Dtk_Region.
Dtk_ErrorStatus GetTangentEdgesLineStyle(Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const
Retrieves Line style for Tangent Edges.
DTK_Leader_terminator_type
Definition: str_def.h:41
static Dtk_SmartPtr< T > DtkDynamicCast(const Dtk_SmartPtr< T2 > &p)
Definition: util_ptr_dtk.hpp:101
void _Reset()
Definition: util_draw_dtk.hpp:1904
~ArrowHead()
Definition: util_draw_dtk.hpp:2145
~Dtk_FCFFeatureIndicatorType()
Destructor.
Definition: util_draw_dtk.hpp:5949
Dtk_ErrorStatus Add2dEntities(const Dtk_tab< Dtk_2dEntityPtr > &in2DEntitiesArray)
Adds an array of 2D entities to the view.
Dtk_Double64 _Height
The real height (before and after mergers).
Definition: util_draw_dtk.hpp:4173
@ TypeCell
Definition: util_draw_dtk.hpp:6518
Dtk_dir YLocalVector() const
Retrieves the Y local vector - Read Only -.
Definition: util_draw_dtk.hpp:647
static Dtk_TablePtr Create(const Dtk_Table &tab)
CopyConstructor{inTobCopied}.
Dtk_Oriented2dBBox GetOuterBoundingBox() const
Retrieves the Dtk_FCFFeatureIndicator Outer Bounding Box.
@ DTK_FRAME_TYPE_OCTANGLE
Definition: util_draw_dtk.hpp:176
Dtk_pnt GetBottomRightPoint() const
Retrieves the bottom right point - Read Only -.
Definition: util_draw_dtk.hpp:604
@ TypeCircularRunout
Definition: util_draw_dtk.hpp:6224
@ SymbolSolderedJointWeld
Definition: util_draw_dtk.hpp:3137
Dtk_ErrorStatus Add2dGeometricalEntity(const Dtk_EntityPtr &inGeomElt) const
Adds a drawing geometrical entity to the view.
void SetBorderLeftBlanked(const Dtk_Int32 &inBorderLeftBlanked)
Sets BorderLeftBlanked of Left border.
Dtk_ReferenceBlockPtr & Reference(const Dtk_Size_t &inReferencePos)
Retrieves the ith reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame ob...
const Dtk_Double64 & LineSpacing() const
Retrieves the line spacing - read only -.
void SetBottomRightPoint(const Dtk_pnt &inNewPoint)
Sets the bottom right point.
void SetArrowSideClearanceText(Dtk_CompositeText inArrowSideClearanceText)
Sets the ArrowSideClearanceText Dtk_CompositeText.
static Dtk_SymbolPtr Create(const Dtk_GeometricalTolerancePtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Constructor from Dtk_GeometricalTolerancePtr.
static Dtk_ReferenceBlockPtr Create(const Dtk_ReferenceBlock &s)
Copy Constructor.
Dtk_Int32 GetUMinorPerMajor() const
Gets U minor lines per major.
Dtk_ErrorStatus _GetExtensionLineIdx(const Dtk_Size_t &pos, Dtk_Size_t &outIdx) const
const Dtk_2dEntityPtr & Get2dEntity(const Dtk_Size_t &inPos) const
Retrieves the ith 2D entity - read only -.
void Delete_Text()
Affects _text to null in order not to read the text which is inside.
@ AttributeSubscript
Definition: util_draw_dtk.hpp:295
Dtk_Size_t GetNumViews() const
Retrieves the views number - read only -.
@ TerminatorTypeSquare
Definition: util_draw_dtk.hpp:2015
const Dtk_ToleranceSpecificationContainerPtr & operator[](const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_ToleranceSpecificationContainer - read only -.
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
@ ObtentionTypeMachiningMandatory
Definition: util_draw_dtk.hpp:2703
void SetToleranceTypeInnerBoundingBox(const Dtk_Oriented2dBBox &inInnerBBox) const
Set the Tolerance Specification Container Type inner Bounding Box.
SetAsDeprecated("2020.4", "Please use Dtk_PolylinePtr GetExtensionLine() const method instead.") void GetExtensionLine(Dtk_tab< Dtk_pnt > &outExtLine) const
Get the leader Extendion Line.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5140
Dtk_Size_t GetNumOLEObjects() const
Retrieves the number of OLE Objects in the Dtk_View.
@ TypeFlagNote
Definition: util_draw_dtk.hpp:6515
static Dtk_FdtPtr Create(const Dtk_transfo &inTransformationMatrix, const Dtk_2dEntityPtr &inSub2DEntity)
Full featured constructor.
static Dtk_FdtPtr Create()
Base constructor.
Dtk_CompositeText GetOtherSideUndefinedText() const
Retrieves the OtherSideUndefinedText Dtk_CompositeText.
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:958
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_FCFFeatureIndicator anchor points.
Allows the representation of cell.
Definition: util_draw_dtk.hpp:4170
Dtk_dir & YLocalVector()
Retrieves the Y local vector.
Definition: util_draw_dtk.hpp:750
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_DatumTarget.
@ ShowDualValueBelow
Definition: util_draw_dtk.hpp:4889
Dtk_bool IsUpText() const
Tell if the associated Dtk_text is part of Up group - into Dtk_Dimension -.
Dtk_Double64 ProcessYSemiAngle() const
Processes the Y - along height - Semi Angle - read only -.
Definition: util_draw_dtk.hpp:8013
Dtk_Text GetTopRightText() const
Gets the top-right text - read only -.
@ ProjectionTypeParallel
Definition: util_draw_dtk.hpp:7868
Dtk_ErrorStatus SetTopText(Dtk_CompositeText inText)
Sets the Dtk_ToleranceSpecificationContainer top-text.
Dtk_ErrorStatus AddLeader(const Dtk_LeaderPtr &leader)
Adds a leader to the Dtk_Annotation.
Dtk_CompositeText GetOtherSideOpeningText() const
Retrieves the OtherSideOpeningText Dtk_CompositeText.
bool Merged_Cell_Vertically()
tests if the cell is composed of cells merged vertically.
Dtk_CompositeText(Dtk_tab< Dtk_Text > inTexts)
Constructor from several Dtk_Text.
static Dtk_ToleranceSpecificationPtr Create(Dtk_ToleranceSpecification &&inToBeMoved)
\MoveConstructor{inToBeMoved}
@ TypeTable
Definition: util_draw_dtk.hpp:6519
Dtk_Region & operator=(const Dtk_Region &inToBeAssigned)
Assignment Operator.
Dtk_2dEntity(const Dtk_2dEntity &s)
Copy constructor.
const Dtk_ReferenceBlockPtr & FirstReference() const
Retrieves the first reference block - read only -.
@ DTK_TYPE_FDT
Definition: define.h:433
Dtk_ErrorStatus AddPicture(const Dtk_picturePtr &inPicture)
Adds a picture to the view.
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
static Dtk_ToleranceSpecificationPtr Create(const Dtk_ToleranceSpecification &inToBeCopied)
Copy constructor.
@ SymbolMeltThroughWeld
Definition: util_draw_dtk.hpp:3135
Dtk_OneCell()
Base constructor.
Dtk_Int32 nbCells_Top_Bottom
Number of adjacent cells at the top or bottom.
Definition: util_draw_dtk.hpp:4187
const Dtk_Text & operator[](Dtk_Size_t inPos) const
Access operator - read only -.
Dtk_ViewDisplayPtr GetViewDisplay()
GetDisplayMode for 3D entity.
const Dtk_FCFFeatureIndicatorType & GetFeatureIndicatorType() const
Retrieves the Full Type of the Dtk_FCFFeatureIndicator - Read Only -.
Dtk_ToleranceSpecification(const Dtk_ToleranceSpecification &s)
Copy Constructor.
Dtk_Double64 _char_spacing
Spacing between two chars.
Definition: util_draw_dtk.hpp:330
@ DTK_FRAME_TYPE_NONE
Definition: util_draw_dtk.hpp:134
Dtk_Int32 GetBorderBottomBlanked()
Gets BorderBottomBlanked of Bottom border.
@ AngularDimension
Definition: util_draw_dtk.hpp:4859
static Dtk_ViewDisplayPtr Create(DisplayMode3DEnum inDisplayMode)
Base constructor.
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the text giving a translation vector.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4915
@ TypeParallelism
Definition: util_draw_dtk.hpp:6216
Dtk_Size_t GetNumRows() const
Gets the Dtk_Table rows number.
Dtk_ErrorStatus GetOuterBoundingBox(Dtk_Oriented2dBBox &outOuterBBox) const
Dtk_Double64 _slant
Char Slant (PI/2 by default)
Definition: util_draw_dtk.hpp:336
Dtk_Double64 _YLength
Definition: util_draw_dtk.hpp:485
const Dtk_Size_t & Cell_Line(const Dtk_Size_t inPos) const
Gets the number of cells in each line.
const Dtk_Double64 & CharWidth() const
Retrieves the char width - read only -.
const Dtk_pnt & OriginPoint() const
Retrieves the origin point - read only -.
Dtk_Size_t & Cell_Col(const Dtk_Size_t inPos)
Sets the number of cells of the ith columns.
Definition: util_ptr_dtk.hpp:37
@ SymbolKGrooveWeld
Definition: util_draw_dtk.hpp:3141
Dtk_ErrorStatus SetTopLeftText(Dtk_Text inText)
Sets the top-left text.
@ None
Definition: util_draw_dtk.hpp:4630
static Dtk_TablePtr Create(const Dtk_Int32 &inNumRows, const Dtk_Int32 &inNumCols, const Dtk_pnt &inLocationPnt=Dtk_pnt(0, 0, 0), const Dtk_Double64 &inAngle=0.0, const Dtk_InfoPtr &infos=NULL, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 &inOffSet=0.0, const Dtk_anchor_type &inAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type &inJustificationType=DTK_JUSTIFY_LEFT)
Full featured constructor.
const Dtk_InfoPtr & GetInfo() const
Definition: util_draw_dtk.hpp:2162
@ DTK_FRAME_TYPE_ELLIPSE
Definition: util_draw_dtk.hpp:160
@ DTK_UNKNOWN
Definition: util_draw_dtk.hpp:73
@ DTK_FRAME_TYPE_PARALLELOGRAM
Definition: util_draw_dtk.hpp:175
This is the tolerance specification container. It is part of the Dtk_GeometricalTolerance....
Definition: util_draw_dtk.hpp:6195
static Dtk_WeldingPtr Create(Dtk_Welding &&inToBeMoved)
\MoveConstructor{inToBeMoved}
@ JustificationNone
Definition: util_draw_dtk.hpp:304
void Append(int in)
Appends a new subtype.
static Dtk_SymbolPtr Create(Dtk_Symbol &&inToBeMoved)
\MoveConstructor{inToBeMoved}
void AddAdditionnalGeometries(Dtk_tab< Dtk_EntityPtr > inAdditionnalGeometries)
Adds some additionnal geometries to the Dtk_OneCell.
ObtentionTypeEnum
Definition: util_draw_dtk.hpp:2699
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.
Dtk_ErrorStatus SetTopRightText(Dtk_Text inText)
Sets the top-right text.
Dtk_ErrorStatus AddEntity(const Dtk_EntityPtr &inElt)
Adds a Dtk_EntityPtr to the Dtk_CompositeEntity.
@ DTK_ANCHOR_MIDDLE_LEFT
Definition: util_draw_dtk.hpp:103
Dtk_Size_t GetNumToleranceSpecifications() const
Retrieves the tolerance specification number - read only -.
void _CheckRowCol(const Dtk_Size_t inRow, const Dtk_Size_t inCol) const
void SetOtherSideDepthText(Dtk_CompositeText inOtherSideDepthText)
Sets the OtherSideDepthText Dtk_CompositeText.
@ Dtk_HatchingStyle_Dotting
Definition: util_draw_dtk.hpp:8070
Dtk_Frame(const Dtk_Frame &s)
Copy constructor.
Definition: util_draw_dtk.hpp:944
~Dtk_Roughness()
Destructor.
Dtk_frame_type FrameType() const
Retrieves the text frame type - read only -.
Dtk_Roughness(const Dtk_Roughness &s)
Copy Constructor.
const Dtk_HatchingStyle & HatchingStyle() const
Retrieves the hatching style, one of the following : hatching, coloring or dotting.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPoints)[DTK_NB_ANCHOR_TYPES], const Dtk_Double64 &inOffSet=0.0) const
Processes all the Dtk_ReferenceBlock anchor points.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the IndicatorType.
const Dtk_Size_t & Cell_Col(const Dtk_Size_t inPos) const
Gets the number of cells in each column.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
void Rotate(const Dtk_Double64 &inAngleInRadian)
Rotates the bounding box.
Dtk_ErrorStatus ProcessTextsPlacement()
Processes internal annotation placement - internal use only -.
Dtk_Int32 GetBorderTopBlanked()
Gets BorderTopBlanked of Top border.
FontTypeEnum & FontType()
Retrieves the font type - get/set -.
Dtk_bool GetFieldWeldActivated() const
Tells if the Field Weld Symbol is activated.
@ DTK_UNIT_DEGREE
Definition: util_draw_dtk.hpp:92
Dtk_ErrorStatus SetXAxis(const Dtk_dir &ref_dir)
Sets the X Axis for the Dtk_CompositeText and included Dtk_Texts.
Dtk_Double64 & CharSpacing()
Retrieves the char spacing - get/set -.
Dtk_Symbol(const Dtk_Region &inRegion, const Dtk_bool &text_auto_flip)
Dtk_HatchingPattern GetHatchingPattern()
Gets Hatching Pattern of the region Dtk_Region.
Dtk_string GetLeftTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer left-text - read only -.
Dtk_Symbol(const Dtk_Dimension &inToBeConverted, const Dtk_bool &inKeepLeaderAsLeader)
@ SymbolStickWeld
Definition: util_draw_dtk.hpp:3115
Dtk_dir & InnerYAxis()
Retrieves the inner bounding box YAxis - get/set -.
Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) const
Gets the i'th leader.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
RegionType
Definition: util_draw_dtk.hpp:8365
void GetToleranceTypeInnerBoundingBox(Dtk_Oriented2dBBox &outInnerBBox) const
Retrieves the Tolerance Specification Container Type inner Bounding Box.
static Dtk_DimensionPtr Create(const Dtk_Dimension &inToBeCopied)
Copy constructor.
void _Reset()
Definition: util_draw_dtk.hpp:2124
Dtk_dir TargetVector() const
Retrieves the target vector - read only -.
const Dtk_CompositeText & GetAdditionnalTexts() const
Retrieves the additionnal texts of the Dtk_2dEntity.
@ TypeBalloon
Definition: util_draw_dtk.hpp:6511
Dtk_bool IsLowerFrac() const
Tell if the associated Dtk_text is part of Lower Fraction group - into Dtk_Dimension -.
@ StyleBoldItalic
Definition: util_draw_dtk.hpp:270
Dtk_Fdt(Dtk_Fdt &&inToBeMoved) DTK_NOEXCEPT
Dtk_Frame & operator=(const Dtk_Frame &inToBeAssigned)
Assignment Operator.
void Reverse()
Reverses the bounding box X local vector and Y local vector orientation are reversed.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_DatumTarget anchor point.
Dtk_Text GetFinishSymbolOtherSideAsText() const
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
WeldTextType
Definition: util_draw_dtk.hpp:3202
Dtk_ToleranceSpecificationPtr GetToleranceSpecification(const Dtk_Size_t &inPos) const
Retrieves the ith tolerance specification - read only -.
Dtk_bool IsFractionBar() const
Tell if the associated Dtk_text is a fraction bar group - into Dtk_Dimension -.
@ TypeGrid
Definition: util_draw_dtk.hpp:6528
Dtk_Table()
Base constructor.
@ DTK_TYPE_FDT_CAPTURE
Definition: define.h:449
@ TypeSurfaceProfile
Definition: util_draw_dtk.hpp:6210
const Dtk_Double64 & Width() const
Retrieves the drawing width - read only -.
Dtk_Double64 Angle() const
Definition: util_draw_dtk.hpp:8024
Dtk_bool IsTolRightParenthesis() const
Tell if the associated Dtk_text is part of Tolerance Right Parenthesis group - into Dtk_Dimension -.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7416
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:8391
static Dtk_DimensionPtr Create(const DimensionTypeEnum &inDimensionType, Dtk_CompositeText inTexts)
Full featured constructor.
Dtk_ErrorStatus GetCircularDiameter(Dtk_Double64 &outDiameter)
Gets the diameter of the circular Dtk_Region.
@ TerminatorTypeDoubleFillArrow
Definition: util_draw_dtk.hpp:2041
void AddOtherSideUndefinedText(Dtk_CompositeText inText)
Add an undefined Text to the OtherSide.
@ FinishSymbolPeening
Definition: util_draw_dtk.hpp:3246
@ DTK_FRAME_TYPE_NOTA
Definition: util_draw_dtk.hpp:167
This is the Hatching Pattern class. This describes a repetition of lines/dots or coloring....
Definition: util_draw_dtk.hpp:8077
Dtk_FCFFeatureIndicatorTypeEnum
Definition: util_draw_dtk.hpp:5901
Dtk_Grid(const Dtk_Oriented2dBBox &inUVBBox, const Dtk_Double64 &inUSpacing, const Dtk_Double64 &inVSpacing, const Dtk_Int32 &inUMinorPerMajor, const Dtk_Int32 &inVMinorPerMajor, const Dtk_RGB &inLineColor, const Dtk_FontLineType &inMajorLineStyle, const Dtk_FontLineType &inMinorLineStyle, const Dtk_Double64 &inMajorLineWidth, const Dtk_Double64 &inMinorLineWidth, const Dtk_bool &inDisplayGridOpt, const Dtk_bool &inDisplayOnTopOpt, const Dtk_bool &inDisplayMajorLinesOpt, const ShowLabelOption &inShowLabelOpt, const OriginReferenceOption &inOriginReferenceOpt, const Dtk_Double64 &inConceptionUnit)
Dtk_Text GetCutOff() const
Gets the CutOff text - read only -.
@ WeldTextOpening
Definition: util_draw_dtk.hpp:3213
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7022
This is a mathematical point class.
Definition: dtk_pnt.hpp:22
Dtk_Fdt(const Dtk_transfo &inTransforansform, const Dtk_2dEntityPtr &entity2D)
type_detk
Definition: define.h:32
void GetToleranceTypeOuterBoundingBox(Dtk_Oriented2dBBox &outOuterBBox) const
Retrieves the Tolerance Specification Container Type outer Bounding Box.
Dtk_ErrorStatus _ResizeGeom(const Dtk_Size_t &new_size)
Internal use only.
DTK_DATUM_COMPOSING_RULE
This is the several references composing rules.
Definition: util_draw_dtk.hpp:72
static Dtk_GridPtr Create(const Dtk_Oriented2dBBox &inUVBBox, const Dtk_Double64 &inUSpacing, const Dtk_Double64 &inVSpacing, const Dtk_Int32 &inUMinorPerMajor=1, const Dtk_Int32 &inVMinorPerMajor=1, const Dtk_RGB &inLineColor=Dtk_RGB(), const Dtk_FontLineType &inMajorLineStyle=DTK_NO_PATTERN, const Dtk_FontLineType &inMinorLineStyle=DTK_NO_PATTERN, const Dtk_Double64 &inMajorLineWidth=1.0, const Dtk_Double64 &inMinorLineWidth=1.0, const Dtk_bool &inDisplayGridOpt=DTK_TRUE, const Dtk_bool &inDisplayOnTopOpt=DTK_TRUE, const Dtk_bool &inDisplayMajorLinesOpt=DTK_FALSE, const ShowLabelOption &inShowLabelOpt=Dtk_Grid::Always, const OriginReferenceOption &inOriginReferenceOpt=Dtk_Grid::Local, const Dtk_Double64 &inConceptionUnit=1.0)
Full featured constructor.
void SetInnerYLength(const Dtk_Double64 &inYLength)
Sets the inner bounding box Y length.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Int32 _line_style
Definition: util_draw_dtk.hpp:8085
const DTK_Text_type & TextType() const
Retrieves the text type - read only -.
This is the DTK_Text_subtype class. It's used to provide semantic data about Dtk_Text type....
Definition: util_draw_dtk.hpp:1012
Dtk_Double64 & Angle()
Retrieves the Dtk_View angle - get/set-.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Welding anchor point.
@ SymbolFlareVButtWeld
Definition: util_draw_dtk.hpp:3085
Dtk_pnt ProcessCenterPoint() const
Retrieves the center point - read only -.
void setJustification(const Dtk_justication_type &inNewJustification)
Sets justification.
static Dtk_Leader * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_bool IsTolValPart() const
Tell if the associated Dtk_text is part of Tolerance Value group - into Dtk_Dimension -.
Dtk_ErrorStatus SetClippingPlane(const Dtk_Size_t &inPos, const Dtk_pnt &inLocation, const Dtk_dir &inRefAxis, const Dtk_dir &inNormalAxis)
Sets the ith clipping plane informations.
Dtk_string _name
Font name.
Definition: util_draw_dtk.hpp:200
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.
Dtk_FdtPtr GetLinkedtFdt(const Dtk_Size_t &inReferencePos) const
Retrieves the Linked Fdt.
Dtk_Double64 ProcessWidth() const
Internal use only.
This is the composite text class. It's basically a Dtk_Text Container. This class represents a group ...
Definition: util_draw_dtk.hpp:1557
Dtk_TextStyle(const Dtk_TextStyle &s)
Copy constructor.
void SetClippingBoundary(const Dtk_CompositeEntityPtr &inBoundary) const
Sets the clipping boundary informations.
Dtk_Oriented2dBBox GetInnerBoundingBox() const
Dtk_Text GetLengthTextOtherSide() const
Retrieves the OtherSide Length Dtk_Text.
@ OrientationPlane
Definition: util_draw_dtk.hpp:5910
static Dtk_LeaderPtr Create(Dtk_Leader &&s)
\MoveConstructor{s}
Dtk_Size_t & getAnchor()
Gets the Dtk_OneCell anchor.
Dtk_ErrorStatus AddOLEObjects(const Dtk_tab< Dtk_OLEObjectPtr > &inOleObjects)
Adds an array of Dtk_OLEObjectPtr to the view.
Dtk_Text rough_mode_to_Dtk_Text() const
Converts the rough mode into a Dtk_Text - used to Dtk_Symbol conversion -.
bool Merged_Cell_Horizontally()
Tests if the cell is composed of cells merged horizontally.
Dtk_Size_t GetNumLeaders() const
Retrieves the number of leaders.
void SetOptionnalBottomTextLeader(const Dtk_LeaderPtr &inLeader)
Sets the optionnal Leader of the Bottom Text.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the anchor points.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
RoughModeEnum GetRoughMode() const
Gets the rough mode - read only -.
Dtk_FontLineType
This is a set of line styles.
Definition: util_ent_dtk.hpp:43
@ SymbolSingleBevelButtWeld
Definition: util_draw_dtk.hpp:3083
const Dtk_tab< Dtk_EntityPtr > & GetAdditionnalGeometries() const
Retrieves the additionnal geometries of the Dtk_2dEntity.
static Dtk_ToleranceSpecificationContainerPtr Create(const TypeEnum &inTolSpecContType, const Dtk_Oriented2dBBox &inInnerTolTypeBBox, const Dtk_Oriented2dBBox &inOuterTolTypeBBox)
Full featured constructor.
Dtk_Int32 ProcessIntersectionWithCircle(const Dtk_pnt &inCenter, const Dtk_Double64 &inRadius, Dtk_tab< Dtk_pnt > &outIntersectionPnts) const
Processes intersection points with a circle on the same plane as the boundingbox, giving its center a...
@ TypeCircularity
Definition: util_draw_dtk.hpp:6204
@ AttributeOverline
Definition: util_draw_dtk.hpp:291
@ JustificationRight
Definition: util_draw_dtk.hpp:303
Dtk_CompositeText GetArrowSideSizeText() const
Retrieves the ArrowSideSizeText Dtk_CompositeText.
@ TypeConcentricity
Definition: util_draw_dtk.hpp:6220
Dtk_pnt GetTopCenterPoint() const
Retrieves the top center point - Read Only -.
Definition: util_draw_dtk.hpp:596
void SetOtherSideWeldSymbolText(Dtk_CompositeText inOtherSideWeldSymbolText)
Sets the OtherSideWeldSymbolText Dtk_CompositeText.
This is the frame class. It's used to gather all frame informations.
Definition: util_draw_dtk.hpp:916
@ DiameterDimension
Definition: util_draw_dtk.hpp:4863
void GetFrame(Dtk_Frame &outFrame) const
Retrieves the Frame - read only -.
static Dtk_LeaderPtr Create()
Base constructor.
Definition: util_draw_dtk.hpp:2101
void _Copy(const ArrowHead &s)
Definition: util_draw_dtk.hpp:2116
@ TerminatorTypeTopOpenArrow
Definition: util_draw_dtk.hpp:2045
void Translate(const Dtk_dir &inTranslation)
Translates the text giving a translation vector.
const Dtk_ReferenceBlockPtr & Reference(const Dtk_Size_t &inReferencePos) const
Retrieves the ith reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame ob...
Dtk_Region(RegionType inType, Dtk_HatchingPattern &inHatchingPattern, Dtk_tab< Dtk_EntityPtr > inGeometries)
Base Constructor.
void SetInnerXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis)
Sets the inner bounding box orientation.
Dtk_bool IsTolPrefix() const
Tell if the associated Dtk_text is part of Tolerance Prefix group - into Dtk_Dimension -.
Dtk_Int32 GetBorderRightBlanked()
Gets BorderRightBlanked of Right border.
Dtk_ReferenceBlock(const Dtk_Oriented2dBBox &inInnerBBox, const Dtk_Oriented2dBBox &inOuterBBox)
Base Constructor.
Dtk_Size_t GetNumReferences() const
Retrieves the references number.
@ TerminatorTypeTopFillArrow
Definition: util_draw_dtk.hpp:2049
Dtk_tab< Dtk_EntityPtr > GeneratePatternGeometries(const Dtk_dir &inXRefDir=Dtk_dir(1., 0., 0.), const Dtk_dir &inNormalDir=Dtk_dir(0., 0., 1.))
Generate Pattern geometries from Dtk_Hatching.
const Dtk_2dEntityPtr & Sub2DEntity() const
Retrieves the sub 2D entity - read only -.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7903
const Dtk_RGB & Color() const
Retrieves the color of the pattern element.
Dtk_bool IsValSplitPart3() const
Tell if the associated Dtk_text is part of Value Split Part 3 - for Degrees/Minutes/Seconds form - gr...
@ TypeCallout
Definition: util_draw_dtk.hpp:6520
void SetBorderLeftColor(const Dtk_Int32 &inBorderLeftColor)
Sets BorderLeftColor of Left border.
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &angle)
Sets the annotation angle using the annotation base.
Dtk_Text(Dtk_string inTextString, const Dtk_Oriented2dBBox &inInnerBox, const Dtk_Oriented2dBBox &inOuterBox, const Dtk_anchor_type &inAnchorType, const DTK_Text_type &inTextType, const Dtk_Int32 &inHorizontalVerticalType, const Dtk_InfoPtr &inInfos, const Dtk_TextStyle &inTextStyle, const Dtk_Double64 &inSlant, const Dtk_Int32 &inFontIndex, const Dtk_Int32 &inMirroringType)
Constructor from struct text_or_character_def - for backward compatibility only -.
@ ModeWithAngles
Definition: util_draw_dtk.hpp:2730
Dtk_ErrorStatus SwapTexts()
Swaps the Dtk_DatumTarget texts.
Dtk_ErrorStatus GetToleranceSpecificationsBoundingBox(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_ToleranceSpecificationContainer anchor points.
static Dtk_CameraPtr Create()
Base constructor.
Dtk_ErrorStatus SetInnerRotationAngle(const Dtk_Double64 &inRotationAngle, const Dtk_dir &inXAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inYAxis=Dtk_dir(0, 1, 0))
Sets the inner bounding box rotation angle giving a reference base.
@ DTK_NB_ANCHOR_TYPES
Definition: util_draw_dtk.hpp:109
friend std::ostream & operator<<(std::ostream &o, const Dtk_TextStyle &d)
void set_min_Width(const double &min_Width)
Sets the Dtk_OneCell min_Width.
MirroringTypeEnum ProcessMirroringType(const Dtk_dir &inZAxis=Dtk_dir(0, 0, 1)) const
Processes the mirroring type giving the reference Z Axis.
@ FontUnknown
Definition: util_draw_dtk.hpp:193
@ SymbolSingleUButtWeld
Definition: util_draw_dtk.hpp:3089
const Dtk_Oriented2dBBox & GetOuterBoundingBox() const
Processes the outer bounding box.
Dtk_Annotation()
Base constructor.
Dtk_FCFFeatureIndicatorType & operator=(Dtk_FCFFeatureIndicatorType &&inTobeMoved) DTK_NOEXCEPT
\MoveOp{inTobeMoved}
Definition: util_draw_dtk.hpp:6013
@ DTK_UNIT_RADIAN
Definition: util_draw_dtk.hpp:93
const Dtk_string & GetReferenceLabel(const Dtk_Size_t &inReferencePos) const
Retrieves the ith reference label - read only -.
SetAsDeprecated("2020.2", "Use Explode(Dtk_CompositeText &outCompositeText,Dtk_tab<Dtk_CurvePtr> &outGeoms) instead") Dtk_ErrorStatus Explode(Dtk_CompositeText &outCompositeText
OBSOLETE.
@ TerminatorTypeClosedArrow
Definition: util_draw_dtk.hpp:2005
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Transforms the Dtk_FCFFeatureIndicator giving a transformation matrix.
@ DTK_TYPE_TABLE
Definition: define.h:489
const Dtk_pnt & TargetPoint() const
Retrieves the target point - read only -.
void GetDirections(Dtk_dir &outRefDir, Dtk_dir &outAxisDir) const
Definition: util_draw_dtk.hpp:2168
Dtk_ErrorStatus GetToleranceSpecificationOuterBoundingBox(const Dtk_Size_t &inTolSpecPos, Dtk_Oriented2dBBox &outOuterBBox) const
@ SymbolSpotWeld
Definition: util_draw_dtk.hpp:3095
const Dtk_Camera::ZoomFitModeEnum & GetZoomFitMode() const
Retrieves the zoom fit mode - read only -.
Dtk_ErrorStatus AddEntities(const Dtk_tab< Dtk_EntityPtr > &inEntitiesArray)
Adds an array of 2D entities, Dtk_Hatching, curve and point to the view ( other type are not supporte...
DTK_Text_subtype(int in=0)
Dtk_PlaneSurfacePtr GetClipping(const Dtk_Size_t &inPos) const
Dtk_bool IsTolLowerTol() const
Tell if the associated Dtk_text is part of Tolerance Lower Value group - into Dtk_Dimension -.
Dtk_Text GetFinishSymbolTextArrowSide() const
Retrieves the ArrowSide Finish Symbol Dtk_Text.
Dtk_Size_t GetNumEntities() const
Retrieves the number of Dtk_EntityPtr in Dtk_CompositeEntity.
@ ModeCircular
Definition: util_draw_dtk.hpp:2724
@ DTK_NO_PATTERN
Definition: util_ent_dtk.hpp:44
void AddAdditionnalGeometries(const Dtk_tab< Dtk_EntityPtr > &inAdditionnalGeometries)
Adds some additionnal geometries to the Dtk_2dEntity.
Dtk_Annotation(const Dtk_Annotation &s)
Copy constructor.
const Dtk_Double64 & Slant() const
Retrieves the text slant - read only -.
@ DTK_UNIT_UNKNOWN
Definition: util_draw_dtk.hpp:83
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:1135
@ DTK_TYPE_2D_ENTITY
Definition: define.h:471
@ DTK_TYPE_HATCHING
Definition: define.h:558
@ SymbolSingleJButtWeld
Definition: util_draw_dtk.hpp:3091
Dtk_tab< Dtk_CurvePtr > _RelatedGeomElements
Definition: util_draw_dtk.hpp:1888
const Dtk_string & Name() const
Retrieves the font name - read only -.
Dtk_Double64 & CharHeight()
Retrieves the char height - get/set -.
Dtk_ErrorStatus CreateGeometries(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
Process Related geometries.
Dtk_ReferenceFrame & operator=(const Dtk_ReferenceFrame &inToBeAssigned)
Assignment Operator.
Dtk_Oriented2dBBox GetOuterBoundingBox(const Dtk_bool inIncludeSymbolGeometry) const
This is a high level array class.
Definition: util_stl_dtk.hpp:85
const Dtk_dir & InnerXAxis() const
Retrieves the inner bounding box XAxis - read only -.
Dtk_Text GetSizeTextOtherSide() const
Retrieves the OtherSide Size Dtk_Text.
std::unordered_map< Dtk_UInt8, Dtk_CompositeText > GetArrowSideAllTexts() const
Return all the texts of the ArrowSide.
DisplayMode3DEnum GetDisplayMode()
Return the Display Mode.
Dtk_Double64 GetVSpacing() const
Gets V spacing between lines.
const Dtk_Text & TopText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer top-text as Dtk_Text - read only -.
Dtk_ErrorStatus SetInnerAnchorPointWithTranslation(const Dtk_pnt &new_origin, const Dtk_anchor_type location_anchor_type)
Dtk_Leader(const Dtk_Leader &s)
Dtk_Text GetAngleTextArrowSide() const
Retrieves the ArrowSide Angle Dtk_Text.
Dtk_GeometricalTolerance()
ApplyToEnum
Definition: util_draw_dtk.hpp:2708
~Dtk_TextStyle()
Destructor.
@ TerminatorTypeCircleCenter
Definition: util_draw_dtk.hpp:2035
This is the geometrical tolerance. It's basically composed by one - or more - Dtk_ToleranceSpecifica...
Definition: util_draw_dtk.hpp:5712
const Dtk_ReferenceBlockPtr & ThirdReference() const
Retrieves the third reference block - read only -.
Dtk_CompositeText GetOtherSideSizeText() const
Retrieves the OtherSideSizeText Dtk_CompositeText.
void addTranslate(const Dtk_dir &V)
Translate the Dtk_transfo.
static Dtk_ViewDisplayPtr Create(Dtk_ViewDisplay &&inToBeMoved)
\MoveConstructor{inToBeMoved}
Dtk_Oriented2dBBox & operator=(const Dtk_Oriented2dBBox &inToBeAssigned)
Assignment Operator.
Dtk_Size_t size() const
Returns the size of the array.
Definition: util_stl_dtk.hpp:502
@ TypePerpendicularity
Definition: util_draw_dtk.hpp:6214
ApplicationZone()
Base constructor.
Definition: util_draw_dtk.hpp:1914
static Dtk_RoughnessPtr Create()
Base constructor.
Dtk_Size_t GetNumReferences() const
Retrieves the reference blocks number - read only -. This is a shortcut without using Dtk_ReferenceFr...
@ DTK_TYPE_VIEW_DISPLAY
Definition: define.h:453
Dtk_GeometricalTolerance(const Dtk_GeometricalTolerance &s)
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
@ BasicTypeRectangle
Definition: util_draw_dtk.hpp:4881
void SetInnerXLength(const Dtk_Double64 &inXLength)
Sets the inner bounding box X length.
Dtk_bool IsTolSymetricalTol() const
Tell if the associated Dtk_text is part of Tolerance Symetrical Value group - into Dtk_Dimension -.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the frame.
@ AttributeNone
Definition: util_draw_dtk.hpp:285
@ Dtk_HatchingStyle_Unknown
Definition: util_draw_dtk.hpp:8067
void Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the bounding box.
Dtk_ErrorStatus AddPictures(const Dtk_tab< Dtk_picturePtr > &inPicturesArray)
Adds an array of pictures to the view.
const Dtk_OneCell & getCell(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
Definition: util_draw_dtk.hpp:4510
Dtk_Double64 _line_width
Definition: util_draw_dtk.hpp:8086
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the frame giving a translation vector.
Dtk_CompositeText(Dtk_CompositeText &&t) DTK_NOEXCEPT
\MoveConstructor{t}
@ Always
Definition: util_draw_dtk.hpp:4632
static Dtk_ReferenceFramePtr Create(const Dtk_ReferenceFrame &inToBeCopied)
Copy constructor.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
void _Copy(const ApplicationZone &s)
Definition: util_draw_dtk.hpp:1893
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4451
const Dtk_pnt & InnerLocation() const
Retrieves the inner bounding box location - read only -.
Dtk_InfoPtr & GetInfo()
Retrieves the text infos.
@ DTK_FRAME_TYPE_SYMMETRICAL_PART
Definition: util_draw_dtk.hpp:169
@ ModeRadial
Definition: util_draw_dtk.hpp:2726
Dtk_ViewDisplay(const Dtk_ViewDisplay &s)
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
static Dtk_SymbolPtr Create(const Dtk_RoughnessPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Constructor from Dtk_RoughnessPtr.
void SetTailText(Dtk_CompositeText inTailText)
Sets the Tail Dtk_CompositeText.
Dtk_Symbol & operator=(const Dtk_Symbol &s)
Assignment Operator.
bool GetIsZoomableAttribute() const
Gets the Zoomable attribute of the Dtk_Fdt.
void SetBorderBottomColor(const Dtk_Int32 &inBorderBottomColor)
Sets BorderBottomColor of Bottom border.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the text.
void SetOtherSideClearanceText(Dtk_CompositeText inOtherSideClearanceText)
Sets the OtherSideClearanceText Dtk_CompositeText.
Dtk_Double64 _Width
The real width (before and after mergers).
Definition: util_draw_dtk.hpp:4175
Dtk_Leader(Dtk_Leader &&s) DTK_NOEXCEPT
void setnbCells_Top_Bottom(const Dtk_Size_t &inNewVal)
Sets nbCells_Top_Bottom.
static Dtk_ViewDisplay * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ErrorStatus SetParameterValue(const DatumTargetValueEnum &inValueEnum, Dtk_Val inValue)
Sets the value associated to DatumTargetValueEnum .
Dtk_Text GetAngleTextOtherSide() const
Retrieves the OtherSide Angle Dtk_Text.
@ SymbolBackWeld
Definition: util_draw_dtk.hpp:3097
void _Copy(const Dtk_Oriented2dBBox &s)
Definition: util_draw_dtk.hpp:503
Dtk_Int32 GetInvertText() const
Gets text is invert or not.
Dtk_bool IsSuffix() const
Tell if the associated Dtk_text is part of Suffix group - into Dtk_Dimension -.
virtual ~Dtk_Fdt()
Destructor.
Dtk_ErrorStatus AddReferenceBlock(const Dtk_ReferenceBlockPtr &inReferenceBlock)
Add a reference block to the Dtk_ReferenceFrame.
Dtk_Symbol(const Dtk_CompositeEntity &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Dtk_Font(const Dtk_Font &s)
Copy constructor.
const TextAttributeEnum & Attributes() const
Retrieves the text attribute - read only -.
This is the Feature Indicator. It is part of the Dtk_ToleranceSpecification. It's basically compose...
Definition: util_draw_dtk.hpp:6035
Dtk_ErrorStatus SetAnnularInnerDiameter(Dtk_Double64 inDiameter)
Sets the inner diameter of the annular Dtk_Region.
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Double64 _pitch
Definition: util_draw_dtk.hpp:8083
const Dtk_Text & GetSymbol() const
Retrieves the Symbol of the Dtk_FCFFeatureIndicator - Read Only -.
~Dtk_ViewDisplay()
Destructor.
Dtk_TextStyle(Dtk_TextStyle &&s) DTK_NOEXCEPT
\MoveConstructor{s}
static Dtk_ReferenceFramePtr Create(Dtk_ReferenceFrame &&inToBeMoved)
\MoveConstructor{inToBeMoved}
Dtk_FCFFeatureIndicator(const Dtk_FCFFeatureIndicator &s)
Definition: util_draw_dtk.hpp:6050
void _Init()
Definition: util_draw_dtk.hpp:1889
Dtk_ErrorStatus SetOuterAnchorPointWithTranslation(const Dtk_pnt &new_origin, const Dtk_anchor_type location_anchor_type)
@ DTK_FRAME_TYPE_SET
Definition: util_draw_dtk.hpp:163
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inAngle)
Sets the annotation angle using the annotation base.
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
Dtk_Text GetSizeTextArrowSide() const
Retrieves the ArrowSide Size Dtk_Text.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:5431
Dtk_Roughness & operator=(const Dtk_Roughness &inToBeAssigned)
Assignment Operator.
Dtk_ReferenceBlock(Dtk_ReferenceBlock &&s) DTK_NOEXCEPT
Move Constructor.
Dtk_bool IsDownText() const
Tell if the associated Dtk_text is part of Down group - into Dtk_Dimension -.
static Dtk_CameraPtr Create(const Dtk_pnt &inOriginPoint, const Dtk_pnt &inTarget, const Dtk_Double64 inSemiWidth, const Dtk_Double64 inSemiHeight, const Dtk_dir &inUpVector, const ProjectionTypeEnum inProjectionType=ProjectionTypeParallel, const ZoomFitModeEnum inZoomFitMode=NoZoomFit)
Full featured constructor.
virtual int DtkDynamicType(const int &inId)=0
Dtk_CompositeText(const Dtk_Size_t &inNumTexts)
Pre allocator constructor.
static Dtk_Drawing * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
TypeEnum
Definition: util_draw_dtk.hpp:6507
const Dtk_CompositeText & GetTexts() const
Retrieves the Dtk_Dimension text - read only -.
Dtk_Double64 _pitch
Char Pitch.
Definition: util_draw_dtk.hpp:340
TypeEnum
Definition: util_draw_dtk.hpp:6197
Dtk_ErrorStatus AddReference(Dtk_string inFullTextWithMaterialCondition, const Dtk_FdtPtr &inLinkedFdt)
Add a reference to the Dtk_ReferenceBlock.
Dtk_Int32 getnbCells_Left_Right() const
Gets the Dtk_OneCell nbCells_Left_Right.
const Dtk_LeaderPtr & GetOptionnalTopTextLeader() const
Retrieves optionnal Leader of the Top Text.
void EnableFrame()
Enables the frame status.
@ DTK_TYPE_DRAWING
Definition: define.h:445
static Dtk_SymbolPtr Create(const Dtk_Symbol &inToBeCopied)
Copy constructor.
Dtk_ErrorStatus OuterTranslate(const Dtk_dir &inTranslateDir)
Translates the outer bounding box giving a translation vector.
Dtk_pnt GetMiddleRightPoint() const
Retrieves the middle right point - Read Only -.
Definition: util_draw_dtk.hpp:611
const Dtk_Text & GetLeftText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer left-text as Dtk_Text - read only -.
Dtk_Oriented2dBBox(const Dtk_pnt &inBottomLeft, const Dtk_Double64 &inXLength, const Dtk_Double64 inYLenght, const Dtk_dir &inRefAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inNormalAxis=Dtk_dir(0, 0, 1))
Full featured constructor.
ComplementarySymbolEnum
Definition: util_draw_dtk.hpp:3187
static Dtk_Fdt * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
LeaderTerminatorTypeEnum
Internal leader terminator type.
Definition: util_draw_dtk.hpp:1999
virtual Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)=0
Applies a transformation matrix to the entity. //!
@ ParallelToView
Definition: util_draw_dtk.hpp:4631
Dtk_Double64 GetFocusDistance() const
Processes the Focus Distance ie the Distance between the Origin and the Target points - read only -.
const Dtk_string & Text() const
Retrieves the text string - read only -.
Dtk_ToleranceSpecificationContainerPtr & operator[](const Dtk_Size_t &inPos)
Retrieves the ith Dtk_ToleranceSpecificationContainer - get/set -.
@ DTK_UNIT_GRADE
Definition: util_draw_dtk.hpp:94
@ WeldTextAngle
Definition: util_draw_dtk.hpp:3205
Dtk_tab< Dtk_CurvePtr > _RelatedGeomElements
Definition: util_draw_dtk.hpp:919
static Dtk_FdtPtr Create(const Dtk_Fdt &s)
Copy constructor.
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_GeometricalTolerance.
Dtk_Text GetFinishSymbolTextOtherSide() const
Retrieves the OtherSide Finish Symbol Dtk_Text.
Dtk_Int32 DtkDynamicType(const int &inId)
Retrieves the dynamic entity type.
Dtk_Font & Font()
Retrieves the font - get/set -.
@ TerminatorTypePlus
Definition: util_draw_dtk.hpp:2029
const Dtk_transfo & TransformationMatrix() const
Retrieves the Dtk_View transformation matrix - read only -.
@ Dtk_HatchingStyle_Coloring
Definition: util_draw_dtk.hpp:8069
Definition: dtk_object.hpp:8
@ DTK_FRAME_TYPE_SCORED_CIRCLE
Definition: util_draw_dtk.hpp:142
Dtk_Symbol & operator=(Dtk_Symbol &&s) DTK_NOEXCEPT
\MoveOp{inToBeMoved}
const Dtk_Double64 & Angle() const
Retrieves the Dtk_View angle - read only -.
void SetDatumTargetType(const DatumTargetTypeEnum inType)
Sets the type of the Dtk_DatumTarget.
Dtk_Grid(const Dtk_Grid &grid)
@ DTK_FRAME_TYPE_PENTAGON
Definition: util_draw_dtk.hpp:179
ApplicationZoneEnum
Definition: util_draw_dtk.hpp:1871
@ SymbolFlareBevelButtWeld
Definition: util_draw_dtk.hpp:3087
@ FontOpentype
Definition: util_draw_dtk.hpp:196
Dtk_Text GetNumWeldsTextArrowSide() const
Retrieves the ArrowSide NumWelds Dtk_Text.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Text(const Dtk_Text &s)
Copy constructor.
Dtk_dir m_RefDir
Definition: util_draw_dtk.hpp:2106
Dtk_Region(const Dtk_Region &s)
Copy Constructor.
Dtk_pnt _BottomLeftPnt
Definition: util_draw_dtk.hpp:481
static Dtk_GeometricalTolerance * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ErrorStatus SetRoughMode(Dtk_Text inRoughModeText)
Sets the rough mode.
@ DTK_ANCHOR_BOTTOM_RIGHT
Definition: util_draw_dtk.hpp:108
Dtk_bool HasText() const
Definition: util_draw_dtk.hpp:4228
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ReferenceBlockPtr & Reference(const Dtk_Size_t &inReferencePos)
Retrieves the ith reference block - get/set -.
const Dtk_Double64 & Pitch() const
Retrieves the position offset perpendicular to the hatch line (or dot). Applies for hatching and dott...
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:8185
void SetBorderBottomBlanked(const Dtk_Int32 &inBorderBottomBlanked)
Sets BorderBottomBlanked of Bottom border.
@ TypeAxisSystem
Definition: util_draw_dtk.hpp:6525
static Dtk_RegionPtr Create(RegionType inType, Dtk_HatchingPattern &inHatchingPattern, Dtk_tab< Dtk_EntityPtr > inGeometries)
Copy Constructor.
Dtk_transfo & TransformationMatrix()
Retrieves the transformation matrix - get/set -.
Dtk_ErrorStatus GetParameterValue(const DatumTargetValueEnum &inValueEnum, Dtk_Val &outValue)
Gets the value associated to DatumTargetValueEnum .
Dtk_ErrorStatus AddToleranceSpecificationContainer(const Dtk_ToleranceSpecificationContainerPtr &inTolSpecCont)
Adds a Dtk_ToleranceSpecificationContainer to the Dtk_GeometricalTolerance.
Dtk_dir m_AxisDir
Definition: util_draw_dtk.hpp:2107
Dtk_tab< Dtk_dir > Dtk_ID & outID
Definition: pdfw.hpp:675
@ DTK_ANCHOR_MIDDLE_RIGHT
Definition: util_draw_dtk.hpp:105
const Dtk_FCFFeatureIndicatorTypeEnum & GetIndicatorType() const
Retrieves the IndicatorType semantic Type - Read Only -.
Definition: util_draw_dtk.hpp:5976
@ dtkNoError
Definition: error_dtk.hpp:140
void _Init()
Definition: util_draw_dtk.hpp:2109
static Dtk_DrawingPtr Create(Dtk_Drawing &&inToMoved)
\MoveConstructor{inToMoved}
Dtk_Double64 & Width()
Retrieves the drawing width - get/set -.
void SetOtherSideSecondFilletLengthText(Dtk_CompositeText inOtherSideSecondFilletLengthText)
Sets the OtherSideSecondFilletLengthText Dtk_CompositeText.
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the IndicatorType giving a translation vector.
void SetBorderLeftColor(const Dtk_RGB &inBorderLeftColor)
Dtk_DatumTarget(Dtk_DatumTarget &&inToBeMoved) DTK_NOEXCEPT
const Dtk_Oriented2dBBox & GetInnerBoundingBox() const
Processes the inner bounding box.
Dtk_ErrorStatus Reverse()
Reverses the text The text anchor type is replaced by the opposed one and the text orientation is rev...
Dtk_CompositeText GetOtherSideClearanceText() const
Retrieves the OtherSideClearanceText Dtk_CompositeText.
Dtk_CompositeText GetLabelsAsCompositeTexts() const
Retrieves the Dtk_Grid labels.
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_GeometricalTolerance anchor point.
Dtk_Int32 _BorderRightBlanked
Definition: util_draw_dtk.hpp:4206
@ TerminatorTypeXCross
Definition: util_draw_dtk.hpp:2031
void SetArrowSideOpeningText(Dtk_CompositeText inArrowSideOpeningText)
Sets the ArrowSideOpeningText Dtk_CompositeText.
Dtk_OneCell & getCell(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
Definition: util_draw_dtk.hpp:4503
void AddAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Add Geometries associated to whole Dtk_Roughness.
@ DTK_FRAME_TYPE_RECTANGLE
Definition: util_draw_dtk.hpp:136
void GetClippingDistance(Dtk_Double64 &outFrontDistance, Dtk_Double64 &outBackDistance) const
get the Front Clipping Distance et Back Clipping Distance
Dtk_ErrorStatus SetVerticallyOrientedStatus(const Dtk_bool &inVerticallyOrientedStatus)
Sets the text vertically oriented status.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
LeaderTerminatorTypeEnum m_HeadType
Definition: util_draw_dtk.hpp:2104
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:6624
friend std::ostream & operator<<(std::ostream &o, const Dtk_Font &d)
void _CommonAngularCtor(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const Dtk_Double64 &inRadius, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_pnt &inEndingPnt, const Dtk_pnt &inCenterPnt, const Dtk_bool &IsCounterClockwise)
static Dtk_GeometricalTolerancePtr Create()
Base constructor.
Dtk_View(Dtk_View &&s) DTK_NOEXCEPT
This is the abstract Dtk_2dEntity class. Gathers Dtk_Annotation and Dtk_Dimension.
Definition: util_draw_dtk.hpp:1783
~Dtk_Oriented2dBBox()
Destructor.
Dtk_ErrorStatus AddLeaderWithExtensionLine(const Dtk_LeaderPtr &inLeader, const Dtk_tab< Dtk_pnt > &inExtensionLinePnts)
Adds a leader with an extension line to the Dtk_Dimension.
Dtk_Double64 ProcessXZoomFactor() const
Processes the X - along width - zoom factor - read only -.
Definition: util_draw_dtk.hpp:7993
ApplicationZoneEnum GetApplicationZoneType() const
Retrieves the ApplicationZone Type - Read Only -.
Definition: util_draw_dtk.hpp:1941
static Dtk_string FinishSymbolEnumToString(const FinishSymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3250
const FontStyleEnum & FontStyle() const
Retrieves the font style - read only -.
const Dtk_dir & InnerYAxis() const
Retrieves the inner bounding box YAxis - read only -.
Dtk_transfo & TransformationMatrix()
Retrieves the Dtk_View transformation matrix - get/set-.
Dtk_Frame(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts)
Full featured constructor.
Definition: util_draw_dtk.hpp:940
@ DTK_FDT_MODIFIER_REGARDLESS_OF_FEATURE_SIZE
Definition: util_draw_dtk.hpp:67
void SetOtherSideContourSymbol(ComplementarySymbolEnum inContourSymbol)
Set the ContourSymbol of the OtherSide.
Dtk_frame_type _FrameType
Definition: util_draw_dtk.hpp:918
Dtk_Dimension(const DimensionTypeEnum &inDimensionType, Dtk_CompositeText inTexts)
Dtk_Oriented2dBBox & GetInnerBoundingBox()
Dtk_FCFFeatureIndicatorType & operator=(const Dtk_FCFFeatureIndicatorType &inToBeAssigned)
Assignment Operator.
Definition: util_draw_dtk.hpp:6002
Dtk_BodyPtr GetBody(const Dtk_Size_t &inPos) const
Retrieves the ith Body.
@ TypeAngularity
Definition: util_draw_dtk.hpp:6212
static Dtk_ReferenceFramePtr Create(const Dtk_ReferenceBlockPtr &inFirstReferenceBlock)
Full featured constructor with one first reference block.
static Dtk_GeometricalTolerancePtr Create(Dtk_GeometricalTolerance &&inToBeMoved)
\MoveConstructor{inToBeMoved}
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_FCFFeatureIndicator anchor point.
static Dtk_string WeldingSymbolEnumToString(const WeldingSymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3145
@ DTK_FRAME_TYPE_TRIANGLE
Definition: util_draw_dtk.hpp:146
const Dtk_RGB & GetLetteringColor() const
Gets the lettering color for symbol and references.
static Dtk_SymbolPtr Create(const Dtk_AnnotationPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Constructor from Dtk_AnnotationPtr.
void SetOuterBoundingBox(const Dtk_Oriented2dBBox &inOuterBBox) const
Set the outer Bounding Box.
@ TypeCenterLine
Definition: util_draw_dtk.hpp:6526
const Dtk_Double64 & LineWidth() const
Retrieves the hatch line width. Applies for hatching.
Definition: dtk_rgb.hpp:7
Dtk_bool IsTolLeftParenthesis() const
Tell if the associated Dtk_text is part of Tolerance Left Parenthesis group - into Dtk_Dimension -.
@ TypeDimension
Definition: util_draw_dtk.hpp:6514
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5727
@ DTK_UNIT_FOOT
Definition: util_draw_dtk.hpp:90
@ DTK_FRAME_TYPE_HEXAGON
Definition: util_draw_dtk.hpp:180
@ SymbolSteepFlankedSingleVWeld
Definition: util_draw_dtk.hpp:3101
Dtk_Double64 _angle
Definition: util_draw_dtk.hpp:8082
Dtk_Dimension(Dtk_Dimension &&inToBeMoved) DTK_NOEXCEPT
@ DTK_WITHOUT_HIERARCHY
Definition: util_draw_dtk.hpp:75
Dtk_bool IsPrefix() const
Tell if the associated Dtk_text is part of Prefix group - into Dtk_Dimension -.
TextAttributeEnum
Definition: util_draw_dtk.hpp:283
Dtk_GeometricalTolerance & operator=(const Dtk_GeometricalTolerance &inToBeAssigned)
Assignment Operator.
void setAnchor(const Dtk_Size_t &inNumberOfAnchor)
Set anchor of text.
Dtk_Double64 & LineSpacing()
Retrieves the line spacing - get/set -.
@ TerminatorTypeFilledSquare
Definition: util_draw_dtk.hpp:2017
Dtk_DatumTarget::DatumTargetTypeEnum GetDatumTargetType() const
Gets the type of the Dtk_DatumTarget.
Dtk_Char8 FinishSymbolToDtk_Text(const FinishSymbolEnum inFinishSymbol) const
Convert FinishSymbolEnum to Dtk_Char8.
Dtk_dir & OuterYAxis()
Retrieves the outer bounding box YAxis - get/set -.
void SetApplicationZoneType(const Dtk_Leader::ApplicationZone::ApplicationZoneEnum &inApplicationZoneType, const Dtk_tab< Dtk_CurvePtr > &inRelatedGeomElements)
Set the text frame information - get/set -.
Dtk_Size_t GetNumPictures() const
Retrieves the number of Dtk_picturePtr in Dtk_CompositeEntity.
~Dtk_GeometricalTolerance()
Destructor.
WeldingSymbolEnum GetWeldingSymbolArrowSide() const
Retrieves the ArrowSide WeldingSymboEnum.
Dtk_2dEntity()
Base constructor.
Dtk_ErrorStatus GetRectangularWidth(Dtk_Double64 &outWidth)
Gets the width of the rectangular Dtk_Region.
Dtk_tab< Dtk_Size_t > nbCells_Col
number of cells on each column (if we consider mergers)
Definition: util_draw_dtk.hpp:4426
static Dtk_SmartPtr< Dtk_Info > create()
const Dtk_OneCell * operator[](const Dtk_Size_t &inPos) const
@ TerminatorTypeDoubleOpenArrow
Definition: util_draw_dtk.hpp:2037
Dtk_string GetBottomTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer bottom-text - read only -.
This is the base bounding box class. It's used into a lot of 2D Entities This class represents the ba...
Definition: util_draw_dtk.hpp:479
Dtk_ErrorStatus CreateFrameAsGeometries()
Processes Dtk_Symbol frame as geometrical elements/.
Dtk_Size_t nbCol
Number of columns.
Definition: util_draw_dtk.hpp:4422
Dtk_EntityPtr Get2dGeometricalEntity(const Dtk_Size_t &inPos) const
Retrieves the ith geometrical entity.
@ SymbolANSIEdgeWeld
Definition: util_draw_dtk.hpp:3127
@ StyleRegular
Definition: util_draw_dtk.hpp:264
Dtk_ErrorStatus CreateGeometries(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
Process IndicatorType Related geometries.
Dtk_Double64 GetSemiWidth() const
Retrieves the Camera Base Semi Width - read only -.
static Dtk_Grid * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
static Dtk_SymbolPtr Create(const Dtk_pnt &inLocation, const Dtk_anchor_type &inLocationAnchorType)
Full featured constructor.
Dtk_ToleranceSpecification & operator=(Dtk_ToleranceSpecification &&inToBeMoved) DTK_NOEXCEPT
\MoveOp{inToBeMoved}
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
std::unordered_map< Dtk_UInt8, Dtk_CompositeText > GetOtherSideAllTexts() const
Return all the texts of the OtherSide.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
LeaderTypeEnum GetLeaderType() const
Gets the leader type - read only -.
static Dtk_ToleranceSpecification * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Double64 ProcessRadius() const
Processes the Dtk_DatumTarget radius.
This is the Camera class. This class lets you define elements to create frustum. Please use the Dtk_...
Definition: util_draw_dtk.hpp:7864
void SetYLength(const Dtk_Double64 &inNewXlength)
Retrieves the Y length.
Dtk_Size_t GetToleranceSpecificationContainerNb() const
Retrieves the Dtk_ToleranceSpecificationContainer number - read only -.
Dtk_FCFFeatureIndicator & operator=(const Dtk_FCFFeatureIndicator &inToBeAssigned)
Assignment Operator.
Dtk_Oriented2dBBox(const Dtk_Oriented2dBBox &s)
Copy constructor.
Dtk_CompositeText GetOtherSideSecondFilletLengthText() const
Retrieves the OtherSideSecondFilletLengthText Dtk_CompositeText.
Represents the tables.
Definition: util_draw_dtk.hpp:4415
Dtk_ErrorStatus AddBodies(Dtk_tab< Dtk_BodyPtr > inBodyArray)
Adds an array of bodies displayed in the view.
Dtk_Text()
Base constructor.
Dtk_2dEntityPtr & Sub2DEntity()
Retrieves the sub 2D entity - get/set -.
Dtk_ErrorStatus AddReference(Dtk_string inReferenceLabel, const DTK_FDT_MODIFIER &inMaterialModifier=DTK_FDT_MODIFIER_NONE, const Dtk_FdtPtr &inLinkedFdt=NULL)
Add a reference to the Dtk_ReferenceBlock.
Dtk_ErrorStatus SetAnnularOuterDiameter(Dtk_Double64 inDiameter)
Sets the outer diameter of the annular Dtk_Region.
@ SymbolSeamWeld
Definition: util_draw_dtk.hpp:3111
@ DTK_TYPE_ROUGHNESS
Definition: define.h:443
static Dtk_CameraPtr Create(const Dtk_pnt &inOriginPoint, const Dtk_pnt &inTarget, const Dtk_dir &inUpVector, const double &inAngle, const double &inFocus, const double &inZoomFactor=1.0, const ProjectionTypeEnum inProjectionType=ProjectionTypeParallel, const ZoomFitModeEnum inZoomFitMode=NoZoomFit)
Full featured constructor.
@ ComplementarySymbolWeldWithConvexFace
Definition: util_draw_dtk.hpp:3192
Dtk_ErrorStatus AddOrigin(const Dtk_pnt &origin)
Internal use only.
const Dtk_ReferenceBlockPtr & Reference(const Dtk_Size_t &inReferencePos) const
Retrieves the ith reference blocks - read only -.
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:535
Dtk_bool IsValSplitPart2() const
Tell if the associated Dtk_text is part of Value Split Part 2 - for Degrees/Minutes/Seconds form - gr...
@ AttributeSuperscript
Definition: util_draw_dtk.hpp:293
void _CopyC(const Dtk_OneCell &cell)
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:3393
Dtk_Symbol(const Dtk_Welding &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
@ DTK_TYPE_TOL_SPEC
Definition: define.h:475
Dtk_Welding(const Dtk_Welding &s)
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:4620
void Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_ReferenceBlock - internal use only -.
This is a mathematical direction class.
Definition: dtk_dir.hpp:15
void Extend(const Dtk_Double64 &inXExtend, const Dtk_Double64 &inYExtend)
Extend the bounding box.
@ TypeDatumTarget
Definition: util_draw_dtk.hpp:6512
Dtk_DatumTarget::DatumTargetMovableStatusEnum GetDatumTargetMovableStatus() const
Gets the Movable status of the Dtk_DatumTarget.
const Dtk_pnt & GetArrowLocation() const
Retrieves The ArrowHead Location point - Get Only -.
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:8265
Dtk_2dEntity(Dtk_2dEntity &&s) DTK_NOEXCEPT
\MoveConstructor{s}
void GetInnerXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const
Gets the inner bounding box orientation.
void SetWeldTailActivated(const Dtk_bool inTailActivated=DTK_FALSE)
Sets the Tail Activation Flag.
Dtk_Double64 _ProcessSideLength()
@ FinishSymbolChip
Definition: util_draw_dtk.hpp:3234
void SetAllAroundSet(const Dtk_bool &inAllAroundSetValue)
Set the status of the all around property for the current drawing leader.
Dtk_Oriented2dBBox ProcessBoundingBox() const
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
@ TerminatorTypeFillArrow
Definition: util_draw_dtk.hpp:2007
Dtk_Double64 min_Width
The original width before mergers.
Definition: util_draw_dtk.hpp:4179
void ConvertToGeom(Dtk_tab< Dtk_CurvePtr > &outGeomsArray, const IncludeOptions inConvertToGeomFilter=IncludeAll) const
Converts the Dtk_Leader to geometrical elements.
Dtk_frame_type
Definition: util_draw_dtk.hpp:133
void SetVisibleEdgesLineStyle(Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor)
Set Line style for Visible Edges.
@ IntersectionPlane
Definition: util_draw_dtk.hpp:5908
const Dtk_Double64 & Angle() const
Retrieves the angle between horizontal line and hatch line (or dot). Applies for hatching and dotting...
FontStyleEnum & FontStyle()
Retrieves the font style - get/set -.
Dtk_Size_t GetNumCols() const
Gets the Dtk_Table columns number.
@ TerminatorTypeCrossedCircle
Definition: util_draw_dtk.hpp:2021
~Dtk_CompositeText()
Destructor.
Dtk_HatchingStyle
Definition: util_draw_dtk.hpp:8066
static Dtk_DatumTargetPtr Create(Dtk_DatumTarget &&inToBeMoved)
\MoveConstructor{inToBeMoved}
Dtk_DatumTarget(Dtk_CompositeText inTopText, Dtk_CompositeText inBottomText, const Dtk_pnt &inLocationPnt, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 &inAngle=0.0, const Dtk_Double64 &inOffSet=0.0, const Dtk_bool &inHasFrame=DTK_TRUE, const Dtk_anchor_type &inAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type &inJustificationType=DTK_JUSTIFY_LEFT)
ShowDualValueTypeEnum
Definition: util_draw_dtk.hpp:4887
@ DTK_TYPE_WELDING
Definition: define.h:446
Dtk_Text GetNumWeldsTextOtherSide() const
Retrieves the OtherSide NumWelds Dtk_Text.
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:2737
Dtk_Leader::ApplicationZone::ApplicationZoneEnum GetApplicationZoneType() const
Retrieves the Frame - read only -.
DatumTargetMovableStatusEnum
Definition: util_draw_dtk.hpp:3864
@ DTK_FRAME_TYPE_FLAG_RIGHT_TRIANGLE
Definition: util_draw_dtk.hpp:177
@ BasicTypeCircle
Definition: util_draw_dtk.hpp:4882
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:5744
@ ComplementarySymbolWeldWithFlatFace
Definition: util_draw_dtk.hpp:3190
const Dtk_Double64 & CharSpacing() const
Retrieves the char spacing - read only -.
void SetLeaderCurveColor(const Dtk_RGB &inColor)
Set the leader curve Color.
Dtk_Size_t getNbcols()
Gets the number of colums in Dtk_Table.
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:6912
void SetFrameData(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set Frame informations.
Definition: util_draw_dtk.hpp:968
Dtk_ReferenceBlockPtr & FirstReference()
Retrieves the first reference block - get/set -.
Dtk_ErrorStatus SetCutOff(Dtk_Text inText)
Sets the CutOff text.
const Dtk_Double64 & Scale() const
Retrieves the Dtk_View scale - read only -.
Dtk_Annotation(const Dtk_pnt &inLocationPnt, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=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 &inJustificationType=DTK_JUSTIFY_LEFT)
Full featured constructor.
void SetBorderTopColor(const Dtk_RGB &inBorderTopColor)
static Dtk_Symbol * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_bool IsRightText() const
Tell if the associated Dtk_text is part of right group - into Dtk_Dimension -.
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
Dtk_Size_t GetNumReferences() const
Retrieves the number of reference blocks - read only -.
This is the FD&T class. The base PMI Class contains a Dtk_2dEntity and Transformation Matrix to loca...
Definition: util_draw_dtk.hpp:7347
Dtk_ErrorStatus GetOuterBoundingBox(const Dtk_bool &inProcessAddtionnalTexts, Dtk_Oriented2dBBox &outOuterBBox) const
Dtk_OneCell & operator=(const Dtk_OneCell &inToBeAssigned)
Assignment Operator.
Dtk_Text GetTopLeftText() const
Gets the top-left text - read only -.
Dtk_Text(Dtk_Text &&s) DTK_NOEXCEPT
\MoveConstructor{s}
static Dtk_SymbolPtr Create(const Dtk_DimensionPtr &inToBeConverted, const Dtk_bool &inKeepLeaderAsLeader=DTK_FALSE)
Constructor from Dtk_DimensionPtr.
Dtk_pnt GetTopLeftPoint() const
Retrieves the top left point - Read Only -.
Definition: util_draw_dtk.hpp:574
void _Copy(const Dtk_Frame &s)
Definition: util_draw_dtk.hpp:924
const Dtk_CompositeEntityPtr & GetClippingBoundary() const
void DrawLabelsInOriginUnit(const Dtk_bool &inVal)
Draws Labels in millimeters or in origin unit.
void SetIsZoomableAttribute(const bool &inBool)
Sets the Zoomable attribute of the Dtk_Fdt.
LeaderTypeEnum
Internal leader type - linear or angular -.
Definition: util_draw_dtk.hpp:2223
#define DTK_NOEXCEPT
Definition: config.hpp:26
Dtk_ErrorStatus SetOuterBoundingBox(const Dtk_Oriented2dBBox &outerBoundingBox)
Sets the outer bounding box.
void SetOtherSideTexts(std::unordered_map< Dtk_UInt8, Dtk_CompositeText > &inTexts)
Set the Dtk_Welding OtherSide Texts and their types.
Dtk_alignment_type
Definition: util_draw_dtk.hpp:112
@ DTK_TYPE_SPECIFICATION_INDICATOR
Definition: define.h:487
void SetMiddleLeftPoint(const Dtk_pnt &inNewPoint)
Sets the middle left point.
@ TypePosition
Definition: util_draw_dtk.hpp:6218
Dtk_Size_t GetNumExtensionLines() const
Retrieves the extension lines number - read only -.
Dtk_string Dump() const
Return all subtypes as a Dtk_string.
#define DTK_PI
Definition: str_def.h:8
DisplayMode3DEnum
Definition: util_draw_dtk.hpp:7012
Dtk_pnt GetPoint(const enum Dtk_anchor_type &inAnchorType) const
Retrieves the point with inAnchorType type.
@ DirectionFeature
Definition: util_draw_dtk.hpp:5904
Dtk_CompositeText GetTailText() const
Retrieves the Tail Dtk_CompositeText.
const Dtk_pnt & GetOrigin(const Dtk_Size_t &inPos) const
Retrieves the ith origin Dtk_pnt - read only -.
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
@ DTK_FRAME_TYPE_SCORED_RECTANGLE
Definition: util_draw_dtk.hpp:173
static Dtk_string DatumTargetMovableStatusEnumToString(const DatumTargetMovableStatusEnum &inEnum)
Definition: util_draw_dtk.hpp:3868
Dtk_ViewDisplay(DisplayMode3DEnum inDisplayMode)
Dtk_Table(const Dtk_Int32 &inNumRows, const Dtk_Int32 &inNumCols, const Dtk_pnt &inLocationPnt=Dtk_pnt(0, 0, 0), const Dtk_Double64 &inAngle=0.0, const Dtk_InfoPtr &infos=NULL, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 &inOffSet=0.0, const Dtk_anchor_type &inAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type &inJustificationType=DTK_JUSTIFY_LEFT)
const Dtk_Oriented2dBBox & GetOuterBoundingBox() const
Retrieves the IndicatorType Outer Bounding Box - basically the related geometries BBox - - Read Only ...
Definition: util_draw_dtk.hpp:5987
Definition: util_ent_dtk.hpp:329
@ TypeLineProfile
Definition: util_draw_dtk.hpp:6208
void SetArrowSideWeldingSymbol(WeldingSymbolEnum inWeldingSymbol)
Set the WeldingSymbol of the ArrowSide.
@ SymbolISOEdgeWeld
Definition: util_draw_dtk.hpp:3129
void AddOtherSideAssociatedGeometry(Dtk_EntityPtr inAssociatedGeometry)
Add an AssociatedGeometry of the OtherSide.
@ TerminatorTypeOpenArrow
Definition: util_draw_dtk.hpp:2003
@ FontPostscript
Definition: util_draw_dtk.hpp:195