DATAKIT API  V2025.4
util_draw_dtk.hpp
Go to the documentation of this file.
1 #ifndef _UTIL_DRAW_DTK_HPP_
2 #define _UTIL_DRAW_DTK_HPP_
3 
10 #include "util/dtk_val.hpp"
11 #include "struct/str_def.h"
12 #include "util/error_dtk.hpp"
14 #include "util/util_ent_dtk.hpp"
15 #include "util/util_geom_dtk.hpp"
17 #include "util/util_ptr_dtk.hpp"
18 #include "util/util_stl_dtk.hpp"
20 #include <cmath>
21 #include "def/define.h"
22 #include "dtk/config.hpp"
23 #include <iosfwd>
24 #include <type_traits>
25 #include <unordered_map>
26 
27 // #ifdef _DEBUG -----> Never use this condition , DEBUG_DTK only for internal use
28 // # ifndef _DEBUG_DTK
29 // # define _DEBUG_DTK
30 // # endif
31 // #endif
32 
34 //Forward declarations
35 //Text_or_character will be removed in V2026.1
36 struct text_or_character_def;
37 typedef struct text_or_character_def Text_or_character;
38 
39 struct polyline_def;
40 typedef struct polyline_def Polyline_detk;
41 
42 
43 
44 class Dtk_Connector;
45 class Dtk_ConnectorPart;
46 
47 typedef Dtk_SmartPtr<Dtk_Connector> Dtk_ConnectorPtr;
48 typedef Dtk_SmartPtr<Dtk_ConnectorPart> Dtk_ConnectorPartPtr;
49 
50 typedef Dtk_tab<Dtk_ConnectorPtr> Dtk_ConnectorTab;
51 typedef Dtk_tab<Dtk_ConnectorPartPtr> Dtk_ConnectorPartTab;
53 
63 };
71 };
73 
74 
75 
76 enum Dtk_Unit {
78  // Length
85  // Angle
89  // Degree, Minute, Second
91 };
92 
104 };
105 
116 };
117 
125 };
126 
177 };
178 
183 class Dtk_Font
184 {
185 public:
191  };
192 protected:
199 public:
202 
205 
207  Dtk_Font(const Dtk_Font& in);
210 
215 
219  const Dtk_string& Name() const;
220 
225 
229  const FontTypeEnum& FontType() const;
230 
235 
239  const Dtk_Size_t& ID() const;
240 
246 };
247 
253 {
254 public:
264  };
265  static inline Dtk_string FontStyleEnumToString( const FontStyleEnum& inEnum )
266  {
267  switch( inEnum )
268  {
269  default:
270  case StyleRegular: return L"StyleRegular";
271  case StyleBold: return L"StyleBold";
272  case StyleItalic: return L"StyleItalic";
273  case StyleBoldItalic: return L"StyleBoldItalic";
274  }
275  }
288  AttributeSubscript = 16
289  };
298  };
300  {
301  switch( inEnum )
302  {
303  default:
304  case JustificationLeft: return L"JustificationLeft";
305  case JustificationCenter: return L"JustificationCenter";
306  case JustificationRight: return L"JustificationRight";
307  case JustificationNone: return L"JustificationNone";
308  }
309  }
310 protected:
311 
334 public:
337 
340 
345 
350 
355 
359  const Dtk_Font& Font() const;
360 
365 
369  const FontStyleEnum& FontStyle() const;
370 
375 
380 
385 
390 
395 
399  const Dtk_Double64& CharHeight() const;
400 
405 
409  const Dtk_Double64& CharSpacing() const;
410 
415 
419  const Dtk_Double64& CharWidth() const;
420 
425 
429  const Dtk_Double64& LineSpacing() const;
430 
435 
439  const Dtk_Double64& Slant() const;
440 
445 
449  const Dtk_Double64& Ratio() const;
450 
455 
459  const Dtk_Double64& Pitch() const;
460 
461 };
462 
471 {
472 protected:
478 
479  inline void _Init()
480  {
481  Dtk_Size_t i = 0;
482 
483  for (i = 0; i < 3; i++)
484  {
485  _BottomLeftPnt[i] = 0.0;
486  _XLocalVector[i] = 0.0;
487  _YLocalVector[i] = 0.0;
488  }
489  _XLocalVector[0] = 1.0;
490  _YLocalVector[1] = 1.0;
491  _XLength = 0.0;
492  _YLength = 0.0;
493  }
494 
495  inline void _Copy(const Dtk_Oriented2dBBox &s)
496  {
500  _XLength = s._XLength;
501  _YLength = s._YLength;
502  }
503 
504  inline void _Reset() {}
505 public:
508 
515  Dtk_Oriented2dBBox(const Dtk_pnt &inBottomLeft,
516  const Dtk_Double64 &inXLength, const Dtk_Double64 inYLenght,
517  const Dtk_dir &inRefAxis = Dtk_dir(1,0,0),
518  const Dtk_dir &inNormalAxis = Dtk_dir(0,0,1));
519 
522 
525 
527  inline void Clear()
528  {
529  _Reset();
530  _Init();
531  }
532 
535 
540  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
541 
544  inline Dtk_pnt BottomLeftPoint() const
545  {
546  return _BottomLeftPnt;
547  }
548 
553  {
554  return BottomLeftPoint();
555  }
556 
560  {
562  }
563 
566  inline Dtk_pnt GetTopLeftPoint() const
567  {
569  }
570 
574  {
576  }
577 
581  {
583  + 0.5*_XLength*_XLocalVector;
584  }
585 
588  inline Dtk_pnt GetTopCenterPoint() const
589  {
591  + 0.5*_XLength*_XLocalVector;
592  }
593 
597  {
599  }
600 
604  {
607  }
608 
611  inline Dtk_pnt GetTopRightPoint() const
612  {
614  }
615 
618  inline Dtk_Double64 GetXLength() const
619  {
620  return _XLength;
621  }
622 
625  inline Dtk_Double64 GetYLength() const
626  {
627  return _YLength;
628  }
629 
632  inline Dtk_dir XLocalVector() const
633  {
634  return _XLocalVector;
635  }
636 
639  inline Dtk_dir YLocalVector() const
640  {
641  return _YLocalVector;
642  }
643 
646  inline void SetXLocalVector(const Dtk_dir& inNewXVector)
647  {
648  _XLocalVector = inNewXVector;
650  }
651 
654  inline void SetYLocalVector(const Dtk_dir& inNewYVector)
655  {
656  _YLocalVector = inNewYVector;
658  }
659 
663  inline void SetLocalVectors(const Dtk_dir& inNewXVector,
664  const Dtk_dir& inNewYVector)
665  {
666  _XLocalVector = inNewXVector;
667  _YLocalVector = inNewYVector;
671  _YLocalVector = TmpZ / _XLocalVector;
672  }
673 
677  Dtk_bool IsInside(const Dtk_pnt &inPoint) const;
678 
682  void Merge(const Dtk_pnt &inPoint);
683 
687  void Merge(const Dtk_Oriented2dBBox &inOriented2dBBox);
688 
692  void Translate(const Dtk_dir &inTranslation);
693 
697  void Rotate(const Dtk_Double64 &inAngleInRadian);
698 
703 
707  void Reverse();
708 
713  void Extend(const Dtk_Double64 &inXExtend, const Dtk_Double64 &inYExtend);
714 
721  void Extend(const Dtk_Double64 &inTopExtend,
722  const Dtk_Double64 &inBottomExtend,
723  const Dtk_Double64 &inLeftExtend,
724  const Dtk_Double64 &inRightExtend);
725 
729  {
730  return _BottomLeftPnt;
731  }
732 
736  {
737  return _XLocalVector;
738  }
739 
743  {
744  return _YLocalVector;
745  }
746 
750  void SetXLength(const Dtk_Double64 &inNewXlength);
751 
755  void SetYLength(const Dtk_Double64 &inNewXlength);
756 
759  void SetBottomLeftPoint(const Dtk_pnt &inNewPoint);
760 
763  void SetMiddleLeftPoint(const Dtk_pnt &inNewPoint);
764 
767  void SetTopLeftPoint(const Dtk_pnt &inNewPoint);
768 
771  void SetBottomCenterPoint(const Dtk_pnt &inNewPoint);
772 
775  void SetMiddleCenterPoint(const Dtk_pnt &inNewPoint);
776 
779  void SetTopCenterPoint(const Dtk_pnt &inNewPoint);
780 
783  void SetBottomRightPoint(const Dtk_pnt &inNewPoint);
784 
787  void SetMiddleRightPoint(const Dtk_pnt &inNewPoint);
788 
791  void SetTopRightPoint(const Dtk_pnt &inNewPoint);
792 
796  Dtk_pnt GetPoint(const enum Dtk_anchor_type& inAnchorType) const;
797 
801  void SetPoint(const Dtk_pnt &inNewPoint,
802  const enum Dtk_anchor_type& inAnchorType);
803 
811  Dtk_Double64& outTopOffSet, Dtk_Double64& outBottomOffSet,
812  Dtk_Double64& outRightOffSet, Dtk_Double64& outLeftOffSet) const;
813 
828  const Dtk_LinePtr inLine,
829  Dtk_pnt& outIntersectionPnt1,
830  Dtk_pnt& outIntersectionPnt2,
831  Dtk_Double64& outIntersectionParam1,
832  Dtk_Double64& outIntersectionParam2,
833  const Dtk_bool& inTestComplanarity = DTK_FALSE ) const;
834 
848  const Dtk_pnt& inPntA,
849  const Dtk_pnt& inPntB,
850  Dtk_pnt& outIntersectionPnt1,
851  Dtk_pnt& outIntersectionPnt2,
852  const Dtk_bool& inTestComplanarity = DTK_FALSE ) const;
853 
867  const Dtk_pnt& inPntA,
868  const Dtk_pnt& inPntB,
869  Dtk_pnt& outIntersectionPnt1,
870  Dtk_pnt& outIntersectionPnt2,
871  const Dtk_bool& inTestComplanarity = DTK_FALSE ) const;
872 
885  const Dtk_pnt& inPntA,
886  const Dtk_pnt& inPntB,
887  Dtk_tab<Dtk_pnt>& outIntersectionPnts,
888  const Dtk_bool& inTestComplanarity = DTK_FALSE) const;
889 
896 
898  const Dtk_pnt& inCenter,
899  const Dtk_Double64& inRadius,
900  Dtk_tab<Dtk_pnt>& outIntersectionPnts) const;
901 };
902 
908 {
909 protected:
912  inline void _Init()
913  {
915  }
916  inline void _Copy(const Dtk_Frame &s)
917  {
919  for( Dtk_Size_t i = 0 ; i < s._RelatedGeomElements.size() ; i++)
920  {
921  Dtk_CurvePtr c;
922  s._RelatedGeomElements[i].Clone(c);
923  _RelatedGeomElements.push_back(c);
924  }
925  }
926  inline void _Reset(){}
927 public:
928 
932  Dtk_Frame( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts )
933  : _FrameType( inFrameType ), _RelatedGeomElements( std::move( inRelatedGeometricalElts ) ) { }
934 
938  Dtk_Frame( Dtk_Frame &&in ) DTK_NOEXCEPT : _FrameType( in._FrameType ), _RelatedGeomElements( std::move( in._RelatedGeomElements ) ) { }
939 
941  inline Dtk_Frame()
942  {
943  _Init();
944  }
945 
947  inline ~Dtk_Frame(){ _Reset();}
948 
950  inline void Clear()
951  {
953  _RelatedGeomElements.clear();
954  }
955 
956 
960  inline void SetFrameData(
961  const Dtk_frame_type& inFrameType,
962  Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements )
963  {
964  this->_FrameType = inFrameType;
965  this->_RelatedGeomElements = std::move( inRelatedGeomElements );
966  }
969  inline const Dtk_frame_type& GetFrameType() const {return _FrameType;}
970 
974 
978  Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir);
979 
984 
989 };
990 class Dtk_CompositeText;
991 
998 {
999 private:
1000  int p;
1001 public:
1002  DTK_Text_subtype(int in=0);
1004  void Append(int in);
1008  Dtk_bool IsDual() const;
1041  Dtk_bool IsPow() const;
1086  Dtk_bool IsUrl() const;
1095  Dtk_string Dump() const;
1096 };
1097 
1098 
1099 
1100 
1112 {
1113 public:
1118  };
1119 
1120 protected:
1121  struct Dtk_Handle; // Not defined here
1122  Dtk_Handle *_Private; // Handle
1123 
1124 private:
1125  void _Init();
1126  void _Copy(const Dtk_Text& s);
1127  void _Reset();
1128 
1129 public:
1132 
1135 
1137  Dtk_Text(const Dtk_Text &s);
1138 
1141 
1154  Dtk_Text(Dtk_string inTextString,
1155  const Dtk_Oriented2dBBox &inInnerBox,
1156  const Dtk_Oriented2dBBox &inOuterBox,
1157  const Dtk_anchor_type &inAnchorType,
1158  const DTK_Text_type &inTextType,
1159  const Dtk_Int32 &inHorizontalVerticalType,
1160  const Dtk_InfoPtr &inInfos,
1161  const Dtk_TextStyle &inTextStyle,
1162  const Dtk_Double64 &inSlant,
1163  const Dtk_Int32 &inFontIndex,
1164  const Dtk_Int32 &inMirroringType);
1165 
1175  Dtk_Text( Dtk_string inTextString,
1176  const Dtk_Oriented2dBBox &inInnerBox,
1177  const Dtk_Oriented2dBBox &inOuterBox,
1178  const Dtk_Double64 &inSlant,
1179  const Dtk_bool &inHorizontalVerticalType,
1180  const DTK_Text_type &inTextType, const Dtk_InfoPtr &inInfos,
1181  const Dtk_TextStyle &inTextStyle);
1182 
1187 
1188 
1194 
1198  void SetFrameType( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements);
1199 
1203  void GetFrame(Dtk_Frame& outFrame) const;
1204 
1209 
1214 
1218  const DTK_Text_type& TextType() const;
1219 
1224 
1229 
1230 
1234  const Dtk_dir& InnerXAxis() const;
1235 
1239  const Dtk_dir& OuterXAxis() const;
1240 
1245 
1250 
1254  const Dtk_dir& InnerYAxis() const;
1255 
1259  const Dtk_dir& OuterYAxis() const;
1260 
1265 
1270 
1274  const Dtk_pnt& InnerLocation() const;
1275 
1279  const Dtk_pnt& OuterLocation() const;
1280 
1285 
1290 
1295 
1299  const Dtk_string& Text() const;
1300 
1305 
1309  const Dtk_TextStyle& TextStyle() const;
1310 
1315 
1320  const Dtk_bool &inVerticallyOrientedStatus);
1321 
1326 
1330  const Dtk_anchor_type& AnchorType() const;
1331 
1334  const Dtk_InfoPtr& GetInfo() const;
1335 
1339 
1347  const Dtk_dir &inXAxis = Dtk_dir(1,0,0),
1348  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1349 
1357  const Dtk_dir &inXAxis = Dtk_dir(1,0,0),
1358  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1359 
1366  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1367 
1374  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1375 
1379  Dtk_ErrorStatus InnerTranslate(const Dtk_dir &inTranslateDir);
1380 
1384  Dtk_ErrorStatus OuterTranslate(const Dtk_dir &inTranslateDir);
1385 
1389  Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir);
1390 
1395 
1401 
1406  void SetInnerXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
1407 
1412  void SetOuterXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
1413 
1418  void GetInnerXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const;
1419 
1424  void GetOuterXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const;
1425 
1429  void SetInnerXLength(const Dtk_Double64 &inXLength);
1430 
1434  void SetInnerYLength(const Dtk_Double64 &inYLength);
1435 
1439  void SetOuterXLength(const Dtk_Double64 &inXLength);
1440 
1444  void SetOuterYLength(const Dtk_Double64 &inYLength);
1445 
1450  const Dtk_dir &inZAxis = Dtk_dir(0,0,1)) const;
1451 
1456  const Dtk_dir &inZAxis = Dtk_dir(0,0,1)) const;
1457 
1461 
1465 
1470 
1475 
1478 
1481 
1487  //SetAsDeprecated("Undefined", "Use SetInnerBoundingBox")
1489  const Dtk_anchor_type& inLocationAnchorType);
1491  const Dtk_anchor_type location_anchor_type);
1492 
1498  const Dtk_anchor_type& inLocationAnchorType);
1500  const Dtk_anchor_type location_anchor_type);
1501 
1506  Dtk_tab<Dtk_CurvePtr> &outGeoms) const;
1507 
1508 
1513  SetAsDeprecated( "2020.2", "Text_or_character is OBSOLETE : use ExplodeText" )
1514  Text_or_character ** ConvertToText_or_character(
1515  Dtk_Int32 &outNumTexts) const;
1516 
1521  Dtk_Text *ExplodeText(Dtk_Int32 **outNumFontArray,
1522  Dtk_Int32 &outNumTexts) const;
1523 
1524  friend Dtk_CompositeText operator+(const Dtk_Text &s1, const Dtk_Text &s2);
1525 };
1526 
1536 {
1537  struct Dtk_Handle; // Not defined here
1538  Dtk_Handle *_Private; // Handle
1539 
1540 private:
1541  void _Init();
1542  void _Copy(const Dtk_CompositeText& s);
1543  void _Reset();
1544 
1545 public:
1548 
1551 
1554 
1557 
1560  Dtk_CompositeText(const Dtk_Size_t& inNumTexts);
1561 
1565 
1569 
1572 
1575 
1576  void Clear();
1577 
1582 
1586  const Dtk_Text& operator[](Dtk_Size_t inPos) const;
1587 
1591 
1598 
1602 
1607  SetAsDeprecated("Undefined", "Use GetOuterBoundingBox")
1608  Dtk_ErrorStatus GetOuterAnchorPoints(
1609  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
1610 
1614 
1618  const Dtk_Oriented2dBBox GetOuterBoundingBox( Dtk_bool inIncludeInvisible = DTK_TRUE ) const;
1619 
1624  const;
1625 
1631  Dtk_bool inIncludeInvisible = DTK_TRUE )
1632  const;
1633 
1636  const Dtk_Double64& GetWrappingWidth() const;
1637 
1640  void SetWrappingWidth(const Dtk_Double64 &inWrappingWidth);
1641 
1651  const Dtk_anchor_type &inNewAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
1652  const Dtk_Int32 &inStartingGetText = -1,
1653  const Dtk_Int32 &inNumGetTexts = -1,
1654  const Dtk_Int32 &inStartingSetText = -1,
1655  const Dtk_Int32 &inNumSetTexts = -1);
1656 
1668  const Dtk_anchor_type &inNewAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
1669  const Dtk_Int32 &inStartingGetText = -1,
1670  const Dtk_Int32 &inNumGetTexts = -1,
1671  const Dtk_Int32 &inStartingSetText = -1,
1672  const Dtk_Int32 &inNumSetTexts = -1);
1673 
1675  Dtk_tab<Dtk_CurvePtr> &outGeoms) const;
1676 
1680  Dtk_ErrorStatus SetInnerXAxis(const Dtk_dir &inXAxis);
1681 
1685  Dtk_ErrorStatus SetOuterXAxis(const Dtk_dir &inXAxis);
1686 
1690  Dtk_ErrorStatus SetInnerYAxis(const Dtk_dir &axis_dir);
1691 
1695  Dtk_ErrorStatus SetOuterYAxis(const Dtk_dir &axis_dir);
1696 
1702  const Dtk_dir &inYaxis);
1703 
1709  const Dtk_dir &inYaxis);
1710 
1713  const Dtk_InfoPtr& GetInfo() const;
1714 
1718 
1723 
1726  void AddText( Dtk_Text inText);
1727 
1730  void ReplaceTexts(const Dtk_tab<Dtk_Text> &inTexts);
1731 
1734  Dtk_string ConvertToDtk_string() const;
1735 
1739 
1743  Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir);
1744 };
1745 
1751 class Dtk_2dEntity : public Dtk_Entity
1752 {
1753 protected:
1754  struct Dtk_Handle; // Not defined here
1755  Dtk_Handle *_Private; // Handle
1756  enum {
1757  _typeID = DTK_TYPE_2D_ENTITY
1758  };
1760  virtual ~Dtk_2dEntity();
1761 
1764 
1769  virtual Dtk_Object* Clone() = 0;
1770 
1771 protected:
1772  void _Init();
1773  void _Reset();
1774  void _Copy(const Dtk_2dEntity &s);
1775  friend class Dtk_SmartPtr<Dtk_2dEntity>;
1776 public:
1777 
1780 
1783 
1784  virtual type_detk get_type_detk() const = 0;
1785 
1790 
1793 
1796  void AddAdditionnalGeometry( const Dtk_EntityPtr& inAdditionnalGeometry);
1797 
1800  void AddAdditionnalGeometries(const Dtk_tab<Dtk_EntityPtr>& inAdditionnalGeometries);
1801 
1804  void AddAdditionnalTexts( Dtk_CompositeText inAddtionnalTexts);
1805 
1809 
1813 };
1814 
1828 {
1829 public:
1830 
1835  {
1836  public:
1838  {
1839  Default = 0,
1840  AllAround = 1,
1841  AllOver = 2,
1842  };
1844  {
1845  switch( inEnum )
1846  {
1847  default:
1848  case Default: return L"Default";
1849  case AllAround: return L"AllAround";
1850  case AllOver: return L"AllOver";
1851  }
1852  }
1853  protected:
1856  inline void _Init()
1857  {
1858  _ApplicationZoneType = Default;
1859  }
1860  inline void _Copy(const ApplicationZone &s)
1861  {
1862  _ApplicationZoneType = s._ApplicationZoneType;
1863  Dtk_Size_t i, NumElts = s._RelatedGeomElements.size();
1864  for( i = 0 ; i < NumElts ; i++)
1865  {
1866  Dtk_CurvePtr c;
1867  s._RelatedGeomElements[i].Clone(c);
1868  _RelatedGeomElements.push_back(c);
1869  }
1870  }
1871  inline void _Reset(){ _RelatedGeomElements.clear();}
1872  public:
1873 
1877  ApplicationZone(const ApplicationZoneEnum& inApplicationZoneType,
1878  const Dtk_tab< Dtk_CurvePtr >& inRelatedGeometricalElts);
1879 
1882  {
1883  _Init();
1884  }
1885 
1887  inline ~ApplicationZone(){ _Reset();}
1888 
1890  inline void Clear()
1891  {
1892  _ApplicationZoneType = Default;
1893  _RelatedGeomElements.clear();
1894  }
1895 
1899  inline void SetApplicationData(
1900  const ApplicationZoneEnum& inApplicationZoneType,
1901  Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements )
1902  {
1903  this->_ApplicationZoneType = inApplicationZoneType;
1904  this->_RelatedGeomElements = std::move( inRelatedGeomElements );
1905  }
1908  inline ApplicationZoneEnum GetApplicationZoneType() const {return _ApplicationZoneType;}
1909 
1911  inline void GetGeometries(Dtk_tab< Dtk_CurvePtr >& outGeoms) const
1912  {
1913  Dtk_Size_t i,nb = this->_RelatedGeomElements.size();
1914  outGeoms.resize(nb);
1915  for(i=0;i<nb;i++)
1916  this->_RelatedGeomElements[i].Clone(outGeoms[i]);
1917  }
1918 
1922  inline Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
1923  {
1924  Dtk_transfo TmpMatrix;
1925  TmpMatrix.addTranslate( inTranslateDir );
1926  return Transform( TmpMatrix );
1927  }
1932  {
1933  if( inTransfo == Dtk_transfo() )
1934  return dtkNoError;
1935  Dtk_Size_t i, NumGeoms = _RelatedGeomElements.size();
1936  for (i = 0; i < NumGeoms; i++)
1937  { _RelatedGeomElements[i]->Transform( inTransfo ); }
1938  return dtkNoError;
1939  }
1940 
1943  {
1944  if (&in == this)
1945  {
1946  return *this;
1947  }
1948  _Reset();
1949  _Copy(in);
1950  return *this;
1951  }
1954  {
1955  if( &in == this )
1956  {
1957  return *this;
1958  }
1959  _ApplicationZoneType = in._ApplicationZoneType;
1960  _RelatedGeomElements = std::move( in._RelatedGeomElements );
1961  return *this;
1962  }
1963  };
1964 
1968  TerminatorTypeNone = 0,
2021 
2022  };
2024  {
2025  switch( inEnum )
2026  {
2027  case TerminatorTypeNone: return L"TerminatorTypeNone";
2028  case TerminatorTypeOpenArrow: return L"TerminatorTypeOpenArrow";
2029  case TerminatorTypeClosedArrow: return L"TerminatorTypeClosedArrow";
2030  case TerminatorTypeFillArrow: return L"TerminatorTypeFillArrow";
2031  case TerminatorTypeCrossArrow: return L"TerminatorTypeCrossArrow";
2032  case TerminatorTypeCircle: return L"TerminatorTypeCircle";
2033  case TerminatorTypeFilledCircle: return L"TerminatorTypeFilledCircle";
2034  case TerminatorTypeSquare: return L"TerminatorTypeSquare";
2035  case TerminatorTypeFilledSquare: return L"TerminatorTypeFilledSquare";
2036  case TerminatorTypeSlash: return L"TerminatorTypeSlash";
2037  case TerminatorTypeCrossedCircle: return L"TerminatorTypeCrossedCircle";
2038  case TerminatorTypeXCircle: return L"TerminatorTypeXCircle";
2039  case TerminatorTypeTriangle: return L"TerminatorTypeTriangle";
2040  case TerminatorTypeFilledTriangle: return L"TerminatorTypeFilledTriangle";
2041  case TerminatorTypePlus: return L"TerminatorTypePlus";
2042  case TerminatorTypeXCross: return L"TerminatorTypeXCross";
2043  case TerminatorTypeIntegral: return L"TerminatorTypeIntegral";
2044  case TerminatorTypeCircleCenter: return L"TerminatorTypeCircleCenter";
2045  case TerminatorTypeDoubleOpenArrow: return L"TerminatorTypeDoubleOpenArrow";
2046  case TerminatorTypeDoubleCloseArrow: return L"TerminatorTypeDoubleCloseArrow";
2047  case TerminatorTypeDoubleFillArrow: return L"TerminatorTypeDoubleFillArrow";
2048  case TerminatorTypeDoubleTriangle: return L"TerminatorTypeDoubleTriangle";
2049  case TerminatorTypeTopOpenArrow: return L"TerminatorTypeTopOpenArrow";
2050  case TerminatorTypeBottomOpenArrow: return L"TerminatorTypeBottomOpenArrow";
2051  case TerminatorTypeTopFillArrow: return L"TerminatorTypeTopFillArrow";
2052  case TerminatorTypeBottomFillArrow: return L"TerminatorTypeBottomFillArrow";
2053  case TerminatorTypeDoubleCrossArrow: return L"TerminatorTypeDoubleCrossArrow";
2054 
2055  default: return L"Unknown";
2056  }
2057  }
2059  {
2060  IncludeAll = -1,
2061  IncludeNone = 0,
2062  IncludeLeaderCurve = 1,
2063  IncludeLeaderArrowHead = 2,
2064  IncludeLeaderExtensionLine = 4,
2065  IncludeLeaderApplicationZone = 8,
2066  };
2067 
2070  {
2071  protected:
2077 
2078  inline void _Init()
2079  {
2080  m_Infos = Dtk_Info::create();
2081  m_HeadType = TerminatorTypeOpenArrow;
2082  //m_RefDir;// = Dtk_dir( 1.0, 0.0, 0.0 );
2083  //m_AxisDir;// = Dtk_dir( 0.0, 1.0, 0.0 );
2084  }
2085  inline void _Copy( const ArrowHead &s )
2086  {
2087  s.m_Infos.Clone( m_Infos );
2088  m_HeadType = s.m_HeadType;
2089  m_ArrowLocation = s.m_ArrowLocation;
2090  m_RefDir = s.m_RefDir;
2091  m_AxisDir = s.m_AxisDir;
2092  }
2093  inline void _Reset()
2094  {
2095  m_Infos = NULL;
2096  m_HeadType = TerminatorTypeOpenArrow;
2097  //m_RefDir;// = Dtk_dir( 1.0, 0.0, 0.0 );
2098  //m_AxisDir;// = Dtk_dir( 0.0, 1.0, 0.0 );
2099  }
2100  protected:
2101  public:
2102  inline ArrowHead(
2103  const Dtk_Double64 inWidth,
2104  const Dtk_Double64 inHeight,
2105  const Dtk_pnt& inArrowLocation,
2106  const LeaderTerminatorTypeEnum inTerminatorType,
2107  const Dtk_InfoPtr& inInfos,
2108  const Dtk_dir& inRefDir,
2109  const Dtk_dir& inAxisDir )
2110  {
2111  SetData( inWidth, inHeight, inArrowLocation, inTerminatorType, inInfos, inRefDir, inAxisDir );
2112  }
2114  inline ArrowHead() { _Init(); }
2116  inline ~ArrowHead() { _Reset(); }
2117 
2118  inline void SetData( const Dtk_Double64 inWidth,
2119  const Dtk_Double64 inHeight,
2120  const Dtk_pnt& inArrowLocation,
2121  const LeaderTerminatorTypeEnum inTerminatorType,
2122  const Dtk_InfoPtr& inInfos,
2123  const Dtk_dir& inRefDir,
2124  const Dtk_dir& inAxisDir )
2125  {
2126  m_HeadType = inTerminatorType;
2127  m_ArrowLocation = inArrowLocation;
2128  m_RefDir = inRefDir;
2129  m_AxisDir = inAxisDir;
2130  SetWidthHeight( inWidth, inHeight );
2131  m_Infos = inInfos;
2132  }
2133  inline const Dtk_InfoPtr& GetInfo() const { return m_Infos; }
2134  inline Dtk_InfoPtr& GetInfo() { return m_Infos; }
2135  inline const Dtk_pnt& GetArrowLocation() const { return m_ArrowLocation; }
2136  inline const LeaderTerminatorTypeEnum GetType() const { return m_HeadType; }
2137  inline void SetType( const LeaderTerminatorTypeEnum inTerminatorType ) { m_HeadType = inTerminatorType; }
2138 
2139  inline void GetDirections( Dtk_dir& outRefDir, Dtk_dir& outAxisDir ) const
2140  {
2141  outRefDir = m_RefDir; outRefDir.Normalize();
2142  outAxisDir = m_AxisDir; outAxisDir.Normalize();
2143  }
2144  inline void GetWidthHeight( Dtk_Double64& outWidth, Dtk_Double64& outHeight ) const
2145  {
2146  outWidth = m_RefDir.norm();
2147  outHeight = 2. * m_AxisDir.norm();
2148  }
2149  inline void SetWidthHeight( const Dtk_Double64 inWidth, const Dtk_Double64 inHeight )
2150  {
2151  m_RefDir.Normalize();
2152  m_AxisDir.Normalize();
2153  m_RefDir *= inWidth;
2154  m_AxisDir *= 0.5 * inHeight;
2155  }
2160  inline Dtk_ErrorStatus Translate( const Dtk_dir &inTranslateDir )
2161  {
2162  Dtk_transfo TmpMatrix;
2163  TmpMatrix.addTranslate( inTranslateDir );
2164  return Transform( TmpMatrix );
2165  }
2170  {
2171  m_RefDir = inTransfo * m_RefDir;
2172  m_AxisDir = inTransfo * m_AxisDir;
2173  m_ArrowLocation = inTransfo * m_ArrowLocation;
2174  return dtkNoError;
2175  }
2176 
2179  {
2180  if( &in == this )
2181  {
2182  return *this;
2183  }
2184  _Reset();
2185  _Copy( in );
2186  return *this;
2187  }
2188 
2189 
2190  };
2191 public:
2194  {
2195  TypeUnknown = 0,
2197  TypeAngular
2198  };
2199 
2200 protected:
2201  struct Dtk_Handle; // Not defined here
2202  Dtk_Handle *_Private; // Handle
2203  enum {
2204  _typeID = DTK_TYPE_LEADER
2205  };
2208 
2210  Dtk_Leader(const Dtk_Leader& in );
2213 
2215  const Dtk_Double64 &inWidth,
2216  const Dtk_Double64 &inHeight,
2217  const Dtk_pnt &inArrowLocation,
2218  const Dtk_Double64 &inRadius,
2219  const LeaderTerminatorTypeEnum &inTerminatorType,
2220  const Dtk_pnt &inEndingPnt,
2221  const Dtk_pnt &inCenterPnt,
2222  const Dtk_bool &IsCounterClockwise );
2224  const Dtk_Double64 &inWidth,
2225  const Dtk_Double64 &inHeight,
2226  const Dtk_pnt &inArrowLocation,
2227  const LeaderTerminatorTypeEnum &inTerminatorType,
2228  const Dtk_tab<Dtk_pnt> &inPntsArray );
2231  const Dtk_Double64 &inWidth,
2232  const Dtk_Double64 &inHeight,
2233  const Dtk_pnt &inArrowLocation,
2234  const Dtk_Double64 &inRadius,
2235  const LeaderTerminatorTypeEnum &inTerminatorType,
2236  const Dtk_pnt &inEndingPnt,
2237  const Dtk_pnt &inCenterPnt,
2238  const Dtk_bool &IsCounterClockwise);
2241  const Dtk_Double64 &inWidth,
2242  const Dtk_Double64 &inHeight,
2243  const Dtk_pnt &inArrowLocation,
2244  const LeaderTerminatorTypeEnum &inTerminatorType,
2245  const Dtk_tab<Dtk_pnt> &inPntsArray );
2246 
2248  virtual ~Dtk_Leader();
2249  inline virtual Dtk_Object* Clone() { return new Dtk_Leader( *this ); }
2250 private:
2251  void _Init();
2252  void _Reset();
2253  void _Copy(const Dtk_Leader &s);
2254 
2255  friend class Dtk_SmartPtr<Dtk_Leader>;
2256 public:
2259 
2262 
2265 
2267  static Dtk_LeaderPtr Create(const Dtk_Leader &s);
2270 
2280  static Dtk_LeaderPtr Create(const Dtk_Double64 &inWidth,
2281  const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation,
2282  const Dtk_Double64 &inRadius,
2283  const LeaderTerminatorTypeEnum &inTerminatorType,
2284  const Dtk_pnt &inEndingPnt, const Dtk_pnt &inCenterPnt,
2285  const Dtk_bool &IsCounterClockwise);
2286 
2293  static Dtk_LeaderPtr Create(const Dtk_Double64 &inWidth,
2294  const Dtk_Double64& inHeight, const Dtk_pnt &inArrowLocation,
2295  const LeaderTerminatorTypeEnum &inTerminatorType,
2296  const Dtk_tab<Dtk_pnt> &inPntsArray);
2297 
2298 
2306  Dtk_Double64 &outHeight, Dtk_pnt &outArrowLocation,
2307  LeaderTerminatorTypeEnum &outTerminatorType) const;
2308 
2313 
2317 
2320  void SetLeaderCurveColor( const Dtk_RGB& inColor );
2321 
2324  void SetLeaderCurveThicknessInMM( const Dtk_Double64 inCurveThicknessinMM );
2325 
2328  void SetLeaderCurveLineType(const Dtk_FontLineType inCurveLineType);
2329 
2333 
2337 
2340  void SetExtensionLine( const Dtk_PolylinePtr& inExtLine );
2341 
2344  void SetLeaderTerminatorType(const LeaderTerminatorTypeEnum &inTerminatorType);
2345 
2346  void SetLeaderWidthHeight(const Dtk_Double64& inWidth, const Dtk_Double64& inHeight);
2347 
2348  void SetArrowHead( const ArrowHead& inArroWHead );
2349  const ArrowHead& GetArrowHead() const;
2351 
2354  void ConvertToGeom(Dtk_tab<Dtk_CurvePtr> &outGeomsArray, const IncludeOptions inConvertToGeomFilter = IncludeAll ) const;
2355 
2359 
2362 
2366  void SetApplicationZoneType( const Dtk_Leader::ApplicationZone::ApplicationZoneEnum& inApplicationZoneType, const Dtk_tab< Dtk_CurvePtr >& inRelatedGeomElements);
2367 
2371  void GetApplicationZone(Dtk_Leader::ApplicationZone& outApplicationZone) const;
2372 
2377 
2378 
2383 
2386  const Dtk_pnt& GetArrowLocation() const;
2387 
2390  void SetAllAroundSet(const Dtk_bool & inAllAroundSetValue);
2391 
2395  double GetStubDelta() const;
2396 
2400  void SetStubDelta(const double & inStubDelta);
2401 
2402 };
2403 
2409 {
2410 protected:
2411  struct Dtk_Handle; // Not defined here
2412  Dtk_Handle *_Private; // Handle
2413  enum {
2414  _typeID = DTK_TYPE_ANNOTATION
2415  };
2417  virtual ~Dtk_Annotation();
2418 
2421 
2426 
2435  Dtk_Annotation(const Dtk_pnt &inLocationPnt, const Dtk_InfoPtr &inInfos,
2437  const Dtk_Double64 &inAngle = 0.0, const Dtk_Double64 &inOffSet = 0.0,
2438  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2439  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2440  virtual Dtk_Object* Clone() = 0;
2441 
2442 private:
2443  void _Init();
2444  void _Reset();
2445  void _Copy(const Dtk_Annotation &s);
2446  friend class Dtk_SmartPtr<Dtk_Annotation>;
2447 public:
2450 
2453 
2458 
2462 
2466  Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) const;
2467 
2473 
2477  SetAsDeprecated("Undefined", "Use Dtk_TextStyle::Justification()")
2478  Dtk_justication_type GetJustification() const;
2479 
2484  Dtk_Double64 GetRotationAngle(
2485  const Dtk_dir &inXAxis = Dtk_dir(1,0,0),
2486  const Dtk_dir& inYAxis = Dtk_dir(0,1,0)) const;
2487 
2491  Dtk_Double64 GetOffset() const;
2492 
2495  Dtk_dir GetXAxis() const;
2496 
2499  Dtk_dir GetYAxis() const;
2500 
2503  const Dtk_anchor_type& GetLocationAnchorType() const;
2504 
2507  virtual Dtk_pnt GetLocation() const;
2508 
2511 
2512  // The interface functions
2513  virtual type_detk get_type_detk() const = 0;
2514 
2518  virtual Dtk_ErrorStatus GetAnchorPoints(
2519  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const = 0;
2520 
2525  virtual Dtk_ErrorStatus SetAnchorPoint(
2526  const Dtk_pnt &inNewLocation,
2527  const Dtk_anchor_type &inLocationAnchorType) = 0;
2528 
2533  virtual Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation) = 0;
2534 
2535 
2541  Dtk_ErrorStatus SetLocation(const Dtk_pnt& location, const Dtk_anchor_type& inAnchorType);
2542 
2548  virtual Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset) = 0;
2549 
2553  virtual Dtk_ErrorStatus SetRotationAngle(
2554  const Dtk_Double64 &inRotationAngle);
2555 
2558 };
2559 
2566 {
2567 public :
2570  ObtentionTypeNotDefined = 0,
2574  ObtentionTypeMachiningForbidden
2575  };
2576 
2579  ApplyToSpecifiedSurface = 0,
2585  ApplyToAllSurfaces
2586  };
2587 
2589  ModeNone = 0,
2603  ModePerpendicular
2604  };
2605 protected:
2606  struct Dtk_Handle; // Not defined here
2607  Dtk_Handle *_Private; // Handle
2608  enum
2609  {
2610  _typeID = DTK_TYPE_ROUGHNESS
2611  };
2612 
2615 
2618  const Dtk_pnt &inLocationPnt,
2619  Dtk_Text inTopLeftText = Dtk_Text(),
2620  Dtk_Text inMiddleLeftText = Dtk_Text(),
2621  Dtk_Text inBottomLeftText = Dtk_Text(),
2622  Dtk_Text inTopRightText = Dtk_Text(),
2623  Dtk_Text inMiddleRightText = Dtk_Text(),
2624  Dtk_Text inBottomRightText = Dtk_Text(),
2625  const ObtentionTypeEnum &inObtentionType = ObtentionTypeNotDefined,
2626  const ApplyToEnum &inApplyToType = ApplyToSpecifiedSurface,
2627  const Dtk_InfoPtr &inInfos = NULL,
2629  const Dtk_Double64 &inAngle = 0.0,
2630  const Dtk_Double64 &inOffSet = 0.0,
2631  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2632  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2633 
2636  const Dtk_pnt &inLocationPnt,
2637  const Dtk_InfoPtr &inInfos,
2639  const Dtk_Double64 &inAngle = 0.0,
2640  const Dtk_Double64 &inOffSet = 0.0,
2641  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2642  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2643 
2648 
2651 
2654 
2655  inline virtual Dtk_Object* Clone() { return new Dtk_Roughness(*this); }
2656 
2657 private:
2658  void _Init();
2659  void _Copy(const Dtk_Roughness &s);
2660  void _Reset();
2661  friend class Dtk_SmartPtr<Dtk_Roughness>;
2662  friend class Dtk_Symbol;
2663 public:
2666 
2669 
2672 
2690  static Dtk_RoughnessPtr Create(const Dtk_pnt &inLocationPnt,
2691  Dtk_Text inTopLeftText = Dtk_Text(),
2692  Dtk_Text inMiddleLeftText = Dtk_Text(),
2693  Dtk_Text inBottomLeftText = Dtk_Text(),
2694  Dtk_Text inTopRightText = Dtk_Text(),
2695  Dtk_Text inMiddleRightText = Dtk_Text(),
2696  Dtk_Text inBottomRightText = Dtk_Text(),
2697  const ObtentionTypeEnum &inObtentionType = ObtentionTypeNotDefined,
2698  const ApplyToEnum &inApplyToType = ApplyToSpecifiedSurface,
2699  const Dtk_InfoPtr &inInfos = NULL,
2701  const Dtk_Double64 &inAngle = 0.0,
2702  const Dtk_Double64 &inOffSet = 0.0,
2703  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2704  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2705 
2715  static Dtk_RoughnessPtr Create(const Dtk_pnt &inLocationPnt,
2716  const Dtk_InfoPtr &inInfos,
2718  const Dtk_Double64 &inAngle = 0.0, const Dtk_Double64 &inOffSet = 0.0,
2719  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2720  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2721 
2726 
2729 
2732 
2733  Dtk_Oriented2dBBox GetOuterBoundingBox(const Dtk_bool inIncludeSymbolGeometry) const;
2739 
2745 
2751 
2757 
2763 
2769 
2775 
2781 
2787 
2793 
2799 
2804 
2809 
2814 
2819 
2824 
2829 
2834 
2839 
2844 
2849 
2854 
2859 
2864 
2869 
2874 
2877 
2883  const Dtk_pnt &inNewLocation,
2884  const Dtk_anchor_type &inLocationAnchorType);
2885 
2891 
2896 
2903 
2908  void Translate(const Dtk_dir &inTranslationDir);
2909 
2914  void ProcessSymbolInfos(Dtk_tab< Dtk_pnt >& outPnts, Dtk_Double64& outCircleRadius) const;
2915 
2918  void SetSymbolColor(Dtk_Int32 inColorId) const;
2919 
2922  void GetSymbolColor(Dtk_Int32& outColorId) const;
2923 
2924 
2928  void AddAssociatedGeometries( Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries );
2929 
2933 };
2934 
2943 {
2944 public :
2946  SymbolNone = 0,
3012  SymbolStakeWeld
3013  };
3015  {
3016  switch( inEnum )
3017  {
3018  case SymbolNone : return L"SymbolNone";
3019  case SymbolSquareButtWeld : return L"SymbolSquareButtWeld";
3020  case SymbolSingeVButtWeld : return L"SymbolSingeVButtWeld";
3021  case SymbolSingleBevelButtWeld : return L"SymbolSingleBevelButtWeld";
3022  case SymbolFlareVButtWeld : return L"SymbolFlareVButtWeld";
3023  case SymbolFlareBevelButtWeld : return L"SymbolFlareBevelButtWeld";
3024  case SymbolSingleUButtWeld : return L"SymbolSingleUButtWeld";
3025  case SymbolSingleJButtWeld : return L"SymbolSingleJButtWeld";
3026  case SymbolFilletWeld : return L"SymbolFilletWeld";
3027  case SymbolSpotWeld : return L"SymbolSpotWeld";
3028  case SymbolBackWeld : return L"SymbolBackWeld";
3029  case SymbolSteepFlankedSingleBevelButtWeld : return L"SymbolSteepFlankedSingleBevelButtWeld";
3030  case SymbolSteepFlankedSingleVWeld : return L"SymbolSteepFlankedSingleVWeld";
3031  case SymbolPlugWeld : return L"SymbolPlugWeld";
3032  case SymbolRemovableBackingStripUsed : return L"SymbolRemovableBackingStripUsed";
3033  case SymbolPermanentBackingStripUsed : return L"SymbolPermanentBackingStripUsed";
3034  case SymbolSurfacingWeld : return L"SymbolSurfacingWeld";
3035  case SymbolSeamWeld : return L"SymbolSeamWeld";
3036  case SymbolFlangeEdge : return L"SymbolFlangeEdge";
3037  case SymbolStickWeld : return L"SymbolStickWeld";
3038  case SymbolFlangeCorner : return L"SymbolFlangeCorner";
3039  case SymbolVFlareWeld : return L"SymbolVFlareWeld";
3040  case SymbolFlareBevelWeld : return L"SymbolFlareBevelWeld";
3041  case SymbolScarfWeld : return L"SymbolScarfWeld";
3042  case SymbolStudWeld : return L"SymbolStudWeld";
3043  case SymbolANSIEdgeWeld : return L"SymbolANSIEdgeWeld";
3044  case SymbolISOEdgeWeld : return L"SymbolISOEdgeWeld";
3045  case SymbolSurfaceJointWeld : return L"SymbolSurfaceJointWeld";
3046  case SymbolInclinedJointWeld : return L"SymbolInclinedJointWeld";
3047  case SymbolMeltThroughWeld: return L"SymbolMeltThroughWeld";
3048  case SymbolSolderedJointWeld: return L"SymbolSolderedJointWeld";
3049  case SymbolFoldJointWeld: return L"SymbolFoldJointWeld";
3050  case SymbolKGrooveWeld: return L"SymbolKGrooveWeld";
3051  case SymbolStakeWeld: return L"SymbolFoldJointWeldSymbolStakeWeld";
3052  default : return L"Unknown";
3053  }
3054  }
3055 
3057  ComplementarySymbolNone = 0,
3067  ComplementarySymbolFilletWeldWithSmoothBlendedFace
3068  };
3069 
3071  {
3072  WeldTextUndefinedType = 0,
3083  WeldTextWeldSymbol
3084  };
3085 
3087  {
3088  switch( inEnum )
3089  {
3090  case ComplementarySymbolNone : return L"ComplementarySymbolNone";
3091  case ComplementarySymbolWeldWithFlatFace : return L"ComplementarySymbolWeldWithFlatFace";
3092  case ComplementarySymbolWeldWithConvexFace : return L"ComplementarySymbolWeldWithConvexFace";
3093  case ComplementarySymbolWeldWithConcaveFace : return L"ComplementarySymbolWeldWithConcaveFace";
3094  case ComplementarySymbolFlushFinishedWeld : return L"ComplementarySymbolFlushFinishedWeld";
3095  case ComplementarySymbolFilletWeldWithSmoothBlendedFace : return L"ComplementarySymbolFilletWeldWithSmoothBlendedFace";
3096  default : return L"Unknown";
3097  }
3098  }
3099 
3101  FinishSymbolNone = 0,
3117  FinishSymbolUnspecified
3118  };
3120  {
3121  switch( inEnum )
3122  {
3123  case FinishSymbolNone : return L"FinishSymbolNone";
3124  case FinishSymbolChip : return L"FinishSymbolChip";
3125  case FinishSymbolFlush : return L"FinishSymbolFlush";
3126  case FinishSymbolGrind : return L"FinishSymbolGrind";
3127  case FinishSymbolHammer : return L"FinishSymbolHammer";
3128  case FinishSymbolMachine : return L"FinishSymbolMachine";
3129  case FinishSymbolRoll : return L"FinishSymbolRoll";
3130  case FinishSymbolPeening : return L"FinishSymbolPeening";
3131  case FinishSymbolUnspecified : return L"FinishSymbolUnspecified";
3132  default : return L"Unknown";
3133  }
3134  }
3135 
3136 protected:
3137  // Weld Symbol Terminology :
3138  //
3139  // OTHER SIDE
3140  // ------------
3141  // ARROW SIDE \
3142  // _\|
3143  //
3144  struct Dtk_Handle; // Not defined here
3145  Dtk_Handle *_Private; // Handle
3146  enum { _typeID = DTK_TYPE_WELDING };
3147 
3150 
3152  Dtk_Welding(const Dtk_pnt &inLocation,
3153  Dtk_CompositeText inMiddleRightText,
3154  const Dtk_bool inFieldWeldActivated,
3155  const Dtk_Char8 inIndentLineFlag,
3156  const Dtk_bool inTailActivated,
3157  const Dtk_bool inReverseTailAndField,
3158  const Dtk_InfoPtr &inInfos,
3159  Dtk_tab<Dtk_LeaderPtr> inLeaders,
3160  const Dtk_Double64 inAngle,
3161  const Dtk_Double64 inOffset,
3162  const Dtk_anchor_type inAnchorType,
3163  const Dtk_justication_type inJustification);
3164 
3166  Dtk_Welding(const Dtk_pnt &inLocation,
3167  const Dtk_InfoPtr &inInfos,
3169  const Dtk_Double64 inAngle = 0.0,
3170  const Dtk_Double64 inOffset = 0.0,
3171  const Dtk_anchor_type inAnchor_type = DTK_ANCHOR_BOTTOM_LEFT,
3172  const Dtk_justication_type inJustification = DTK_JUSTIFY_LEFT);
3173 
3178 
3181  inline virtual Dtk_Object* Clone() { return new Dtk_Welding(*this); }
3182 private:
3183  void _Init();
3184  void _Copy(const Dtk_Welding& s);
3185  void _Reset();
3186  friend class Dtk_SmartPtr<Dtk_Welding>;
3187  friend class Dtk_Symbol;
3188 public:
3191 
3194 public:
3197 
3217  static Dtk_WeldingPtr Create(const Dtk_pnt &inLocation,
3218  Dtk_CompositeText inTailText,
3219  const Dtk_bool inFieldWeldActivated,
3220  const Dtk_Char8 inIndentLineFlag,
3221  const Dtk_bool inTailActivated,
3222  const Dtk_bool inReverseTailAndField,
3223  const Dtk_InfoPtr &inInfos,
3224  Dtk_tab<Dtk_LeaderPtr> inLeaders,
3225  const Dtk_Double64 inAngle,
3226  const Dtk_Double64 inOffset,
3227  const Dtk_anchor_type inAnchorType,
3228  const Dtk_justication_type inJustification);
3229 
3239  static Dtk_WeldingPtr Create(const Dtk_pnt &inLocation,
3240  const Dtk_InfoPtr &inInfos,
3242  const Dtk_Double64 inAngle = 0.0,
3243  const Dtk_Double64 inOffset = 0.0,
3244  const Dtk_anchor_type inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
3245  const Dtk_justication_type inJustification = DTK_JUSTIFY_LEFT);
3246 
3248  static Dtk_WeldingPtr Create(const Dtk_Welding &in);
3251 
3254 
3255  //Dtk_Annotation interface
3257  Dtk_pnt (&inTabPoints)[DTK_NB_ANCHOR_TYPES]) const;
3259  Dtk_pnt (&inTabPoints)[DTK_NB_ANCHOR_TYPES]);
3260 
3263 
3267  void AddAssociatedGeometries( Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries);
3268 
3272  void AddAssociatedGeometry( Dtk_EntityPtr inAssociatedGeometry );
3273 
3276  void SetOtherSideTexts( std::unordered_map <Dtk_UInt8, Dtk_CompositeText>& inTexts );
3277 
3282 
3286 
3289  void SetArrowSideTexts( std::unordered_map <Dtk_UInt8, Dtk_CompositeText>& inTexts );
3290 
3295 
3299 
3303 
3307 
3311 
3314  void AddArrowSideAssociatedGeometry( Dtk_EntityPtr inAssociatedGeometry );
3315 
3319 
3323 
3327 
3330  void AddOtherSideAssociatedGeometry( Dtk_EntityPtr inAssociatedGeometry );
3331 
3334  std::unordered_map <Dtk_UInt8, Dtk_CompositeText> GetArrowSideAllTexts() const;
3335 
3338  std::unordered_map <Dtk_UInt8, Dtk_CompositeText> GetOtherSideAllTexts() const;
3339 
3350  const WeldingSymbolEnum inWeldingSymbol,
3351  Dtk_Text inNumWeldsText,
3352  Dtk_Text inAngleText,
3353  const ComplementarySymbolEnum inContourSymbol,
3354  Dtk_Text inFinishSymbolText,
3355  Dtk_Text inSizeText,
3356  Dtk_Text inLengthText,
3357  Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries);
3358 
3369  const WeldingSymbolEnum inWeldingSymbol,
3370  Dtk_Text inNumWeldsText,
3371  Dtk_Text inAngleText,
3372  const ComplementarySymbolEnum inContourSymbol,
3373  Dtk_Text inFinishSymbolText,
3374  Dtk_Text inSizeText,
3375  Dtk_Text inLengthText,
3376  Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries);
3377 
3380  void SetTailText( Dtk_CompositeText inTailText);
3381 
3384  void SetArrowSideSizeText( Dtk_CompositeText inArrowSideSizeText);
3385 
3388  void SetOtherSideSizeText( Dtk_CompositeText inOtherSideSizeText);
3389 
3392  void SetFieldWeldFlag(const Dtk_bool inFieldWeldFlag);
3393 
3399  void SetIndentLineFlag(const Dtk_Char8 inIndentLineFlag = -1);
3400 
3403  void SetWeldTailActivated(const Dtk_bool inTailActivated = DTK_FALSE);
3404 
3409  void SetReverseTailAndFieldFlag(const Dtk_bool inReverseTailAndField = DTK_TRUE);
3410 
3414 
3420 
3425 
3430 
3431  //ArrowSide - BottomLine - Accessors
3432 
3436 
3440 
3444 
3448 
3452 
3456 
3460 
3464 
3467 
3468  //OtherSide - _TopLine - Accessors
3472 
3476 
3480 
3484 
3488 
3492 
3496 
3500 
3503 
3507 
3510  void SetBrazingOtherSide( const Dtk_bool inBrazing = DTK_TRUE );
3511 
3515 
3518  void SetBrazingArrowSide( const Dtk_bool inBrazing = DTK_TRUE );
3519 
3523 
3527 
3531 
3538  const Dtk_bool inIncludeWeldBodyGeometries = DTK_TRUE,
3539  const Dtk_bool inIncludeOtherSideGeometries = DTK_TRUE,
3540  const Dtk_bool inIncludeArrowSideGeometries = DTK_TRUE) const;
3541 
3547  const Dtk_anchor_type &inLocationAnchorType);
3548 
3554 
3559 
3566 
3570  Dtk_Char8 FinishSymbolToDtk_Text( const FinishSymbolEnum inFinishSymbol) const;
3571 
3574 
3581 
3587 
3589 
3592  void SetArrowSideDepthText( Dtk_CompositeText inArrowSideDepthText );
3593 
3597 
3600  void SetArrowSideClearanceText( Dtk_CompositeText inArrowSideClearanceText );
3601 
3605 
3608  void SetArrowSideSecondFilletSizeText( Dtk_CompositeText inArrowSideSecondFilletSizeText );
3609 
3613 
3616  void SetArrowSideSecondFilletLengthText( Dtk_CompositeText inArrowSideSecondFilletLengthText );
3617 
3621 
3624  void SetArrowSideOpeningText( Dtk_CompositeText inArrowSideOpeningText );
3625 
3629 
3632  void SetArrowSideWeldSymbolText( Dtk_CompositeText inArrowSideWeldSymbolText );
3633 
3637 
3641 
3643 
3646  void SetOtherSideDepthText( Dtk_CompositeText inOtherSideDepthText );
3647 
3651 
3654  void SetOtherSideClearanceText( Dtk_CompositeText inOtherSideClearanceText );
3655 
3659 
3662  void SetOtherSideSecondFilletSizeText( Dtk_CompositeText inOtherSideSecondFilletSizeText );
3663 
3667 
3670  void SetOtherSideSecondFilletLengthText( Dtk_CompositeText inOtherSideSecondFilletLengthText );
3671 
3675 
3678  void SetOtherSideOpeningText( Dtk_CompositeText inOtherSideOpeningText );
3679 
3683 
3686  void SetOtherSideWeldSymbolText( Dtk_CompositeText inOtherSideWeldSymbolText );
3687 
3691 
3695 };
3696 
3704 {
3705 public:
3707  {
3708  Unknown = 0,
3709  Point = 1,
3710  Linear = 2,
3711  Rectangular = 3,
3712  Circular = 4,
3713  Annular = 5,
3714  Spherical = 6,
3715  Cylindrical = 7,
3716  Arbitrary = 8,
3717 
3718  NumTypes
3719 
3720  };
3722  {
3723  switch( inEnum )
3724  {
3725  default:
3726  case Unknown: return L"Unknown";
3727  case Point: return L"Point";
3728  case Linear: return L"Linear";
3729  case Rectangular: return L"Rectangular";
3730  case Circular: return L"Circular";
3731  case Annular: return L"Annular";
3732  case Spherical: return L"Spherical";
3733  case Cylindrical: return L"Cylindrical";
3734  case Arbitrary: return L"Arbitrary";
3735  }
3736  }
3737 
3739  {
3740  NonMovable = 0,
3741  Movable = 1
3742  };
3744  {
3745  switch( inEnum )
3746  {
3747  default:
3748  case NonMovable: return L"NonMovable";
3749  case Movable: return L"Movable";
3750  }
3751  }
3752 
3754  {
3755  DiameterValue = 0,
3756  InnerDiameterValue = 1,
3757  OuterDiameterValue = 2,
3758  WidthValue = 3,
3759  HeightValue = 4,
3760  StartPointValue = 5,
3761  EndPointValue = 6,
3762  AreaValue = 7,
3763  NumValues
3764  };
3765 
3767  {
3768  switch (inEnum)
3769  {
3770  default:
3771  case DiameterValue: return L"DiameterValue";
3772  case InnerDiameterValue: return L"InnerDiameterValue";
3773  case OuterDiameterValue: return L"OuterDiameterValue";
3774  case WidthValue: return L"WidthValue";
3775  case HeightValue: return L"HeightValue";
3776  case StartPointValue: return L"StartPointValue";
3777  case EndPointValue: return L"EndPointValue";
3778  case AreaValue: return L"AreaValue";
3779  }
3780  }
3781 
3782 protected:
3783  struct Dtk_Handle; // Not defined here
3784  Dtk_Handle *_Private; // Handle
3785  enum
3786  {
3787  _typeID = DTK_TYPE_DATUM_TARGET
3788  };
3789 
3792 
3794  Dtk_DatumTarget(const Dtk_DatumTarget& inToBeCopied);
3797 
3800  Dtk_CompositeText inBottomText, const Dtk_pnt& inLocationPnt,
3801  const Dtk_InfoPtr& inInfos,
3803  const Dtk_Double64& inAngle = 0.0, const Dtk_Double64& inOffSet = 0.0,
3804  const Dtk_bool& inHasFrame = DTK_TRUE,
3805  const Dtk_anchor_type& inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
3806  const Dtk_justication_type& inJustificationType = DTK_JUSTIFY_LEFT);
3807  inline virtual Dtk_Object* Clone() { return new Dtk_DatumTarget(*this); }
3808 
3811 private:
3812  void _Init();
3813  void _Copy(const Dtk_DatumTarget& s);
3814  void _Reset();
3815  friend class Dtk_SmartPtr<Dtk_DatumTarget>;
3816 public:
3819 
3822 
3825 
3830 
3844  Dtk_CompositeText inBottomText, const Dtk_pnt &inLocationPnt,
3845  const Dtk_InfoPtr &inInfos,
3847  const Dtk_Double64 &inAngle = 0.0, const Dtk_Double64 &inOffSet = 0.0,
3848  const Dtk_bool &inHasFrame = DTK_TRUE,
3849  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
3850  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
3851 
3856 
3860 
3865 
3870 
3877  Dtk_tab<Dtk_CurvePtr> inMovableGeom );
3878 
3883 
3888 
3893 
3897  void SetOptionnalTopTextLeader( const Dtk_LeaderPtr & inLeader );
3898 
3903 
3908 
3913 
3918 
3922  const Dtk_CompositeText &TopText() const;
3923 
3928 
3933  const Dtk_bool& HasFrame() const;
3934 
3938  void EnableFrame();
3939 
3944 
3948  void SetFrame( Dtk_Frame inFrame );
3949 
3953  const Dtk_Frame &GetFrame() const;
3954 
3959 
3961 
3962  //Dtk_Annotation interface
3967 
3972  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
3973 
3976  {
3977  return DTK_TYPE_DATUM_TARGET;
3978  }
3979 
3985  const Dtk_anchor_type &inLocationAnchorType);
3986 
3992 
3999 
4004 
4008 
4012 
4020  void Translate(const Dtk_dir &inTranslationDir);
4021 
4024 
4029 
4034 };
4035 
4045 {
4046 protected:
4065 
4066  // Color of Border Top
4068  // Color of Border Bottom
4070  // Color of Border Left
4072  // Color of Border Right
4074  // Blanked Status of Border Top
4076  // Blanked Status of Border Bottom
4078  // Blanked Status of Border Left
4080  // Blanked Status of Border Right
4084 
4085  enum
4086  {
4087  _typeID = DTK_TYPE_CELL
4088  };
4089 
4090  void _InitC();
4091  void _ResetC();
4092  void _CopyC(const Dtk_OneCell &cell);
4093 public:
4096  //Dtk_OneCell(const double &h, const double &w);
4097 
4102 
4105  Dtk_bool HasText() const {return _HasText;}
4106 
4108  Dtk_Int32 DtkDynamicType(const int& inId);
4109 
4112 
4117 
4121 
4124  void setAnchor(const Dtk_Size_t& inNumberOfAnchor);
4125 
4129 
4132  void setJustification(const Dtk_justication_type & inNewJustification);
4133 
4137 
4140  void setnbCells_Left_Right(const Dtk_Size_t &inNewVal);
4141 
4145 
4148  void setnbCells_Top_Bottom(const Dtk_Size_t& inNewVal);
4149 
4153 
4157  const Dtk_CompositeText& GetText() const;
4158 
4162 
4165  void setHeight(const double &inHeight);
4166 
4170 
4173  void setWidth(const double &inWidth);
4174 
4178 
4181  void set_min_Height(const double &inHeight);
4182 
4186 
4189  void set_min_Width(const double &min_Width);
4190 
4192  void Delete_Text();
4193 
4197 
4201 
4202 
4205  void SetBorderTopColor(const Dtk_Int32 & inBorderTopColor);
4206  void SetBorderTopColor(const Dtk_RGB & inBorderTopColor);
4207 
4211 
4214  void SetBorderBottomColor(const Dtk_Int32 & inBorderBottomColor);
4215  void SetBorderBottomColor(const Dtk_RGB & inBorderBottomColor);
4216 
4220 
4223  void SetBorderLeftColor(const Dtk_Int32 & inBorderLeftColor);
4224  void SetBorderLeftColor(const Dtk_RGB & inBorderLeftColor);
4225 
4229 
4232  void SetBorderRightColor(const Dtk_Int32 & inBorderRightColor);
4233  void SetBorderRightColor(const Dtk_RGB & inBorderRightColor);
4234 
4238 
4239 
4242  void SetBorderTopBlanked(const Dtk_Int32 & inBorderTopBlanked);
4243 
4247 
4250  void SetBorderBottomBlanked(const Dtk_Int32 & inBorderBottomBlanked);
4251 
4255 
4258  void SetBorderLeftBlanked(const Dtk_Int32 & inBorderLeftBlanked);
4259 
4263 
4266  void SetBorderRightBlanked(const Dtk_Int32 & inBorderRightBlanked);
4267 
4271 
4274  void AddAdditionnalGeometries( Dtk_tab<Dtk_EntityPtr> inAdditionnalGeometries);
4275 
4279 
4280 };
4281 
4292 {
4293 protected:
4304  enum
4305  {
4306  _typeID = DTK_TYPE_TABLE
4307  };
4310 
4312  Dtk_Table(const Dtk_Table &tab);
4313 
4315  Dtk_Table(const Dtk_Int32 &inNumRows,
4316  const Dtk_Int32 &inNumCols,
4317  const Dtk_pnt &inLocationPnt = Dtk_pnt(0,0,0),
4318  const Dtk_Double64 &inAngle = 0.0,
4319  const Dtk_InfoPtr &infos = NULL,
4321  const Dtk_Double64 &inOffSet = 0.0,
4322  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
4323  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
4324 
4327 
4328  inline virtual Dtk_Object* Clone() { return new Dtk_Table(*this); }
4329  const Dtk_OneCell * operator[](const Dtk_Size_t &inPos) const;
4331  void _CheckRowCol(const Dtk_Size_t inRow, const Dtk_Size_t inCol) const;
4332 private:
4333  void _InitT();
4334  void _Copy(const Dtk_Table &tab);
4335  void _Reset();
4336  friend class Dtk_SmartPtr<Dtk_Table>;
4337 public:
4338 
4341 
4344 
4346  static Dtk_TablePtr Create(const Dtk_Table& in);
4347 
4359  static Dtk_TablePtr Create(const Dtk_Int32 &inNumRows,
4360  const Dtk_Int32 &inNumCols,
4361  const Dtk_pnt &inLocationPnt = Dtk_pnt(0,0,0),
4362  const Dtk_Double64 &inAngle = 0.0,
4363  const Dtk_InfoPtr &infos = NULL,
4365  const Dtk_Double64 &inOffSet = 0.0,
4366  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
4367  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
4368 
4372 
4376 
4380  inline Dtk_OneCell& getCell( const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
4381  {
4382 #ifdef _DEBUG_DTK
4383  _CheckRowCol( inRow, inCol);
4384 #endif
4385  return operator[](inRow)[inCol];
4386  }
4387  inline const Dtk_OneCell& getCell( const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
4388  {
4389 #ifdef _DEBUG_DTK
4390  _CheckRowCol( inRow, inCol);
4391 #endif
4392  return operator[](inRow)[inCol];
4393  }
4394 
4395 
4396 
4397 
4398 
4403  void Set_Texts(const Dtk_Size_t &inRowIdx, const Dtk_Size_t &inColIdx,
4404  Dtk_CompositeText inText);
4405 
4408  const Dtk_Size_t& Cell_Line(const Dtk_Size_t inPos) const;
4409 
4414 
4417  const Dtk_Size_t& Cell_Col(const Dtk_Size_t inPos) const;
4418 
4423 
4424 
4428 
4432 
4435 
4442  const Dtk_CompositeText& Text(const Dtk_Size_t &inRow,
4443  const Dtk_Size_t &inCol) const;
4444 
4445  Dtk_CompositeText& Text(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol);
4446 
4451  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const ;
4452 
4458  const Dtk_anchor_type &inLocationAnchorType);
4459 
4465 
4471 
4476 
4480 
4483 };
4484 
4492 class Dtk_Grid : public Dtk_Annotation //Dtk_2dEntity
4493 {
4494 protected:
4495  struct Dtk_Handle; // Not defined here
4496  Dtk_Handle *_Private; // Handle
4497  enum
4498  {
4499  _typeID = DTK_TYPE_GRID
4500  };
4501 
4502 public:
4504  {
4507  Always
4508  };
4509 
4511  {
4514  Local
4515  };
4516 
4517 protected:
4520  _Private( nullptr )
4521  {
4522  };
4523 
4525  Dtk_Grid(const Dtk_Grid &grid);
4526 
4527  Dtk_Grid(const Dtk_Oriented2dBBox &inUVBBox,
4528  const Dtk_Double64 &inUSpacing,
4529  const Dtk_Double64 &inVSpacing,
4530  const Dtk_Int32 &inUMinorPerMajor,
4531  const Dtk_Int32 &inVMinorPerMajor,
4532  //style
4533  const Dtk_RGB &inLineColor,
4534  const Dtk_FontLineType &inMajorLineStyle,
4535  const Dtk_FontLineType &inMinorLineStyle,
4536  const Dtk_Double64 &inMajorLineWidth,
4537  const Dtk_Double64 &inMinorLineWidth,
4538  const Dtk_bool &inDisplayGridOpt,
4539  const Dtk_bool &inDisplayOnTopOpt,
4540  const Dtk_bool &inDisplayMajorLinesOpt,
4541  const ShowLabelOption &inShowLabelOpt,
4542  const OriginReferenceOption &inOriginReferenceOpt,
4543  const Dtk_Double64 &inConceptionUnit);
4544 
4547 
4548  inline virtual Dtk_Object* Clone() { return new Dtk_Grid(*this); }
4549 
4550 private:
4551  void _Init();
4552  void _Copy(const Dtk_Grid &grid);
4553  void _Reset();
4554  friend class Dtk_SmartPtr<Dtk_Grid>;
4555 
4556 
4557  Dtk_Double64 GetConceptionUnit() const;
4558  Dtk_bool GetDrawLabelsInOriginUnitOption() const;
4559 public:
4560 
4563 
4566 
4568  static Dtk_GridPtr Create(const Dtk_Grid& in);
4569 
4582  static Dtk_GridPtr Create(const Dtk_Oriented2dBBox &inUVBBox,
4583  const Dtk_Double64 &inUSpacing,
4584  const Dtk_Double64 &inVSpacing,
4585  const Dtk_Int32 &inUMinorPerMajor = 1,
4586  const Dtk_Int32 &inVMinorPerMajor = 1,
4587  //style
4588  const Dtk_RGB &inLineColor = Dtk_RGB(),
4589  const Dtk_FontLineType &inMajorLineStyle = DTK_NO_PATTERN,
4590  const Dtk_FontLineType &inMinorLineStyle = DTK_NO_PATTERN,
4591  const Dtk_Double64 &inMajorLineWidth = 1.0,
4592  const Dtk_Double64 &inMinorLineWidth = 1.0,
4593  const Dtk_bool &inDisplayGridOpt = DTK_TRUE,
4594  const Dtk_bool &inDisplayOnTopOpt = DTK_TRUE,
4595  const Dtk_bool &inDisplayMajorLinesOpt = DTK_FALSE,
4596  const ShowLabelOption &inShowLabelOpt = Dtk_Grid::Always,
4597  const OriginReferenceOption &inOriginReferenceOpt = Dtk_Grid::Local,
4598  const Dtk_Double64 &inConceptionUnit = 1.0);
4599 
4603 
4607 
4611 
4615 
4619 
4623 
4627 
4631 
4635 
4641 
4647 
4653 
4659 
4665 
4666 
4669 
4674 
4679  Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
4680 
4686  const Dtk_anchor_type &inLocationAnchorType);
4687 
4693 
4699 
4703  //Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle);
4704 
4707  //Dtk_ErrorStatus ProcessTextsPlacement();
4708 
4711 
4715 
4719 };
4720 
4721 
4722 
4728 {
4729 public:
4732  LinearDimension = 0,
4752  LengthDimension
4753  };
4755  BasicTypeNone = 0,
4759  BasicTypeOblong
4760  };
4761 
4763  ShowDualValueNone = 0,
4766  ShowDualValueSydeBySide
4767  };
4768 protected:
4769  struct Dtk_Handle; // Not defined here
4770  Dtk_Handle *_Private; // Handle
4771  enum {
4772  _typeID = DTK_TYPE_DIMENSION
4773  };
4776 
4779 
4784 
4786  Dtk_Dimension(const DimensionTypeEnum &inDimensionType,
4787  Dtk_CompositeText inTexts);
4789 
4790  inline virtual Dtk_Object* Clone() { return new Dtk_Dimension(*this); }
4791 
4792 private:
4793  void _Init();
4794  void _Copy(const Dtk_Dimension &s);
4795  void _Reset();
4796  friend class Dtk_SmartPtr<Dtk_Dimension>;
4797 public:
4798  // Downcasting
4799 
4802 
4805 
4808 
4813 
4817  static Dtk_DimensionPtr Create(const DimensionTypeEnum &inDimensionType,
4818  Dtk_CompositeText inTexts);
4819 
4827  SetAsDeprecated( "2025.4", "Use Dtk_ErrorStatus Dtk_Leader::SetExtensionLine(const Dtk_PolylinePtr &) and Dtk_ErrorStatus AddLeader( const Dtk_LeaderPtr& leader ) instead" )
4828  Dtk_ErrorStatus AddLeaderWithExtensionLine(
4829  const Dtk_LeaderPtr &inLeader,
4830  Polyline_detk* const &inExtensionLine);
4831 
4837  SetAsDeprecated( "2025.4", "Use Dtk_ErrorStatus Dtk_Leader::SetExtensionLine(const Dtk_PolylinePtr &) and Dtk_ErrorStatus AddLeader( const Dtk_LeaderPtr& leader ) instead" )
4838  Dtk_ErrorStatus AddLeaderWithExtensionLine(const Dtk_LeaderPtr &inLeader,
4839  const Dtk_tab<Dtk_pnt> &inExtensionLinePnts);
4840 
4844  Dtk_ErrorStatus AddLeader( const Dtk_LeaderPtr& leader );
4845 
4847  type_detk get_type_detk() const
4848  {
4849  return DTK_TYPE_DIMENSION;
4850  }
4851 
4856 
4859  const Dtk_CompositeText& GetTexts() const;
4860 
4864 
4868  SetAsDeprecated( "2025.4", "Use Dtk_LeaderPtr GetNumLeaders() and Dtk_ErrorStatus Dtk_Leader::GetExtensionLine() instead" )
4869  Dtk_Size_t GetNumExtensionLines() const;
4870 
4874  Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) const;
4875 
4880  SetAsDeprecated( "2025.4", "Use Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) and Dtk_ErrorStatus Dtk_Leader::GetExtensionLine() instead" )
4881  Dtk_CurvePtr GetExtensionLineAsCurve(const Dtk_Size_t &inPos) const;
4882 
4885  DimensionTypeEnum GetDimensionType() const;
4886 
4892  SetAsDeprecated( "2025.4", "Use Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) and Dtk_ErrorStatus Dtk_Leader::GetExtensionLine() instead" )
4893  Dtk_ErrorStatus ConvertExtensionLineToGeometries(
4894  const Dtk_Size_t &inExtLinePos,
4895  Dtk_tab<Dtk_CurvePtr> &outGeomsArray) const;
4896 
4899  Dtk_Size_t GetNumExtraGeometries() const;
4900 
4904  Dtk_CurvePtr GetExtraGeometryAsCurve(const Dtk_Size_t &inPos) const;
4905 
4908  void SetBasicDimensionType(const BasicDimensionTypeEnum& inBasicDimensionTypeEnum) const;
4909 
4913  BasicDimensionTypeEnum& GetBasicDimensionType() const ;
4914 
4917  void SetBasicDimensionType(const BasicDimensionTypeEnum& inBasicDimensionTypeEnum, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements) const;
4918 
4922  BasicDimensionTypeEnum& GetBasicDimensionType(Dtk_tab< Dtk_CurvePtr >& inRelatedGeomElements) const ;
4923 
4927  const BasicDimensionTypeEnum& BasicDimensionType() const;
4928 
4932  BasicDimensionTypeEnum& BasicDimensionType();
4933 
4937  const ShowDualValueTypeEnum& ShowDualValueType() const;
4938 
4942  ShowDualValueTypeEnum& ShowDualValueType();
4943 
4944  Dtk_ErrorStatus GetTextVerticalOffSet(double& outOffSet);
4945  Dtk_ErrorStatus GetTextRefPoint(Dtk_pnt& outRefPnt);
4946 
4949 
4953  Dtk_bool IsFakeDimension() const;
4954 
4958  void SetFakeDimensionStatus(const Dtk_bool inIsFakeDimension);
4959 
4963  void SetFrameType( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements);
4964 
4968  void GetFrame(Dtk_Frame& outFrame) const;
4969 
4970 
4972  void ClearLeader();
4973 
4974 };
4975 
4983 {
4984 protected:
4985  struct Dtk_Handle; // Not defined here
4986  Dtk_Handle *_Private; // Handle
4987  enum {
4988  _typeID = DTK_TYPE_REFERENCE
4989  };
4992  const Dtk_Oriented2dBBox& inOuterBBox);
4993 
4998 
5001 
5004  const DTK_FDT_MODIFIER &inMaterialModifier);
5005 
5007  void _ReplaceFirstMaterialModifer(const Dtk_Size_t &inReferencePos,
5008  const DTK_FDT_MODIFIER &inMaterialModifier);
5009  inline virtual Dtk_Object* Clone() { return new Dtk_ReferenceBlock(*this); }
5010 
5011 private:
5012  void _Init();
5013  void _Copy(const Dtk_ReferenceBlock &s);
5014  void _Reset();
5015  friend class Dtk_SmartPtr<Dtk_ReferenceBlock>;
5016 public:
5017 
5024  const DTK_FDT_MODIFIER &inMaterialModifier = DTK_FDT_MODIFIER_NONE,
5025  const Dtk_FdtPtr &inLinkedFdt = NULL);
5026 
5031  Dtk_ErrorStatus AddReference( Dtk_string inFullTextWithMaterialCondition,
5032  const Dtk_FdtPtr &inLinkedFdt);
5033 
5036 
5039 
5040 // //! \DtkInternal
5041 // void _PropagateOrientation(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
5042 
5045  const Dtk_Oriented2dBBox& inInnerBBox,
5046  const Dtk_Oriented2dBBox& inOuterBBox);
5047 
5052 
5057  //static Dtk_ReferenceBlockPtr Create(
5058  // const Dtk_Text &inFullTextWithMaterialCondition,
5059  // const Dtk_FdtPtr &fdt);
5060  //
5066  //static Dtk_ReferenceBlockPtr Create(const Dtk_Text &inLabel,
5067  // const DTK_FDT_MODIFIER &inMaterialModifier = DTK_FDT_MODIFIER_NONE,
5068  // const Dtk_FdtPtr &inLinkedFdt = Dtk_FdtPtr(NULL));
5069 
5074 
5079  const Dtk_string& GetReferenceLabel(const Dtk_Size_t &inReferencePos) const;
5080 
5085 
5090 
5094  DTK_FDT_MODIFIER GetMaterialModifier(const Dtk_Size_t &inReferencePos) const;
5095 
5098  Dtk_FdtPtr GetLinkedtFdt(const Dtk_Size_t &inReferencePos) const;
5099 
5103 
5110  const Dtk_pnt &inNewLocation,
5111  const Dtk_anchor_type &inLocationAnchorType=DTK_ANCHOR_BOTTOM_LEFT,
5112  const Dtk_Double64 &inOffSet = 0.0);
5113 
5119  Dtk_pnt (&outTabPoints)[DTK_NB_ANCHOR_TYPES],
5120  const Dtk_Double64 &inOffSet = 0.0) const;
5121 
5125 
5128  void Translate(const Dtk_dir &inTranslationDir);
5129 
5132 
5134 
5137  void SetOuterBoundingBox(const Dtk_Oriented2dBBox& inOuterBBox) const;
5138 
5139 
5142  void SetInnerBoundingBox(const Dtk_Oriented2dBBox& inInnerBBox);
5143 
5145 
5146 };
5147 
5156 {
5157 protected:
5158  struct Dtk_Handle; // Not defined here
5159  Dtk_Handle *_Private; // Handle
5160  enum {
5161  _typeID = DTK_TYPE_REFERENCE_FRAME
5162  };
5163 
5166 
5171 
5174  inline virtual Dtk_Object* Clone() { return new Dtk_ReferenceFrame(*this); }
5175 
5178 private:
5179  void _Init();
5180  void _Reset();
5181  void _Copy(const Dtk_ReferenceFrame &s);
5182  friend class Dtk_SmartPtr<Dtk_ReferenceFrame>;
5183 
5184 public:
5187 
5190 
5193 
5198 
5203  const Dtk_ReferenceBlockPtr & inFirstReferenceBlock);
5204 
5209 
5214  const Dtk_ReferenceBlockPtr & inReferenceBlock);
5215 
5216 // //! \DtkInternal
5217 // void _PropagateOrientation(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
5218 
5222 
5228  const Dtk_Double64& inOffSet = 0.0) const;
5229 
5236  const Dtk_pnt &inNewLocation,
5237  const Dtk_anchor_type &inLocationAnchorType,
5238  const Dtk_Double64 &inOffSet = 0.0);
5239 
5245  Dtk_ReferenceBlockPtr& Reference(const Dtk_Size_t &inReferencePos);
5246 
5253  const Dtk_Size_t &inReferencePos) const;
5254 
5259 
5264 
5269 
5274 
5279 
5284 
5285  void Translate(const Dtk_dir& inTranslationDir);
5286 
5288 };
5289 
5298 {
5299 protected:
5300  struct Dtk_Handle; // Not defined here
5301  Dtk_Handle *_Private; // Handle
5302  enum {
5303  _typeID = DTK_TYPE_TOL_SPEC
5304  };
5307 
5309  Dtk_ToleranceSpecification( Dtk_Text inFullTextWithMaterialCondition,
5310  const Dtk_ReferenceFramePtr
5311  &inReferenceFrame = Dtk_ReferenceFrame::Create());
5312 
5317 
5320  inline virtual Dtk_Object* Clone() { return new Dtk_ToleranceSpecification(*this); }
5321 
5322 private:
5323  void _Init();
5324  void _Copy(const Dtk_ToleranceSpecification &s);
5325  void _Reset();
5327 public:
5328  // Downcasting
5329 
5332 
5335 
5338 
5344  Dtk_Text inFullTextWithMaterialCondition,
5345  const Dtk_ReferenceFramePtr &inReferenceFrame = Dtk_ReferenceFrame::Create());
5346 
5351 
5356 
5362 
5371  Dtk_ReferenceBlockPtr& Reference( const Dtk_Size_t &inReferencePos );
5372 
5381  const Dtk_ReferenceBlockPtr& Reference( const Dtk_Size_t &inReferencePos ) const;
5382 
5391 
5400 
5409 
5418 
5427 
5436 
5439 
5442 
5443 
5450  Dtk_tab<Dtk_CurvePtr> &outGeoms);
5451 
5457  const Dtk_Int32& ignoreadd = 0) const;
5458 
5464  const Dtk_Int32& ignoreadd=0);
5465 
5466 
5473  const Dtk_bool inIncludeReferenceFrame = DTK_TRUE,
5474  const Dtk_bool InIncludeIndicators = DTK_TRUE ) const;
5475 
5477  SetAsDeprecated( "2021.1", "Use SetMainValue mehod to alter MainValue instead." )
5479 
5482  SetAsDeprecated( "2021.1", "Use SetMainValue mehod to alter MainValue instead." )
5484 
5485  Dtk_ErrorStatus GetOuterBoundingBoxWithOutRefFrame(Dtk_Oriented2dBBox& outOuterBBox) const;
5486 
5489  SetAsDeprecated( "2021.1", "Use SetMainValue mehod to alter MainValue instead." )
5490  Dtk_ErrorStatus SetOuterBoundingBoxWithOutRefFrame(const Dtk_Oriented2dBBox& inOuterBBox) ;
5491 
5496  Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation,
5497  const Dtk_anchor_type &inLocationAnchorType);
5498 
5502  Dtk_ErrorStatus SetXAxis(const Dtk_dir &dir);
5503 
5507  Dtk_ErrorStatus SetYAxis(const Dtk_dir &dir);
5508 
5511  const Dtk_CompositeText& GetMainValue() const;
5512 
5514  void SetMainValue( Dtk_CompositeText inNewMainValue );
5515 
5519  const Dtk_ReferenceFramePtr& ReferenceFrame() const;
5520 
5524  Dtk_ReferenceFramePtr& ReferenceFrame();
5525 
5528  void AddIndicator( const Dtk_FCFFeatureIndicatorPtr& inIndicator );
5529 
5532  Dtk_Size_t GetNumIndicators() const;
5533 
5538  const Dtk_FCFFeatureIndicatorPtr& GetIndicator( const Dtk_Size_t inIndicatorIndex ) const;
5539 
5544  Dtk_FCFFeatureIndicatorPtr& GetIndicator( const Dtk_Size_t inIndicatorIndex );
5545 
5548  DTK_FDT_MODIFIER GetMaterialModifier() const;
5549 
5552  Dtk_bool HasFreeStateModifier() const;
5553 
5556  Dtk_dir GetXAxis() const;
5557 
5560  Dtk_dir GetYAxis() const;
5561 
5564 
5568  void Translate(const Dtk_dir &inTranslationDir);
5569 };
5570 
5579 {
5580 protected:
5581  struct Dtk_Handle; // Not defined here
5582  Dtk_Handle *_Private; // Handle
5583  enum {
5584  _typeID = DTK_TYPE_GEOM_TOL
5585  };
5586 
5589 
5594  inline virtual Dtk_Object* Clone() { return new Dtk_GeometricalTolerance(*this); }
5597 private:
5598  void _Init();
5599  void _Reset();
5600  void _Copy(const Dtk_GeometricalTolerance &s);
5601  friend class Dtk_SmartPtr<Dtk_GeometricalTolerance>;
5602 public:
5603 
5606 
5609 
5612 
5615 
5618 
5621  const Dtk_GeometricalTolerance &in);
5624  Dtk_GeometricalTolerance&& in );
5625 
5628  const Dtk_GeometricalTolerance &in);
5632 
5637  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
5638 
5644  const Dtk_bool& inProcessAddtionnalTexts) const;
5645 
5651  const Dtk_pnt &inNewLocation,
5652  const Dtk_anchor_type& inLocationAnchorType);
5653 
5660  const Dtk_anchor_type &inLocationAnchorType,
5661  const Dtk_bool &inProcessAddtionnalTexts);
5662 
5668 
5675 
5680 
5686 
5692 
5698  const Dtk_Size_t &inPos) const;
5699 
5705  const Dtk_Size_t &inPos) const;
5706 
5713  const Dtk_Size_t& inPos);
5714 
5722 
5726 
5731  const Dtk_ToleranceSpecificationContainerPtr &inTolSpecCont);
5732 
5733 // //! \DtkInternal
5734 // void IPropagateOrientation();
5735 
5737  const Dtk_bool& inProcessAddtionnalTexts,
5738  Dtk_Oriented2dBBox& outOuterBBox) const;
5739 
5740  void Translate(const Dtk_dir& inTranslationDir);
5741 
5744  void SetLetteringColor(const Dtk_RGB &inLetteringColor);
5745 
5748  const Dtk_RGB& GetLetteringColor() const ;
5749 
5752  void SetFrameColor(const Dtk_RGB &inFrameColor);
5753 
5756  const Dtk_RGB& GetFrameColor() const ;
5757 
5758 };
5759 
5765 {
5766 public:
5768  {
5769  Unknown = 0,
5778  };
5779 protected:
5783  void _Init();
5785  void _Reset();
5786 public:
5787 
5793  const Dtk_Oriented2dBBox& inOuterBoundingBox,
5794  Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts )
5795  {
5796  SetIndicatorTypeData( inIndicatorType,
5797  inOuterBoundingBox,
5798  std::move( inRelatedGeometricalElts ) );
5799  }
5800 
5803  {
5804  _Init();
5805  }
5807  Dtk_FCFFeatureIndicatorType( const Dtk_FCFFeatureIndicatorType & in ) : m_Type( in.m_Type ), m_RelatedGeomElements( in.m_RelatedGeomElements ), m_OuterBBox( in.m_OuterBBox )
5808  {
5809  }
5811  Dtk_FCFFeatureIndicatorType( Dtk_FCFFeatureIndicatorType&& in ) DTK_NOEXCEPT : m_Type( in.m_Type ), m_RelatedGeomElements( std::move( in.m_RelatedGeomElements ) ), m_OuterBBox( in.m_OuterBBox )
5812  {
5813  }
5814 
5817  {
5818  _Reset();
5819  }
5820 
5822  inline void Clear()
5823  {
5824  _Reset();
5825  }
5826 
5827 
5833  const Dtk_FCFFeatureIndicatorTypeEnum& inIndicatorType,
5834  const Dtk_Oriented2dBBox& inOuterBoundingBox,
5835  Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements )
5836  {
5837  m_Type = inIndicatorType;
5838  m_OuterBBox = inOuterBoundingBox;
5839  m_RelatedGeomElements = std::move( inRelatedGeomElements );
5840  }
5844  {
5845  return m_Type;
5846  }
5847 
5851 
5855  {
5856  return m_OuterBBox;
5857  }
5861  Dtk_ErrorStatus Translate( const Dtk_dir &inTranslateDir );
5862 
5867 
5870  {
5871  if( &in == this )
5872  {
5873  return *this;
5874  }
5875  _Reset();
5876  _Copy( in );
5877  return *this;
5878  }
5881  {
5882  if( &in == this )
5883  {
5884  return *this;
5885  }
5886  m_Type = in.m_Type;
5887  m_RelatedGeomElements = std::move( in.m_RelatedGeomElements );
5888  m_OuterBBox = in.m_OuterBBox;
5889 
5890  return *this;
5891  }
5892 };
5893 
5902 {
5903 protected:
5904  struct Dtk_Handle; // Not defined here
5905  Dtk_Handle *m_Private; // Handle
5906  enum
5907  {
5909  };
5910 
5913  {
5914  _Init();
5915  }
5916 
5919  {
5920  _Init();
5921  _Copy( in );
5922  }
5923 
5925  Dtk_FCFFeatureIndicator( Dtk_FCFFeatureIndicator&& in ) DTK_NOEXCEPT : Dtk_Object( std::move( in ) ), m_Private( in.m_Private )
5926  {
5927  in.m_Private = nullptr;
5928  }
5929 
5932  Dtk_Text inSymbol,
5933  Dtk_Text inDatumFeatureIdentifier );
5934  inline virtual Dtk_Object* Clone()
5935  {
5936  return new Dtk_FCFFeatureIndicator( *this );
5937  }
5938 
5941  {
5942  _Reset();
5943  }
5944 private:
5945  void _Init();
5946  void _Reset();
5947  void _Copy( const Dtk_FCFFeatureIndicator &s );
5948  friend class Dtk_SmartPtr<Dtk_FCFFeatureIndicator>;
5949 
5950 public:
5952  inline Dtk_Int32 DtkDynamicType( const Dtk_Int32 &inId )
5953  {
5954  if( inId == _typeID )
5955  return 1;
5956  return Dtk_Object::DtkDynamicType( inId );
5957  }
5960  {
5961  if( s->DtkDynamicType( _typeID ) )
5962  return static_cast< Dtk_FCFFeatureIndicator* >( s );
5963  return NULL;
5964  }
5965  inline void Clear()
5966  {
5967  _Reset();
5968  _Init();
5969  }
5970 
5973  {
5974  return new Dtk_FCFFeatureIndicator();
5975  }
5976 
5979  {
5980  return new Dtk_FCFFeatureIndicator( in );
5981  }
5984  {
5985  return new Dtk_FCFFeatureIndicator( std::move( in ) );
5986  }
5987 
5993  inline static Dtk_FCFFeatureIndicatorPtr Create( Dtk_FCFFeatureIndicatorType inFeatureIndicatorType,
5994  Dtk_Text inSymbol,
5995  Dtk_Text inDatumFeatureIdentifier )
5996  {
5997  return new Dtk_FCFFeatureIndicator( std::move( inFeatureIndicatorType ), std::move( inSymbol ), std::move( inDatumFeatureIdentifier ) );
5998  }
5999 
6004 
6010 
6011 
6015 
6018  const Dtk_Text& GetSymbol() const;
6019 
6023 
6029  const Dtk_pnt &inNewLocation,
6030  const Dtk_anchor_type &inLocationAnchorType );
6031 
6035  Dtk_ErrorStatus Translate( const Dtk_dir& inTranslationDir );
6036 
6041 
6045 
6052 
6053 
6054 };
6055 
6064 {
6065 public:
6066  enum TypeEnum {
6067  Typeunknown = 0,
6097  TypeAxisIntersection
6098  };
6099 protected:
6100  struct Dtk_Handle; // Not defined here
6101  Dtk_Handle *_Private; // Handle
6102  enum {
6103  _typeID = DTK_TYPE_GEOM_TOL
6104  };
6113  const TypeEnum &inTolSpecContType,
6114  const Dtk_Oriented2dBBox& inInnerTolTypeBBox,
6115  const Dtk_Oriented2dBBox& inOuterTolTypeBBox);
6116 
6119  inline virtual Dtk_Object* Clone() { return new Dtk_ToleranceSpecificationContainer(*this); }
6120 
6121 private:
6122  void _Init();
6123  void _Reset();
6126 public:
6127 
6128 
6132 
6135 
6142 
6147  const TypeEnum &inTolSpecContType,
6148  const Dtk_Oriented2dBBox& inInnerTolTypeBBox,
6149  const Dtk_Oriented2dBBox& inOuterTolTypeBBox );
6150 
6151 
6155 
6156 
6159  void SetToleranceTypeOuterBoundingBox(const Dtk_Oriented2dBBox& inOuterBBox ) const;
6160 
6164 
6167  void SetToleranceTypeInnerBoundingBox( const Dtk_Oriented2dBBox& inInnerBBox ) const;
6168 
6174  const Dtk_Size_t &inTolSpecPos,
6175  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
6176 
6181  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
6182 
6184  const Dtk_Size_t& inTolSpecPos,
6185  Dtk_Oriented2dBBox& outOuterBBox) const;
6186 
6187 // //! \DtkInternal
6188 // void _PropagateOrientation();
6189 
6193 
6200 
6205  const Dtk_ToleranceSpecificationPtr &inTolSpec);
6206 
6211  const Dtk_Size_t &inPos) const;
6212 
6218  const Dtk_Size_t &inPos,
6219  const Dtk_ToleranceSpecificationPtr &inNewTolSpec);
6220 
6225  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES],
6226  const Dtk_Int32 &ref_tol_spec_ind = -1) const;
6227 
6232 
6237 
6242 
6247 
6252  const Dtk_Text& TopText() const;
6253 
6258  const Dtk_Text& BottomText() const;
6259 
6264  const Dtk_Text& GetRightText() const;
6265 
6270  const Dtk_Text& GetLeftText() const;
6271 
6275 
6279 
6283 
6287 
6288 
6292 
6296 
6300 
6304 
6311  Dtk_CompositeText &outCompositeText,
6312  Dtk_tab<Dtk_CurvePtr> &outGeoms);
6313 
6318 
6323 
6324 // //! \DtkInternal
6325 // void _PropagateOrientation(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
6326 
6331  const Dtk_bool& ProcessAddtionnalTexts) const;
6332 
6339  const Dtk_pnt &inNewLocation,
6340  const Dtk_anchor_type &inLocationAnchorType,
6341  const Dtk_bool &inProcessAdditionnalTexts);
6342 
6348 
6351 
6355  void Translate(const Dtk_dir &inTranslationDir);
6356 
6358  const Dtk_bool& inProcessAddtionnalTexts,
6359  Dtk_Oriented2dBBox& outOuterBBox) const;
6360 };
6361 
6368 {
6369 public:
6370  enum TypeEnum {
6371  TypeUnknown = -1,
6372  TypeNote = 0,
6398  TypeArrow
6399  };
6400  static inline const Dtk_string TypeEnumToString(const TypeEnum& inEnum)
6401  {
6402  switch( inEnum )
6403  {
6404  case TypeNote: return L"TypeNote";
6405  case TypeDatum: return L"TypeDatum";
6406  case TypeBalloon: return L"TypeBalloon";
6407  case TypeDatumTarget: return L"TypeDatumTarget";
6408  case TypeRoughness: return L"TypeRoughness";
6409  case TypeDimension: return L"TypeDimension";
6410  case TypeFlagNote: return L"TypeFlagNote";
6411  case TypeGeometricalTolerance: return L"TypeGeometricalTolerance";
6412  case TypeAnnotationTable: return L"TypeAnnotationTable";
6413  case TypeCell: return L"TypeCell";
6414  case TypeTable: return L"TypeTable";
6415  case TypeCallout: return L"TypeCallout";
6416  case TypeWelding: return L"TypeWelding";
6417  case TypeCoordinateDimension: return L"TypeCoordinateDimension";
6418  case TypeGeom: return L"TypeGeom";
6419  case TypeAxis: return L"TypeAxis";
6420  case TypeAxisSystem: return L"TypeAxisSystem";
6421  case TypeCenterLine: return L"TypeCenterLine";
6422  case TypeCenterMark: return L"TypeCenterMark";
6423  case TypeGrid: return L"TypeGrid";
6424  case TypeHatching: return L"TypeHatching";
6425  case TypeFullBoltCircle: return L"TypeFullBoltCircle";
6426  case TypeCustomSymbol: return L"TypeCustomSymbol";
6427  case TypeHoleNote: return L"TypeHoleNote";
6428  case TypeUrl: return L"TypeUrl";
6429  case TypeArrow: return L"TypeArrow";
6430  default: return L"Unknown";
6431  }
6432  }
6433 
6434 protected:
6435  struct Dtk_Handle; // Not defined here
6436  Dtk_Handle *_Private; // Handle
6437  enum { _typeID = DTK_TYPE_SYMBOL };
6438 protected:
6439 
6441  Dtk_Symbol(const Dtk_Dimension &inToBeConverted,const Dtk_bool &inKeepLeaderAsLeader);
6442 
6444  Dtk_Symbol(Dtk_Table& inToBeConverted, const Dtk_bool& inTextAutoFlip = DTK_FALSE);
6445 
6448  const Dtk_GeometricalTolerance& inToBeConverteds,
6449  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6450 
6453  const Dtk_Roughness &inToBeConverted,
6454  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6455 
6458  const Dtk_DatumTarget &inToBeConverted,
6459  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6460 
6463  const Dtk_Welding &inToBeConverted,
6464  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6467  const Dtk_CompositeEntity &inToBeConverted,
6468  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6471  const Dtk_Grid &inGrid,
6472  const Dtk_bool &text_auto_flip = DTK_FALSE);
6473 
6475  Dtk_Symbol(const Dtk_Region &inRegion,
6476  const Dtk_bool &text_auto_flip);
6477 
6480 
6485 
6488  inline virtual Dtk_Object* Clone() { return new Dtk_Symbol(*this); }
6489 
6492 
6493 private:
6494  void _Init();
6495  void _Reset();
6496  void _Copy(const Dtk_Symbol &s);
6497  friend class Dtk_SmartPtr<Dtk_Symbol>;
6498 public:
6501 
6504 
6507 
6509  static Dtk_SymbolPtr Create( const Dtk_Symbol &in );
6512 
6518  const Dtk_pnt &inLocation,
6519  const Dtk_anchor_type &inLocationAnchorType);
6520 
6525  static Dtk_SymbolPtr Create( const Dtk_DimensionPtr &inToBeConverted ,
6526  const Dtk_bool &inKeepLeaderAsLeader = DTK_FALSE );
6527 
6533  const Dtk_DatumTargetPtr &inToBeConverted,
6534  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6535 
6541  const Dtk_GeometricalTolerancePtr &inToBeConverted,
6542  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6543 
6549  const Dtk_TablePtr &inToBeConverted,
6550  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6551 
6557  const Dtk_RoughnessPtr &inToBeConverted,
6558  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6559 
6565  const Dtk_GridPtr &inToBeConverted,
6566  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6567 
6573  const Dtk_RegionPtr &inToBeConverted,
6574  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6575 
6581  const Dtk_AnnotationPtr &inToBeConverted,
6582  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6583 
6590  const Dtk_2dEntityPtr &inToBeConverted,
6591  const Dtk_bool &inTextAutoFlip = DTK_FALSE,
6592  const Dtk_bool &inKeepLeaderAsLeader = DTK_FALSE );
6593 
6599  const Dtk_WeldingPtr &inToBeConverted,
6600  const Dtk_bool &inTextAutoFlip);
6601 
6607  const Dtk_CompositeEntityPtr &inToBeConverted,
6608  const Dtk_bool &inTextAutoFlip);
6609 
6614 
6619 
6623 
6627  Dtk_EntityPtr GetGeomElement( const Dtk_Size_t &inPos ) const;
6628 
6631 
6635  const Dtk_CompositeText& Texts()const;
6636 
6641 
6646 
6650  void SetFrameType( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements);
6651 
6655  void GetFrame(Dtk_Frame& outFrame) const;
6656 
6660  const TypeEnum& SymbolType()const;
6661 
6666 
6671 
6674 
6680  const Dtk_pnt &inNewLocation,
6681  const Dtk_anchor_type &inLocationAnchorType);
6682 
6687  Dtk_ErrorStatus SetLocation( const Dtk_pnt &inLocation );
6688 
6695 
6699  Dtk_ErrorStatus SetRotationAngle( const Dtk_Double64 &inRotationAngle );
6700 
6704 
6707  void MergeWithOtherSymbol(const Dtk_SymbolPtr &inSymbolToBeMerged);
6708 
6711 
6712 };
6713 
6719 class Dtk_Drawing : public Dtk_Entity
6720 {
6721 protected:
6722  struct Dtk_Handle; // Not defined here
6723  Dtk_Handle *_Private; // Handle
6724  enum {
6725  _typeID = DTK_TYPE_DRAWING
6726  };
6727 
6728 private:
6729 
6731  Dtk_Drawing(const Dtk_Drawing & in);
6734 
6736  Dtk_Drawing();
6737 
6739  ~Dtk_Drawing();
6740  inline virtual Dtk_Object* Clone() { return new Dtk_Drawing(*this); }
6741 
6742 private:
6743  void _Init();
6744  void _Copy(const Dtk_Drawing &s);
6745  void _Reset();
6746  friend class Dtk_SmartPtr<Dtk_Drawing>;
6747 
6748 public:
6751 
6754 
6757 
6759  static Dtk_DrawingPtr Create(const Dtk_Drawing &in);
6762 
6765  {
6766  return DTK_TYPE_DRAWING;
6767  }
6768 
6772  Dtk_ErrorStatus AddView(const Dtk_ViewPtr &inViewtoBeAdded);
6773 
6776 
6781  Dtk_ErrorStatus AddView(const Dtk_ViewPtr& inView, const Dtk_pnt& inOrigin);
6782 
6788 
6793  const Dtk_ViewPtr& GetView(const Dtk_Size_t &inPos)const;
6794 
6799 
6803  const Dtk_Double64 &Width() const;
6804 
6809 
6813  const Dtk_Double64 &Height() const;
6814 
6818 
6821  SetAsDeprecated( "2025.4", "Please remove calls to this function, it will always return 0." )
6822  Dtk_Size_t GetNum2dEntities() const;
6823 
6826  Dtk_Size_t GetNumOrigins() const;
6827 
6832  Dtk_pnt& GetOrigin(const Dtk_Size_t &inPos);
6833 
6838  const Dtk_pnt& GetOrigin(const Dtk_Size_t &inPos) const;
6839 
6844  SetAsDeprecated( "2025.4", "Please remove calls to this function, it will always return a null object." )
6845  Dtk_2dEntityPtr& Get2dEntity(const Dtk_Size_t &inPos);
6846 
6851  SetAsDeprecated( "2025.4", "Please remove calls to this function, it will always return a null object." )
6852  const Dtk_2dEntityPtr& Get2dEntity(const Dtk_Size_t &inPos) const ;
6853 
6856 };
6857 
6863 {
6864 public:
6866  {
6867  DefaultDisplay = 0,
6869  WireframeDisplay = 1,
6871  WithHiddenDisplay = 2,
6873  NoHiddenDisplay = 3,
6875  ShadingDisplay = 4,
6877  ShadingWithEdgeDisplay = 5
6878  };
6879 
6880 protected:
6881  struct Dtk_Handle; // Not defined here
6882  Dtk_Handle *_Private; // Handle
6883  enum
6884  {
6885  _typeID = DTK_TYPE_VIEW_DISPLAY
6886  };
6887 
6896  inline virtual Dtk_Object* Clone()
6897  {
6898  return new Dtk_ViewDisplay( *this );
6899  }
6902 private:
6903  void _Init();
6904  void _Copy( const Dtk_ViewDisplay &s );
6905  void _Reset();
6906  friend class Dtk_SmartPtr<Dtk_ViewDisplay>;
6907 public:
6910 
6913 
6916  {
6917  return DTK_TYPE_VIEW_DISPLAY;
6918  }
6919 
6922 
6927 
6928 
6931 
6937  Dtk_ErrorStatus GetVisibleEdgesLineStyle( Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor ) const;
6938 
6943  void SetVisibleEdgesLineStyle( Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor );
6944 
6950  Dtk_ErrorStatus GetHiddenEdgesLineStyle( Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor ) const;
6951 
6956  void SetHiddenEdgesLineStyle( Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor );
6957 
6963  Dtk_ErrorStatus GetTangentEdgesLineStyle( Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor ) const;
6964 
6969  void SetTangentEdgesLineStyle( Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor );
6970 
6971 
6972 };
6973 
6974 
6979 class Dtk_View : public Dtk_Entity
6980 {
6981 public:
6983  {
6984  NoTypeView = 0,
6985  DetailView = 1,
6986  SectionView = 2,
6987  BrokenView = 4,
6988  };
6989 protected:
6990  struct Dtk_Handle; // Not defined here
6991  Dtk_Handle *_Private; // Handle
6992  enum {
6993  _typeID = DTK_TYPE_VIEW
6994  };
6995 
6998 
7000  Dtk_View(const Dtk_View &s);
7003  inline virtual Dtk_Object* Clone() { return new Dtk_View(*this); }
7006 private:
7007  void _Init();
7008  void _Copy(const Dtk_View &s);
7009  void _Reset();
7010  friend class Dtk_SmartPtr<Dtk_View>;
7011 public:
7014 
7017 
7020  {
7021  return DTK_TYPE_VIEW;
7022  }
7023 
7026 
7028  static Dtk_ViewPtr Create(const Dtk_View &in);
7030  static Dtk_ViewPtr Create( Dtk_View&& in );
7031 
7036 
7041  const Dtk_tab<Dtk_2dEntityPtr> &in2DEntitiesArray);
7042 
7047 
7052 
7056 
7061 
7066  Dtk_2dEntityPtr operator [](const Dtk_Size_t &inPos) const;
7067 
7072 
7076 
7083 
7087 
7092 
7097 
7102  Dtk_tab<Dtk_BodyPtr> inBodyArray);
7103 
7107 
7111  Dtk_BodyPtr GetBody(const Dtk_Size_t &inPos) const;
7112 
7113 
7117 
7121 
7126 
7131  const Dtk_tab<Dtk_picturePtr> &inPicturesArray );
7132 
7136 
7140  Dtk_picturePtr GetPicture( const Dtk_Size_t &inPos ) const;
7141 
7153  Dtk_OLEObjectPtr GetOLEObject( const Dtk_Size_t & inIndex ) const;
7154 
7155 
7159  const Dtk_Double64& Scale() const;
7160 
7165 
7169  const Dtk_Double64& Angle() const;
7170 
7175 
7180 
7185 
7193  const Dtk_pnt &inLocation,const Dtk_dir &inRefAxis,
7194  const Dtk_dir &inNormalAxis);
7195 
7196 
7198  void SetClippingBoundary(const Dtk_CompositeEntityPtr &inBoundary) const;
7199 
7202 
7203  bool IsView( ViewType typeView );
7204  void AddView( ViewType typeView );
7205 
7206 };
7207 
7208 
7210 //FDT Classes
7216 class Dtk_Fdt : public Dtk_Entity
7217 {
7218 public:
7220  {
7221  Default = 0,
7223  ParallelToScreen = 1,
7225  PinToScreen = 2
7226  };
7228  {
7229  switch( inEnum )
7230  {
7231  default:
7232  case Default: return L"Default";
7233  case ParallelToScreen: return L"ParallelToScreen";
7234  case PinToScreen: return L"PinToScreen";
7235  }
7236  }
7237 protected:
7238  struct Dtk_Handle; // Not defined here
7239  Dtk_Handle *_Private; // Handle
7240  enum
7241  {
7242  _typeID = DTK_TYPE_FDT
7243  };
7244 
7247 
7249  Dtk_Fdt(const Dtk_Fdt &inToBeCopied );
7251  Dtk_Fdt( Dtk_Fdt&& inToBeMoved ) DTK_NOEXCEPT;
7252 
7254  Dtk_Fdt(const Dtk_transfo &inTransforansform,
7255  const Dtk_2dEntityPtr &entity2D);
7256  inline virtual Dtk_Object* Clone() { return new Dtk_Fdt(*this); }
7257 
7259  virtual ~Dtk_Fdt();
7260 
7261 private:
7262  void _Init();
7263  void _Reset();
7264  void _Copy(const Dtk_Fdt &s);
7265  friend class Dtk_SmartPtr<Dtk_Fdt>;
7266 public:
7269 
7272 
7274  static Dtk_FdtPtr Create();
7275 
7277  static Dtk_FdtPtr Create(const Dtk_Fdt &s);
7279  static Dtk_FdtPtr Create( Dtk_Fdt&& inToBeMoved );
7280 
7284  static Dtk_FdtPtr Create(const Dtk_transfo &inTransformationMatrix,
7285  const Dtk_2dEntityPtr &inSub2DEntity);
7286 
7289  {
7290  return DTK_TYPE_FDT;
7291  }
7292 
7297 
7302 
7307 
7313 
7314 
7319  void SetIsZoomableAttribute( const bool &inBool );
7320 
7324  bool GetIsZoomableAttribute( ) const;
7325 
7330 
7335 
7340 
7345 
7348 };
7349 
7350 
7359 class Dtk_Camera : public Dtk_Entity
7360 {
7361 public:
7363  ProjectionTypeUnknown = 0,
7365  ProjectionTypePerspective
7366  };
7368  {
7369  NoZoomFit = 0, //The camera doesn't need to be zoom fitted.
7370  ZoomFitAllScene, //The camera needs to be zoom fitted to the entire scene.
7371  };
7372  protected:
7373  struct Dtk_Handle; // Not defined here
7374  Dtk_Handle *_Private; // Handle
7375  enum { _typeID = DTK_TYPE_CAMERA };
7378 
7381  inline virtual Dtk_Object* Clone() { return new Dtk_Camera(*this); }
7382 
7385 private:
7386  void _Init();
7387  void _Copy(const Dtk_Camera &s);
7388  void _Reset();
7389  friend class Dtk_SmartPtr<Dtk_Camera>;
7390 public:
7391 
7394 
7397 
7400 
7403 
7422  const Dtk_pnt& inOriginPoint,
7423  const Dtk_pnt& inTarget,
7424  const Dtk_dir& inUpVector,
7425  const double& inAngle,
7426  const double& inFocus,
7427  const double& inZoomFactor = 1.0,
7428  const ProjectionTypeEnum inProjectionType = ProjectionTypeParallel,
7429  const ZoomFitModeEnum inZoomFitMode = NoZoomFit );
7430 
7441  const Dtk_pnt& inOriginPoint,
7442  const Dtk_pnt& inTarget,
7443  const Dtk_Double64 inSemiWidth,
7444  const Dtk_Double64 inSemiHeight,
7445  const Dtk_dir& inUpVector,
7446  const ProjectionTypeEnum inProjectionType = ProjectionTypeParallel,
7447  const ZoomFitModeEnum inZoomFitMode = NoZoomFit );
7448 
7452 
7455  const Dtk_pnt& OriginPoint() const;
7456 
7459  const Dtk_pnt& TargetPoint() const;
7460 
7463  const Dtk_dir& UpVector() const;
7464 
7468 
7472 
7476 
7480 
7484 
7489  Dtk_Double64 ProcessXZoomFactor() const { return IsValid() ? ( 1. / GetSemiWidth() ) : 0.; }
7490 
7495  Dtk_Double64 ProcessYZoomFactor() const { return IsValid() ? ( 1. / GetSemiHeight() ) : 0.; }
7496 
7502  inline Dtk_Double64 ProcessXSemiAngle() const { return IsValid() ? ( atan( GetSemiWidth() / GetFocusDistance() ) ) : 0.; }
7503 
7509  inline Dtk_Double64 ProcessYSemiAngle() const { return IsValid() ? ( atan( GetSemiHeight() / GetFocusDistance() ) ) : 0.; }
7510 
7515 
7520  inline Dtk_Double64 Angle() const { return ProcessXSemiAngle() * 180. / DTK_PI; }
7521 
7526  inline Dtk_Double64 ZoomFactor() const { return ProcessXZoomFactor(); }
7527 
7530  inline Dtk_Double64 Focus() const { return GetFocusDistance(); }
7531 
7537  inline Dtk_bool IsValid() const
7538  {
7539  if( GetFocusDistance() < DTK_TOLERANCE ||
7540  GetSemiWidth() < DTK_TOLERANCE ||
7541  GetSemiHeight() < DTK_TOLERANCE )
7542  {
7543  return DTK_FALSE;
7544  }
7545  else
7546  {
7547  return DTK_TRUE;
7548  }
7549  }
7550 
7552  void SetClippingDistance(const Dtk_Double64& inFrontDistance ,const Dtk_Double64& inBackDistance ) const;
7553 
7555  void GetClippingDistance( Dtk_Double64& outFrontDistance, Dtk_Double64& outBackDistance ) const;
7556 
7557 };
7558 
7559 
7560 
7561 typedef enum
7562 {
7568 
7569 
7573 {
7574 public :
7575 
7583 
7586  {
7587  this->_angle = 0.0;
7588  this->_line_style = 0;
7589  this->_line_width = 0.0;
7590  this->_offset = 0.0;
7591  this->_style = (Dtk_HatchingStyle) 0;
7592  this->_pitch = 0.0;
7593 
7594  }
7595 
7598  {
7599  this->_angle = in._angle;
7600  this->_color = in._color;
7601  this->_line_style = in._line_style;
7602  this->_line_width = in._line_width;
7603  this->_offset = in._offset;
7604  this->_style = in._style;
7605  this->_pitch = in._pitch;
7606  }
7607 
7610  {
7611  if (&in!=this)
7612  {
7613  this->_angle = in._angle;
7614  this->_color = in._color;
7615  this->_line_style = in._line_style;
7616  this->_line_width = in._line_width;
7617  this->_offset = in._offset;
7618  this->_pitch = in._pitch;
7619  this->_style = in._style;
7620  }
7621  return *this;
7622  }
7623 
7624 
7625 
7633 
7638 
7641  const Dtk_Double64 & Offset () const;
7645  const Dtk_Double64 & Pitch () const;
7649  const Dtk_Double64 & Angle () const;
7652  const Dtk_RGB & Color () const;
7664  const Dtk_Int32 & LineType () const;
7667  const Dtk_Double64 & LineWidth () const;
7668 
7669 };
7670 
7671 
7672 
7680 class Dtk_Hatching : public Dtk_Entity
7681 {
7682 protected:
7683  struct Dtk_Handle; // Not defined here
7684  Dtk_Handle *_Private; // Handle
7685  enum {
7686  _typeID = DTK_TYPE_HATCHING
7687  };
7690 
7692 
7695 
7696  inline virtual Dtk_Object* Clone() { return new Dtk_Hatching(*this); }
7697 
7698 private:
7699  void _Init();
7700  void _Copy(const Dtk_Hatching &s);
7701  void _Reset();
7702  friend class Dtk_SmartPtr<Dtk_Hatching>;
7703  void __GeneratePatternGeometries( const Dtk_HatchingPattern& inHatchingPattern, const Dtk_Oriented2dBBox& BoundariesBBox, Dtk_tab< Dtk_EntityPtr >& inoutResultEntities );
7704 public:
7705 
7706 
7709 
7712 
7715 
7717 
7720 
7723 
7727 
7731 
7734  void SetApplyScaleOnPattern( bool inApply = true );
7735 
7741  Dtk_tab< Dtk_EntityPtr > GeneratePatternGeometries(const Dtk_dir& inXRefDir = Dtk_dir(1., 0., 0.), const Dtk_dir& inNormalDir = Dtk_dir(0., 0., 1.) );
7742 };
7743 
7744 
7750 {
7751 protected:
7752  struct Dtk_Handle; // Not defined here
7753  Dtk_Handle *_Private; // Handle
7754  enum {
7755  _typeID = DTK_TYPE_COMPOSITE_ENTITY
7756  };
7757 
7760 
7765 
7766  inline virtual Dtk_Object* Clone() { return new Dtk_CompositeEntity(*this); }
7769 private:
7770  void _Init();
7771  void _Copy(const Dtk_CompositeEntity &s);
7772  void _Reset();
7773  friend class Dtk_SmartPtr<Dtk_CompositeEntity>;
7774 public:
7776  void Clear();
7777 
7780 
7783 
7786  {
7788  }
7789 
7792 
7797 
7806 
7811  void AddEntities(const Dtk_tab<Dtk_EntityPtr>& inEltArray);
7812 
7819 
7824  void AddPictures( const Dtk_tab<Dtk_picturePtr>& inEltArray );
7825 
7829 
7833  Dtk_EntityPtr GetEntity( const Dtk_Size_t& inPos ) const;
7834 
7838 
7842  Dtk_picturePtr GetPicture( const Dtk_Size_t& inPos ) const;
7843 
7845  Dtk_tab< Dtk_2dEntityPtr >& out2dEntities,
7846  Dtk_tab< Dtk_EntityPtr >& outGeometricalEntities,
7847  Dtk_tab< Dtk_picturePtr >& outPictures ) const;
7850 };
7851 
7852 
7862 {
7863 public:
7865  {
7871  UnknownType
7872  };
7873 protected:
7874  struct Dtk_Handle; // Not defined here
7875  Dtk_Handle *_Private; // Handle
7876  enum
7877  {
7878  _typeID = DTK_TYPE_REGION
7879  };
7882  Dtk_HatchingPattern &inHatchingPattern,
7883  Dtk_tab< Dtk_EntityPtr > inGeometries);
7884 
7886 
7889 
7890  inline virtual Dtk_Object* Clone() { return new Dtk_Region(*this); }
7891 
7892 private:
7893  void _Init();
7894  void _Copy(const Dtk_Region &s);
7895  void _Reset();
7896  friend class Dtk_SmartPtr<Dtk_Region>;
7897 public:
7898 
7899 
7902 
7905 
7908  Dtk_HatchingPattern &inHatchingPattern,
7909  Dtk_tab< Dtk_EntityPtr > inGeometries);
7910 
7912 
7915 
7918 
7922 
7927  Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
7928 
7934  const Dtk_anchor_type &inLocationAnchorType);
7935 
7941 
7947 
7951 
7957 
7963 
7969 
7975 
7981 
7987 
7993 
7999 
8005 
8011 
8016 
8017 
8018 };
8019 
8020 
8021 #endif
Dtk_OneCell::_BorderTopColor
Dtk_RGB _BorderTopColor
Definition: util_draw_dtk.hpp:4067
Dtk_Leader::LeaderTerminatorTypeEnumToString
static Dtk_string LeaderTerminatorTypeEnumToString(const LeaderTerminatorTypeEnum &inEnum)
Definition: util_draw_dtk.hpp:2023
Dtk_FCFFeatureIndicator::Clear
void Clear()
Definition: util_draw_dtk.hpp:5965
DTK_ALIGN_CENTER
@ DTK_ALIGN_CENTER
Definition: util_draw_dtk.hpp:113
Dtk_DatumTarget::GetDatumTargetMovableStatusRelatedGeom
Dtk_tab< Dtk_CurvePtr > & GetDatumTargetMovableStatusRelatedGeom() const
Gets the geometry related to the Movable status of the Dtk_DatumTarget.
Dtk_Welding::SymbolFoldJointWeld
@ SymbolFoldJointWeld
Definition: util_draw_dtk.hpp:3008
Dtk_OneCell::DtkDynamicCast
static Dtk_OneCell * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_OneCell::_AdditionnalGeometries
Dtk_tab< Dtk_EntityPtr > _AdditionnalGeometries
Added geometries for Dtk_OneCell.
Definition: util_draw_dtk.hpp:4083
Dtk_Font::FontTypeEnum
FontTypeEnum
Definition: util_draw_dtk.hpp:186
Dtk_Dimension::Create
static Dtk_DimensionPtr Create(const Dtk_Dimension &in)
Calls copy constructor to allocate a new object.
DTK_ALIGN_JUSTIFIED
@ DTK_ALIGN_JUSTIFIED
Definition: util_draw_dtk.hpp:115
Dtk_Symbol::TypeHatching
@ TypeHatching
Definition: util_draw_dtk.hpp:6393
Dtk_ToleranceSpecificationContainer::Dtk_ToleranceSpecificationContainer
Dtk_ToleranceSpecificationContainer(const TypeEnum &inTolSpecContType, const Dtk_Oriented2dBBox &inInnerTolTypeBBox, const Dtk_Oriented2dBBox &inOuterTolTypeBBox)
Dtk_Welding::GetArrowSideWeldSymbolText
Dtk_CompositeText GetArrowSideWeldSymbolText() const
Retrieves the ArrowSideWeldSymbolText Dtk_CompositeText.
Dtk_Dimension::LinearDiameterDimension
@ LinearDiameterDimension
Definition: util_draw_dtk.hpp:4740
Dtk_Camera::UpVector
const Dtk_dir & UpVector() const
Retrieves the up vector - read only -.
Dtk_Hatching::Boundaries
Dtk_tab< Dtk_PolylinePtr > & Boundaries()
Retrieves the hatching area boundaries as an array(ordered polylines). The first bounday (this->Bound...
Dtk_OneCell::_text
Dtk_CompositeText _text
Definition: util_draw_dtk.hpp:4056
Dtk_TextStyle::Ratio
Dtk_Double64 & Ratio()
Retrieves the text ratio - get/set -.
Dtk_Symbol::TypeWelding
@ TypeWelding
Definition: util_draw_dtk.hpp:6384
Dtk_OneCell::Dtk_OneCell
Dtk_OneCell(Dtk_OneCell &&in) DTK_NOEXCEPT
Move constructor.
Dtk_Grid::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Welding::FinishSymbolEnum
FinishSymbolEnum
Definition: util_draw_dtk.hpp:3100
Dtk_OneCell::_BorderBottomBlanked
Dtk_Int32 _BorderBottomBlanked
Definition: util_draw_dtk.hpp:4077
Dtk_CompositeEntity::GetAllEntitiesByType
void GetAllEntitiesByType(Dtk_tab< Dtk_2dEntityPtr > &out2dEntities, Dtk_tab< Dtk_EntityPtr > &outGeometricalEntities, Dtk_tab< Dtk_picturePtr > &outPictures) const
Dtk_Leader::ApplicationZone
This is the application zone class. It is used to gather all application zone information.
Definition: util_draw_dtk.hpp:1835
Dtk_View::AddBody
Dtk_ErrorStatus AddBody(const Dtk_BodyPtr &inBody)
Adds a Body displayed in the view.
Dtk_ToleranceSpecificationContainer::Dtk_ToleranceSpecificationContainer
Dtk_ToleranceSpecificationContainer(Dtk_ToleranceSpecificationContainer &&s) DTK_NOEXCEPT
Dtk_ToleranceSpecificationContainer::TopTextAsCompositeText
const Dtk_CompositeText & TopTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer top-text as Dtk_CompositeText - read only -.
Dtk_ToleranceSpecification::FirstReference
Dtk_ReferenceBlockPtr & FirstReference()
Retrieves the first reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame ...
Dtk_2dEntity::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_TextStyle::JustificationCenter
@ JustificationCenter
Definition: util_draw_dtk.hpp:294
Dtk_Roughness::SetMiddleLeftText
Dtk_ErrorStatus SetMiddleLeftText(Dtk_Text inText)
Sets the middle-left text.
Dtk_GeometricalTolerance::operator=
Dtk_GeometricalTolerance & operator=(Dtk_GeometricalTolerance &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_ReferenceFrame::DtkDynamicCast
static Dtk_ReferenceFrame * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ToleranceSpecification::Create
static Dtk_ToleranceSpecificationPtr Create()
Calls default constructor to allocate a new object.
Dtk_ReferenceBlock::SetAnchorPoint
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_ReferenceBlock::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_ToleranceSpecificationContainer::SetRightText
Dtk_ErrorStatus SetRightText(Dtk_CompositeText inText)
Sets the Dtk_ToleranceSpecificationContainer right-text.
Dtk_Leader::GetApplicationZone
void GetApplicationZone(Dtk_Leader::ApplicationZone &outApplicationZone) const
Retrieves the Frame - read only -.
Dtk_Text::ExplodeText
Dtk_Text * ExplodeText(Dtk_Int32 **outNumFontArray, Dtk_Int32 &outNumTexts) const
Explodes the Dtk_Text to other Dtk_Text according the IGES font number.
Dtk_Leader::SetLeaderCurveLineType
void SetLeaderCurveLineType(const Dtk_FontLineType inCurveLineType)
Set the leader curve FontLineType .
Dtk_Drawing::Height
Dtk_Double64 & Height()
Retrieves the drawing height - get/set -.
Dtk_Leader::_CommonLinearCtor
void _CommonLinearCtor(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_tab< Dtk_pnt > &inPntsArray)
Dtk_View::GetNumPictures
Dtk_Size_t GetNumPictures() const
Retrieves the pictures number - read only -.
Dtk_Roughness::SetInvertText
void SetInvertText(Dtk_Int32 inValue=DTK_FALSE)
Sets text are invert.
Dtk_Camera::IsValid
Dtk_bool IsValid() const
Checks if the Dtk_Camera is valid. For this:
Definition: util_draw_dtk.hpp:7537
Dtk_Oriented2dBBox::GetXLength
Dtk_Double64 GetXLength() const
Retrieves the X length - Read Only -.
Definition: util_draw_dtk.hpp:618
Dtk_CompositeEntity::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
DTK_UNIT_INCH
@ DTK_UNIT_INCH
Definition: util_draw_dtk.hpp:83
Dtk_Grid::WCS
@ WCS
Definition: util_draw_dtk.hpp:4513
Dtk_Text::OuterLocation
Dtk_pnt & OuterLocation()
Retrieves the outer bounding box location - get/set -.
Dtk_Region::GetType
RegionType GetType()
Gets the type of the region.
Dtk_Symbol::SymbolType
const TypeEnum & SymbolType() const
Retrieves the Dtk_Symbol type - read only -.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_Grid &inGrid, const Dtk_bool &text_auto_flip=DTK_FALSE)
Dtk_Region::CircularType
@ CircularType
Definition: util_draw_dtk.hpp:7867
Dtk_Annotation::Clone
virtual Dtk_Object * Clone()=0
Dtk_Roughness::Create
static Dtk_RoughnessPtr Create(Dtk_Roughness &&in)
Calls move constructor to allocate a new object.
Dtk_2dEntity::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:1754
Dtk_Text::SetOuterXYAxis
void SetOuterXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis)
Sets the outer bounding box orientation.
Dtk_Text::SetAsDeprecated
SetAsDeprecated("2020.2", "Text_or_character is OBSOLETE : use ExplodeText") Text_or_character **ConvertToText_or_character(Dtk_Int32 &outNumTexts) const
Dtk_Welding::ComplementarySymbolFlushFinishedWeld
@ ComplementarySymbolFlushFinishedWeld
Definition: util_draw_dtk.hpp:3065
Dtk_HatchingPattern::LineType
Dtk_Int32 & LineType()
Dtk_Font::Name
Dtk_string & Name()
Retrieves the font name - get/set -.
Dtk_ToleranceSpecification::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5320
Dtk_Hatching::Dtk_Hatching
Dtk_Hatching(const Dtk_Hatching &s)
DTK_FDT_MODIFIER_NOT_SET
@ DTK_FDT_MODIFIER_NOT_SET
Definition: util_draw_dtk.hpp:58
Dtk_Dimension::CumulatedDimension
@ CumulatedDimension
Definition: util_draw_dtk.hpp:4746
Dtk_Text::SetFrameType
void SetFrameType(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set the text frame information - get/set -.
DTK_FRAME_TYPE_DIAMOND
@ DTK_FRAME_TYPE_DIAMOND
Definition: util_draw_dtk.hpp:138
Dtk_Oriented2dBBox::GetTopRightPoint
Dtk_pnt GetTopRightPoint() const
Retrieves the top right point - Read Only -.
Definition: util_draw_dtk.hpp:611
Dtk_transfo
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
Dtk_HatchingPattern::Dtk_HatchingPattern
Dtk_HatchingPattern()
Default constructor.
Definition: util_draw_dtk.hpp:7585
Dtk_FCFFeatureIndicator::Create
static Dtk_FCFFeatureIndicatorPtr Create(Dtk_FCFFeatureIndicatorType inFeatureIndicatorType, Dtk_Text inSymbol, Dtk_Text inDatumFeatureIdentifier)
Calls full featured constructor to allocate a new object.
Definition: util_draw_dtk.hpp:5993
Dtk_Region::SetRectangularWidth
Dtk_ErrorStatus SetRectangularWidth(Dtk_Double64 inWidth)
Sets the width of the rectangular Dtk_Region.
Dtk_ToleranceSpecificationContainer::BottomTextAsCompositeText
const Dtk_CompositeText & BottomTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer bottom-text as Dtk_CompositeText - read only -.
Dtk_GeometricalTolerance::at
const Dtk_ToleranceSpecificationContainerPtr & at(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_ToleranceSpecificationContainer - read only -.
Dtk_DatumTarget::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_DatumTarget anchor points.
Dtk_Welding::SymbolInclinedJointWeld
@ SymbolInclinedJointWeld
Definition: util_draw_dtk.hpp:3002
Dtk_ToleranceSpecificationContainer::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType, const Dtk_bool &inProcessAdditionnalTexts)
Sets the Dtk_ToleranceSpecificationContainer anchor point.
Dtk_Drawing::Create
static Dtk_DrawingPtr Create()
Calls default constructor to allocate a new object.
Dtk_Table::operator[]
Dtk_OneCell * operator[](const Dtk_Size_t &inPos)
Dtk_Roughness::ApplyToSurroundingSurfaces
@ ApplyToSurroundingSurfaces
Definition: util_draw_dtk.hpp:2581
Dtk_Region
This is the Region class. The region that designates areas of your model for special purposes,...
Definition: util_draw_dtk.hpp:7862
Dtk_Text::TextStyle
Dtk_TextStyle & TextStyle()
Retrieves the text text style - get/set -.
Dtk_Table::DtkDynamicCast
static Dtk_Table * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
DTK_TYPE_GEOM_TOL
@ DTK_TYPE_GEOM_TOL
Definition: define.h:441
Dtk_DatumTarget::DatumTargetTypeEnum
DatumTargetTypeEnum
Definition: util_draw_dtk.hpp:3707
Dtk_CompositeEntity::Create
static Dtk_CompositeEntityPtr Create()
Calls default constructor to allocate a new object.
Dtk_ReferenceFrame::ThirdReference
Dtk_ReferenceBlockPtr & ThirdReference()
Retrieves the third reference block - get/set -.
DTK_UNIT_CM
@ DTK_UNIT_CM
Definition: util_draw_dtk.hpp:80
Dtk_ToleranceSpecificationContainer::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6100
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_GridPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Create from Dtk_GridPtr.
Dtk_Fdt::SetDisplayBackgroundColorId
void SetDisplayBackgroundColorId(Dtk_Int32 inData)
Sets the DisplayBackground color id of the Dtk_Fdt.
Dtk_Text::IsEmpty
Dtk_bool IsEmpty() const
Tells if the Dtk_Text is empty or not - read only -.
Dtk_Frame::operator=
Dtk_Frame & operator=(Dtk_Frame &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_Camera::ZoomFactor
Dtk_Double64 ZoomFactor() const
Processes the X - width - zoom factor - read only -.
Definition: util_draw_dtk.hpp:7526
Dtk_Welding::SetFieldWeldFlag
void SetFieldWeldFlag(const Dtk_bool inFieldWeldFlag)
Sets the Field Weld Flag.
Dtk_Region::GetGeometries
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_Grid geometries.
Dtk_Annotation
This is abstract Dtk_Annotation class.
Definition: util_draw_dtk.hpp:2409
Dtk_Leader::ApplicationZone::_ApplicationZoneType
ApplicationZoneEnum _ApplicationZoneType
Definition: util_draw_dtk.hpp:1854
DTK_FRAME_TYPE_FLAG_LEFT
@ DTK_FRAME_TYPE_FLAG_LEFT
Definition: util_draw_dtk.hpp:144
Dtk_FCFFeatureIndicator::Explode
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...
Dtk_Oriented2dBBox::SetXLocalVector
void SetXLocalVector(const Dtk_dir &inNewXVector)
Sets the X local vector.
Definition: util_draw_dtk.hpp:646
Dtk_OneCell::SetBorderRightBlanked
void SetBorderRightBlanked(const Dtk_Int32 &inBorderRightBlanked)
Sets BorderRightBlanked of Right border.
Dtk_Leader::Dtk_Leader
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
@ DTK_FRAME_TYPE_SQUARE_CIRCLE
Definition: util_draw_dtk.hpp:172
Dtk_Dimension::ShowDualValueFractional
@ ShowDualValueFractional
Definition: util_draw_dtk.hpp:4765
Dtk_HatchingPattern::_offset
Dtk_Double64 _offset
Definition: util_draw_dtk.hpp:7577
Dtk_Region::ArbitraryType
@ ArbitraryType
Definition: util_draw_dtk.hpp:7870
Dtk_ViewDisplay::SetTangentEdgesLineStyle
void SetTangentEdgesLineStyle(Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor)
Set Line style for Tangent Edges.
Dtk_Welding::SetArrowSideData
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.
Dtk_Leader::TerminatorTypeDoubleCrossArrow
@ TerminatorTypeDoubleCrossArrow
Definition: util_draw_dtk.hpp:2020
Dtk_Table::nbRows
Dtk_Size_t nbRows
Number of lines.
Definition: util_draw_dtk.hpp:4297
Dtk_Oriented2dBBox::SetBottomLeftPoint
void SetBottomLeftPoint(const Dtk_pnt &inNewPoint)
Sets the bottom left point.
Dtk_Welding::AddAssociatedGeometries
void AddAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Add Geometries associated to whole Dtk_Welding (Weld body and tail).
Dtk_Welding::GetFinishSymbolArrowSideAsText
Dtk_Text GetFinishSymbolArrowSideAsText() const
Dtk_Oriented2dBBox::ProcessIntersectionWithSegment
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_Drawing::AddView
Dtk_ErrorStatus AddView(const Dtk_ViewPtr &inViewtoBeAdded)
Adds a view into the drawing.
Dtk_View::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7019
Dtk_FCFFeatureIndicator::Create
static Dtk_FCFFeatureIndicatorPtr Create(const Dtk_FCFFeatureIndicator &in)
Calls copy constructor to allocate a new object.
Definition: util_draw_dtk.hpp:5978
Dtk_Leader::ArrowHead::GetType
const LeaderTerminatorTypeEnum GetType() const
Definition: util_draw_dtk.hpp:2136
Dtk_Table::Cell_Line
Dtk_Size_t & Cell_Line(const Dtk_Size_t inPos)
Sets the number of cells of the (i)th line.
Dtk_Oriented2dBBox::GetMiddleLeftPoint
Dtk_pnt GetMiddleLeftPoint() const
Retrieves the middle left point - Read Only -.
Definition: util_draw_dtk.hpp:559
Dtk_Symbol::GetGeomElement
Dtk_EntityPtr GetGeomElement(const Dtk_Size_t &inPos) const
Retrieves the ith geometrical element.
Dtk_FCFFeatureIndicatorType::Dtk_FCFFeatureIndicatorType
Dtk_FCFFeatureIndicatorType()
Default constructor.
Definition: util_draw_dtk.hpp:5802
Dtk_ReferenceFrame::operator=
Dtk_ReferenceFrame & operator=(const Dtk_ReferenceFrame &in)
Copy assignment operator.
Dtk_TextStyle::Justification
TextJustificationEnum & Justification()
Retrieves the text justification - get/set -.
Dtk_Welding::GetBrazingArrowSide
Dtk_bool GetBrazingArrowSide() const
Tells if the Brazing is activated for the ArrowSide.
dtk_dir.hpp
Dtk_ReferenceFrame::SecondReference
Dtk_ReferenceBlockPtr & SecondReference()
Retrieves the second reference block - get/set -.
Dtk_TextStyle::AttributeUnderline
@ AttributeUnderline
Definition: util_draw_dtk.hpp:280
Dtk_ToleranceSpecificationContainer::AddToleranceSpecification
Dtk_ErrorStatus AddToleranceSpecification(const Dtk_ToleranceSpecificationPtr &inTolSpec)
Adds a tolerance specification to the Dtk_ToleranceSpecificationContainer.
Dtk_TextStyle::FontStyleEnumToString
static Dtk_string FontStyleEnumToString(const FontStyleEnum &inEnum)
Definition: util_draw_dtk.hpp:265
Dtk_dir::norm
double norm() const
Dtk_Camera::SetClippingDistance
void SetClippingDistance(const Dtk_Double64 &inFrontDistance, const Dtk_Double64 &inBackDistance) const
set the Front Clipping Distance et Back Clipping Distance
Dtk_FCFFeatureIndicator::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5934
Dtk_Symbol::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Symbol.
Dtk_Camera::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7373
DTK_TYPE_DIMENSION
@ DTK_TYPE_DIMENSION
Definition: define.h:442
Dtk_View::AddEntity
Dtk_ErrorStatus AddEntity(const Dtk_EntityPtr &inEnt)
Adds an entity, Dtk_Hatching, curve and point to the view ( other type are not supported )
Dtk_CompositeText::SetAsDeprecated
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::TextSubType
DTK_Text_subtype & TextSubType()
Retrieves the text subtype - get/set -.
Dtk_Dimension
This is the general dimension.
Definition: util_draw_dtk.hpp:4728
Dtk_ToleranceSpecificationContainer::GetRightTextLabel
Dtk_string GetRightTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer right-text - read only -.
Dtk_ViewDisplay::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:6896
Dtk_ToleranceSpecificationContainer::~Dtk_ToleranceSpecificationContainer
~Dtk_ToleranceSpecificationContainer()
Destructor.
Dtk_TextStyle::JustificationLeft
@ JustificationLeft
Definition: util_draw_dtk.hpp:292
Dtk_Welding::DtkDynamicCast
static Dtk_Welding * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Roughness::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
Dtk_FCFFeatureIndicator::GetDatumFeatureIdentifier
const Dtk_Text & GetDatumFeatureIdentifier() const
Retrieves the DatumFeature Identifier of the Dtk_FCFFeatureIndicator - Read Only -.
Dtk_FCFFeatureIndicatorType::_Reset
void _Reset()
Dtk_ReferenceFrame::Dtk_ReferenceFrame
Dtk_ReferenceFrame(Dtk_ReferenceFrame &&s) DTK_NOEXCEPT
Dtk_GeometricalTolerance::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_GeometricalTolerance anchor points.
Dtk_Roughness::operator=
Dtk_Roughness & operator=(const Dtk_Roughness &in)
Copy assignment operator.
DTK_TOLERANCE
#define DTK_TOLERANCE
Definition: str_def.h:7
DTK_WITH_HIERARCHY
@ DTK_WITH_HIERARCHY
Definition: util_draw_dtk.hpp:68
Dtk_FCFFeatureIndicatorType::Dtk_FCFFeatureIndicatorType
Dtk_FCFFeatureIndicatorType(const Dtk_FCFFeatureIndicatorTypeEnum &inIndicatorType, const Dtk_Oriented2dBBox &inOuterBoundingBox, Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts)
Full featured constructor.
Definition: util_draw_dtk.hpp:5792
Dtk_Annotation::SetAsDeprecated
SetAsDeprecated("Undefined", "Use Dtk_TextStyle::Justification()") Dtk_justication_type GetJustification() const
Get the justification type - read only -.
Dtk_GeometricalTolerance::SetFrameColor
void SetFrameColor(const Dtk_RGB &inFrameColor)
Sets the frame color .
Dtk_FCFFeatureIndicator::Create
static Dtk_FCFFeatureIndicatorPtr Create(Dtk_FCFFeatureIndicator &&in)
Calls move constructor to allocate a new object.
Definition: util_draw_dtk.hpp:5983
Dtk_ToleranceSpecificationContainer::Dtk_ToleranceSpecificationContainer
Dtk_ToleranceSpecificationContainer(const Dtk_ToleranceSpecificationContainer &s)
Dtk_OneCell::SetBorderRightColor
void SetBorderRightColor(const Dtk_RGB &inBorderRightColor)
Dtk_Leader::TerminatorTypeCrossArrow
@ TerminatorTypeCrossArrow
Definition: util_draw_dtk.hpp:1976
Dtk_Grid::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
Dtk_DatumTarget::Create
static Dtk_DatumTargetPtr Create(Dtk_DatumTarget &&in)
Calls move constructor to allocate a new object.
Dtk_ViewDisplay::Create
static Dtk_ViewDisplayPtr Create(Dtk_ViewDisplay &&in)
Calls move constructor to allocate a new object.
Dtk_CompositeText::GetNumTexts
Dtk_Size_t GetNumTexts() const
Retrieves the texts number.
Dtk_Text::Reverse
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
@ DTK_FRAME_TYPE_FLAG_BOTH
Definition: util_draw_dtk.hpp:146
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_DatumTarget &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Dtk_Oriented2dBBox::SetBottomCenterPoint
void SetBottomCenterPoint(const Dtk_pnt &inNewPoint)
Sets the bottom center point.
Dtk_Table::getNbrows
Dtk_Size_t getNbrows()
Gets the number of rows in Dtk_Table.
DTK_FRAME_TYPE_STICKING
@ DTK_FRAME_TYPE_STICKING
Definition: util_draw_dtk.hpp:155
Dtk_ToleranceSpecificationContainer::RightTextAsCompositeText
const Dtk_CompositeText & RightTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer right-text as Dtk_CompositeText - read only -.
Dtk_DatumTarget::GetFrame
const Dtk_Frame & GetFrame() const
Retrieves the frame of the Datum Target.
Dtk_ReferenceBlock::ConvertToDtk_String
Dtk_string ConvertToDtk_String() const
Converts the Dtk_ReferenceBlock into a Dtk_string - used for Dtk_Symbol conversion -.
Dtk_ToleranceSpecification::Create
static Dtk_ToleranceSpecificationPtr Create(const Dtk_ToleranceSpecification &in)
Calls copy constructor to allocate a new object.
Dtk_ToleranceSpecification::~Dtk_ToleranceSpecification
~Dtk_ToleranceSpecification()
Destructor.
Dtk_ReferenceBlock::operator=
Dtk_ReferenceBlock & operator=(Dtk_ReferenceBlock &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_ToleranceSpecificationContainer::SetBottomText
Dtk_ErrorStatus SetBottomText(Dtk_CompositeText text)
Sets the Dtk_ToleranceSpecificationContainer bottom-text.
DTK_FRAME_TYPE_FIXED_SUPPORT
@ DTK_FRAME_TYPE_FIXED_SUPPORT
Definition: util_draw_dtk.hpp:159
Dtk_Text::GetOuterBoundingBox
Dtk_Oriented2dBBox & GetOuterBoundingBox()
Dtk_Welding::FinishSymbolHammer
@ FinishSymbolHammer
Definition: util_draw_dtk.hpp:3109
Dtk_HatchingPattern::LineWidth
Dtk_Double64 & LineWidth()
Dtk_Text::SetOuterXLength
void SetOuterXLength(const Dtk_Double64 &inXLength)
Sets the outer bounding box X length.
Dtk_TextStyle
This is the text_style. This class gathers information about text style.
Definition: util_draw_dtk.hpp:253
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol()
Dtk_TextStyle::Justification
const TextJustificationEnum & Justification() const
Retrieves the text justification - read only -.
Dtk_Oriented2dBBox::XLocalVector
Dtk_dir & XLocalVector()
Retrieves the X local vector.
Definition: util_draw_dtk.hpp:735
DTK_TYPE_CELL
@ DTK_TYPE_CELL
Definition: define.h:443
DTK_Text_subtype::IsUrl
Dtk_bool IsUrl() const
Tell if the associated Dtk_text is an url group - into Dtk_Dimension -.
Dtk_ReferenceBlock::GetMaterialModifier
DTK_FDT_MODIFIER GetMaterialModifier(const Dtk_Size_t &inReferencePos) const
Retrieves the material modifier related to the ith reference.
Dtk_Font::ID
const Dtk_Size_t & ID() const
Retrieves the font Id - read only -.
Dtk_DatumTarget::DatumTargetValueEnumToString
static Dtk_string DatumTargetValueEnumToString(const DatumTargetValueEnum &inEnum)
Definition: util_draw_dtk.hpp:3766
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_RegionPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Create from Dtk_RegionPtr.
Dtk_Table::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:4434
DTK_JUSTIFY_LEFT
@ DTK_JUSTIFY_LEFT
Definition: util_draw_dtk.hpp:120
Dtk_Symbol::TypeAxis
@ TypeAxis
Definition: util_draw_dtk.hpp:6387
DTK_TYPE_ANNOTATION
@ DTK_TYPE_ANNOTATION
Definition: define.h:438
config.hpp
Dtk_Dimension::GetNumLeaders
Dtk_Size_t GetNumLeaders() const
Retrieves the leaders number - read only -.
Dtk_Oriented2dBBox::Merge
void Merge(const Dtk_pnt &inPoint)
Merges the Dtk_Oriented2dBBox to an additional point.
DTK_FDT_MODIFIER_LEAST_MATERIAL
@ DTK_FDT_MODIFIER_LEAST_MATERIAL
Definition: util_draw_dtk.hpp:60
Dtk_Grid::OriginReferenceOption
OriginReferenceOption
Definition: util_draw_dtk.hpp:4511
DTK_FRAME_TYPE_POLYGON
@ DTK_FRAME_TYPE_POLYGON
Definition: util_draw_dtk.hpp:175
Dtk_OneCell::nbCells_Left_Right
Dtk_Int32 nbCells_Left_Right
Number of adjacent cells to the left or right.
Definition: util_draw_dtk.hpp:4060
Dtk_Welding::SetBrazingOtherSide
void SetBrazingOtherSide(const Dtk_bool inBrazing=DTK_TRUE)
Sets the Brazing flag for the OtherSide.
Dtk_Welding::SetOtherSideOpeningText
void SetOtherSideOpeningText(Dtk_CompositeText inOtherSideOpeningText)
Sets the OtherSideOpeningText Dtk_CompositeText.
Dtk_Welding::SetArrowSideWeldSymbolText
void SetArrowSideWeldSymbolText(Dtk_CompositeText inArrowSideWeldSymbolText)
Sets the ArrowSideWeldSymbolText Dtk_CompositeText.
Dtk_Text::HorizontalMirroring
@ HorizontalMirroring
Definition: util_draw_dtk.hpp:1116
Dtk_Text::SetInnerBoundingBox
Dtk_ErrorStatus SetInnerBoundingBox(const Dtk_Oriented2dBBox &innerBoundingBox)
Sets the inner bounding box.
Dtk_Welding::SymbolPlugWeld
@ SymbolPlugWeld
Definition: util_draw_dtk.hpp:2972
Dtk_ViewDisplay
This is the Dtk_ViewDisplay class to set the Display mode for the bodies stored in a view.
Definition: util_draw_dtk.hpp:6863
Dtk_Table::~Dtk_Table
~Dtk_Table()
Destructor.
Dtk_Welding::GetArrowSideOpeningText
Dtk_CompositeText GetArrowSideOpeningText() const
Retrieves the ArrowSideOpeningText Dtk_CompositeText.
Dtk_Leader::TerminatorTypeDoubleTriangle
@ TerminatorTypeDoubleTriangle
Definition: util_draw_dtk.hpp:2010
Dtk_Roughness::ProcessSymbolInfos
void ProcessSymbolInfos(Dtk_tab< Dtk_pnt > &outPnts, Dtk_Double64 &outCircleRadius) const
Process the Roughness Symbol Informations as shown in the picture below.
Dtk_Symbol::TypeGeometricalTolerance
@ TypeGeometricalTolerance
Definition: util_draw_dtk.hpp:6379
Dtk_HatchingStyle_Hatching
@ Dtk_HatchingStyle_Hatching
Definition: util_draw_dtk.hpp:7564
Dtk_Region::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7874
Dtk_Leader::ArrowHead::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the ApplicationZone giving a translation vector.
Definition: util_draw_dtk.hpp:2160
Dtk_Welding
This is the Welding Symbol class.
Definition: util_draw_dtk.hpp:2943
Dtk_ReferenceFrame::SecondReference
const Dtk_ReferenceBlockPtr & SecondReference() const
Retrieves the second reference block - read only -.
Dtk_2dEntity::Clone
virtual Dtk_Object * Clone()=0
Dtk_2dEntity::Dtk_2dEntity
Dtk_2dEntity(Dtk_2dEntity &&in) DTK_NOEXCEPT
Move constructor.
Dtk_Welding::SetArrowSideContourSymbol
void SetArrowSideContourSymbol(ComplementarySymbolEnum inContourSymbol)
Set the ContourSymbol of the ArrowSide.
Dtk_Oriented2dBBox::SetMiddleCenterPoint
void SetMiddleCenterPoint(const Dtk_pnt &inNewPoint)
Sets the middle center point.
Dtk_HatchingPattern::LineType
const Dtk_Int32 & LineType() const
Retrieves the hatch line type. Applies for hatching. The value can be casted to enum Dtk_FontLineType...
Dtk_Roughness::SetBottomLeftText
Dtk_ErrorStatus SetBottomLeftText(Dtk_Text inText)
Sets the bottom-left text.
Dtk_GeometricalTolerance::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES], const Dtk_bool &inProcessAddtionnalTexts) const
Processes all the Dtk_GeometricalTolerance anchor points.
Dtk_Oriented2dBBox::_XLocalVector
Dtk_dir _XLocalVector
Definition: util_draw_dtk.hpp:474
Dtk_Leader::ArrowHead::m_Infos
Dtk_InfoPtr m_Infos
Definition: util_draw_dtk.hpp:2072
Dtk_ReferenceFrame::SetAnchorPoint
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_View::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_OneCell::_BorderTopBlanked
Dtk_Int32 _BorderTopBlanked
Definition: util_draw_dtk.hpp:4075
DTK_FDT_MODIFIER_NONE
@ DTK_FDT_MODIFIER_NONE
Definition: util_draw_dtk.hpp:62
Dtk_TextStyle::AttributeStrikethrough
@ AttributeStrikethrough
Definition: util_draw_dtk.hpp:282
Dtk_OneCell::GetBorderBottomColor
const Dtk_RGB & GetBorderBottomColor()
Gets BorderBottomColor of Bottom border.
Dtk_Welding::GetOtherSideSecondFilletSizeText
Dtk_CompositeText GetOtherSideSecondFilletSizeText() const
Retrieves the OtherSideSecondFilletSizeText Dtk_CompositeText.
Dtk_Welding::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
Dtk_CompositeText::Dtk_CompositeText
Dtk_CompositeText()
Default constructor.
Dtk_ReferenceBlock::GetOuterBoundingBox
Dtk_Oriented2dBBox GetOuterBoundingBox() const
DTK_FRAME_TYPE_OBLONG
@ DTK_FRAME_TYPE_OBLONG
Definition: util_draw_dtk.hpp:148
Dtk_Grid::GetDisplayShowLabelOption
ShowLabelOption GetDisplayShowLabelOption() const
Gets the display show labels option.
Dtk_Region::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
Dtk_Grid::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:4668
Dtk_Region::GetRectangularHeight
Dtk_ErrorStatus GetRectangularHeight(Dtk_Double64 &outHeight)
Gets the height of the rectangular Dtk_Region.
Dtk_Text::MirroringTypeEnum
MirroringTypeEnum
Definition: util_draw_dtk.hpp:1114
Dtk_Grid
Represents the grids.
Definition: util_draw_dtk.hpp:4493
Dtk_Welding::SetArrowSideSizeText
void SetArrowSideSizeText(Dtk_CompositeText inArrowSideSizeText)
Sets the ArrowSideSizeText Dtk_CompositeText.
Dtk_ToleranceSpecification::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES], const Dtk_Int32 &ignoreadd=0)
Processes all the Dtk_ToleranceSpecification anchor points.
Dtk_Grid::ShowLabelOption
ShowLabelOption
Definition: util_draw_dtk.hpp:4504
Dtk_Welding::Dtk_Welding
Dtk_Welding(const Dtk_pnt &inLocation, Dtk_CompositeText inMiddleRightText, const Dtk_bool inFieldWeldActivated, const Dtk_Char8 inIndentLineFlag, const Dtk_bool inTailActivated, const Dtk_bool inReverseTailAndField, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeaders, const Dtk_Double64 inAngle, const Dtk_Double64 inOffset, const Dtk_anchor_type inAnchorType, const Dtk_justication_type inJustification)
Dtk_Roughness::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:2655
Dtk_Symbol::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Text::ProcessBottomLeftAnchorPoint
Dtk_pnt ProcessBottomLeftAnchorPoint() const
Processes the bottom-left inner anchor point.
Dtk_Camera::ZoomFitModeEnum
ZoomFitModeEnum
Definition: util_draw_dtk.hpp:7368
Dtk_DatumTarget::DatumTargetValueEnum
DatumTargetValueEnum
Definition: util_draw_dtk.hpp:3754
Dtk_Roughness::RoughModeEnum
RoughModeEnum
Definition: util_draw_dtk.hpp:2588
Dtk_Grid::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4548
Dtk_Welding::WeldTextSecondFilletSize
@ WeldTextSecondFilletSize
Definition: util_draw_dtk.hpp:3080
Dtk_ToleranceSpecification
This is the geometrical tolerance specification. It is part of the Dtk_ToleranceSpecificationContaine...
Definition: util_draw_dtk.hpp:5298
Dtk_OneCell::GetBorderRightColor
const Dtk_RGB & GetBorderRightColor()
Gets BorderRightColor of Right border.
Dtk_ToleranceSpecification::Create
static Dtk_ToleranceSpecificationPtr Create(Dtk_Text inFullTextWithMaterialCondition, const Dtk_ReferenceFramePtr &inReferenceFrame=Dtk_ReferenceFrame::Create())
Calls full featured constructor to allocate a new object.
Dtk_Symbol::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Symbol anchor point.
Dtk_Welding::GetArrowSideSecondFilletSizeText
Dtk_CompositeText GetArrowSideSecondFilletSizeText() const
Retrieves the ArrowSideSecondFilletSizeText Dtk_CompositeText.
Dtk_CompositeEntity::AddEntities
void AddEntities(const Dtk_tab< Dtk_EntityPtr > &inEltArray)
Adds an array of Dtk_EntityPtr.
Dtk_ToleranceSpecificationContainer::Explode
Dtk_ErrorStatus Explode(Dtk_CompositeText &outCompositeText, Dtk_tab< Dtk_CurvePtr > &outGeoms)
Explodes the Dtk_ToleranceSpecificationContainer into Dtk_CompositeText and geometrical elements - us...
Dtk_Camera::ProjectionTypeEnum
ProjectionTypeEnum
Definition: util_draw_dtk.hpp:7362
Dtk_Leader::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:2249
Dtk_Text::VerticallyOrientedStatus
const Dtk_bool & VerticallyOrientedStatus() const
Retrieves the text vertically oriented Status - read only -.
Dtk_CompositeEntity::AddPicture
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...
Dtk_DatumTarget::SetDatumTargetMovable
void SetDatumTargetMovable(const DatumTargetMovableStatusEnum inMovableStatus, Dtk_tab< Dtk_CurvePtr > inMovableGeom)
Sets the Movable status of the Dtk_DatumTarget.
DTK_UNIT_DMS
@ DTK_UNIT_DMS
Definition: util_draw_dtk.hpp:90
Dtk_TextStyle::Pitch
const Dtk_Double64 & Pitch() const
Retrieves the text pitch - read only -.
Dtk_OneCell::GetBorderLeftColor
const Dtk_RGB & GetBorderLeftColor()
Gets BorderLeftColor of Left border.
DTK_FRAME_TYPE_OBLONG_RIGHT
@ DTK_FRAME_TYPE_OBLONG_RIGHT
Definition: util_draw_dtk.hpp:150
Dtk_Annotation::DtkDynamicCast
static Dtk_Annotation * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Symbol::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:6673
Dtk_OneCell::Dtk_OneCell
Dtk_OneCell(const Dtk_OneCell &in)
Copy constructor.
Dtk_DatumTarget::~Dtk_DatumTarget
~Dtk_DatumTarget()
Destructor.
Dtk_ReferenceBlock::_ReplaceFirstMaterialModifer
void _ReplaceFirstMaterialModifer(const Dtk_Size_t &inReferencePos, const DTK_FDT_MODIFIER &inMaterialModifier)
Internal use only.
DTK_Text_subtype::IsTolSign
Dtk_bool IsTolSign() const
Tell if the associated Dtk_text is part of Tolerance Sign group - into Dtk_Dimension -.
Dtk_Camera::Dtk_Camera
Dtk_Camera(const Dtk_Camera &s)
Dtk_TextStyle::CharHeight
const Dtk_Double64 & CharHeight() const
Retrieves the char height - Read Only -.
Dtk_Dimension::RadiusDimension
@ RadiusDimension
Definition: util_draw_dtk.hpp:4742
Dtk_Oriented2dBBox::SetPoint
void SetPoint(const Dtk_pnt &inNewPoint, const enum Dtk_anchor_type &inAnchorType)
Sets the point with inAnchorType type.
Dtk_Oriented2dBBox::ProcessDistance
Dtk_ErrorStatus ProcessDistance(const Dtk_Oriented2dBBox &inReferenceBBox, Dtk_Double64 &outTopOffSet, Dtk_Double64 &outBottomOffSet, Dtk_Double64 &outRightOffSet, Dtk_Double64 &outLeftOffSet) const
Process distance - Read Only -.
Dtk_Camera::ZoomFitAllScene
@ ZoomFitAllScene
Definition: util_draw_dtk.hpp:7370
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_DatumTargetPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Create from Dtk_DatumTargetPtr.
Dtk_ToleranceSpecification::SecondReference
const Dtk_ReferenceBlockPtr & SecondReference() const
Retrieves the second reference block - read only -. This is a shortcut without using Dtk_ReferenceFra...
Dtk_OneCell::setWidth
void setWidth(const double &inWidth)
Sets the Dtk_OneCell Width.
Dtk_Grid::GetMinorLineWidth
Dtk_Double64 GetMinorLineWidth() const
Gets the minor line width.
Dtk_Text::GetInnerRotationAngle
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.
Dtk_DatumTarget::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:3807
Dtk_ToleranceSpecification::operator=
Dtk_ToleranceSpecification & operator=(const Dtk_ToleranceSpecification &in)
Copy assignment operator.
Dtk_Roughness::ApplyToBasicSurface
@ ApplyToBasicSurface
Definition: util_draw_dtk.hpp:2583
Dtk_Oriented2dBBox::BottomLeftPoint
Dtk_pnt BottomLeftPoint() const
Retrieves the bottom left point - Read Only -.
Definition: util_draw_dtk.hpp:544
Dtk_ToleranceSpecificationContainer::TypeFlatness
@ TypeFlatness
Definition: util_draw_dtk.hpp:6071
Dtk_Roughness::ModeMultiDirectional
@ ModeMultiDirectional
Definition: util_draw_dtk.hpp:2591
Dtk_ToleranceSpecificationContainer::BottomText
const Dtk_Text & BottomText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer bottom-text as Dtk_Text - read only -.
catiav5w::inTransfo
const Dtk_string const Dtk_transfo & inTransfo
Definition: catiav5w.hpp:622
Dtk_Welding::SetArrowSideAssociatedGeometries
void SetArrowSideAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Set the AssociatedGeometries of the ArrowSide.
Dtk_Frame::GetFrameType
const Dtk_frame_type & GetFrameType() const
Retrieves the Frame Type - Read Only -.
Definition: util_draw_dtk.hpp:969
DTK_FRAME_TYPE_FLAG_RIGHT
@ DTK_FRAME_TYPE_FLAG_RIGHT
Definition: util_draw_dtk.hpp:142
Dtk_Symbol::TypeFullBoltCircle
@ TypeFullBoltCircle
Definition: util_draw_dtk.hpp:6394
Dtk_OneCell::min_Height
Dtk_Double64 min_Height
The original height before mergers.
Definition: util_draw_dtk.hpp:4052
Dtk_justication_type
Dtk_justication_type
Definition: util_draw_dtk.hpp:118
Dtk_DatumTarget::Dtk_DatumTarget
Dtk_DatumTarget(const Dtk_DatumTarget &inToBeCopied)
Dtk_Camera::GetSemiHeight
Dtk_Double64 GetSemiHeight() const
Retrieves the Camera Base Semi Height - read only -.
Dtk_Symbol::SetRotationAngle
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
Dtk_OneCell::_BorderBottomColor
Dtk_RGB _BorderBottomColor
Definition: util_draw_dtk.hpp:4069
Dtk_Region::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
Dtk_OneCell::~Dtk_OneCell
~Dtk_OneCell()
Destructor.
DTK_TRUE
#define DTK_TRUE
Definition: define.h:729
Dtk_FCFFeatureIndicator::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Definition: util_draw_dtk.hpp:5952
Dtk_OneCell::getnbCells_Top_Bottom
Dtk_Int32 getnbCells_Top_Bottom() const
Gets the number of cells at the bottom or left of the Dtk_OneCell.
Dtk_OneCell::anchor
Dtk_Size_t anchor
Defines the anchor texts.
Definition: util_draw_dtk.hpp:4058
Dtk_Symbol
This is the general symbol class. It's basically composed of Dtk_CompositeText and geometrical elemen...
Definition: util_draw_dtk.hpp:6368
DTK_TYPE_REGION
@ DTK_TYPE_REGION
Definition: define.h:561
Dtk_Welding::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:3181
Dtk_Grid::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Annotation anchor point.
Dtk_CompositeText::Dtk_CompositeText
Dtk_CompositeText(const Dtk_CompositeText &t)
Copy constructor.
Dtk_Welding::ComplementarySymbolWeldWithConcaveFace
@ ComplementarySymbolWeldWithConcaveFace
Definition: util_draw_dtk.hpp:3063
Dtk_DatumTarget::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:3975
Dtk_Text::ProcessRotationAngle
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.
Dtk_ToleranceSpecificationContainer::Create
static Dtk_ToleranceSpecificationContainerPtr Create(const Dtk_ToleranceSpecificationContainer &in)
Calls copy constructor to allocate a new object.
Dtk_ReferenceFrame::Create
static Dtk_ReferenceFramePtr Create(Dtk_ReferenceFrame &&in)
Calls move constructor to allocate a new object.
Dtk_Welding::FinishSymbolRoll
@ FinishSymbolRoll
Definition: util_draw_dtk.hpp:3113
Dtk_Leader::ArrowHead::CreateGeometries
void CreateGeometries(Dtk_tab< Dtk_CurvePtr > &outRes) const
DTK_Text_subtype::IsSeparator
Dtk_bool IsSeparator() const
Tell if the associated Dtk_text is a separator - into Dtk_Dimension -.
Dtk_Frame::Dtk_Frame
Dtk_Frame()
Default constructor.
Definition: util_draw_dtk.hpp:941
Dtk_Welding::~Dtk_Welding
~Dtk_Welding()
Destructor.
Dtk_CompositeText::operator+=
Dtk_CompositeText & operator+=(Dtk_CompositeText s2)
Merges the Dtk_CompositeText to another one.
Dtk_Roughness::SetRoughnessApplyTo
Dtk_ErrorStatus SetRoughnessApplyTo(const ApplyToEnum &inApplyTo)
Sets the apply-to type.
Dtk_2dEntity::AddAdditionnalGeometry
void AddAdditionnalGeometry(const Dtk_EntityPtr &inAdditionnalGeometry)
Adds an additionnal geometry to the Dtk_2dEntity.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_Roughness &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Dtk_Leader::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Oriented2dBBox::SetMiddleRightPoint
void SetMiddleRightPoint(const Dtk_pnt &inNewPoint)
Sets the middle right point.
Dtk_OneCell::SetText
void SetText(Dtk_CompositeText text)
Sets the text in the Dtk_OneCell.
Dtk_TextStyle::_justification
TextJustificationEnum _justification
Text Justification (Left, etc...)
Definition: util_draw_dtk.hpp:319
Dtk_View::AddOLEObject
Dtk_ErrorStatus AddOLEObject(const Dtk_OLEObjectPtr &inOLEObject)
Adds a Dtk_OLEObjectPtr to the view.
Dtk_FCFFeatureIndicator::m_Private
Dtk_Handle * m_Private
Definition: util_draw_dtk.hpp:5904
Dtk_Welding::Create
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)
Calls full featured constructor to allocate a new object.
Dtk_Leader::ApplicationZone::operator=
ApplicationZone & operator=(const ApplicationZone &in)
Copy assignment operator.
Definition: util_draw_dtk.hpp:1942
Dtk_Region::RectangularType
@ RectangularType
Definition: util_draw_dtk.hpp:7866
Dtk_Symbol::GetNumGeometricalElements
Dtk_Size_t GetNumGeometricalElements() const
Retrieves the geometrical elements number - read only -.
Dtk_Welding::SymbolFlangeEdge
@ SymbolFlangeEdge
Definition: util_draw_dtk.hpp:2982
Dtk_CompositeEntity::DtkDynamicCast
static Dtk_CompositeEntity * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ToleranceSpecificationContainer::GetAnchorPointsByTolSpec
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_OneCell::getJustification
Dtk_justication_type & getJustification()
Gets the Dtk_OneCell justification.
Dtk_Text::SetInnerAnchorPoint
Dtk_ErrorStatus SetInnerAnchorPoint(const Dtk_pnt &inNewOrigin, const Dtk_anchor_type &inLocationAnchorType)
Set the text inner anchor point.
Dtk_Leader::Create
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.
Dtk_Grid::GetDisplayGridOption
Dtk_bool GetDisplayGridOption() const
Gets the display grid option.
Dtk_ToleranceSpecificationContainer::ToleranceSpecificationContainerType
TypeEnum & ToleranceSpecificationContainerType()
Retrieves the Dtk_ToleranceSpecificationContainer type - get/set -.
Dtk_Roughness::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
DTK_Text_subtype::IsTolBloc
Dtk_bool IsTolBloc() const
Tell if the associated Dtk_text is part of Tolerance Block group - into Dtk_Dimension -.
Dtk_View::GetNumBodies
Dtk_Size_t GetNumBodies() const
Retrieves the bodies number to be dispalyed- read only -.
DTK_TYPE_REFERENCE
@ DTK_TYPE_REFERENCE
Definition: define.h:475
Dtk_OneCell::SetBorderTopBlanked
void SetBorderTopBlanked(const Dtk_Int32 &inBorderTopBlanked)
Sets BorderTopBlanked of Top border.
Dtk_Hatching::Create
static Dtk_HatchingPtr Create()
Calls default constructor to allocate a new object.
Dtk_Welding::WeldTextClearance
@ WeldTextClearance
Definition: util_draw_dtk.hpp:3079
Dtk_Drawing::Create
static Dtk_DrawingPtr Create(const Dtk_Drawing &in)
Calls copy constructor to allocate a new object.
Dtk_ToleranceSpecification::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_2dEntity::DtkDynamicCast
static Dtk_2dEntity * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Text::OuterXAxis
const Dtk_dir & OuterXAxis() const
Retrieves the outer bounding box XAxis - read only -.
Dtk_View::Dtk_View
Dtk_View()
Dtk_Welding::WeldTextLength
@ WeldTextLength
Definition: util_draw_dtk.hpp:3076
Dtk_TextStyle::TextJustificationEnumToString
static Dtk_string TextJustificationEnumToString(const TextJustificationEnum &inEnum)
Definition: util_draw_dtk.hpp:299
DTK_TYPE_CAMERA
@ DTK_TYPE_CAMERA
Definition: define.h:480
Dtk_GeometricalTolerance::GetToleranceSpecificationContainer
Dtk_ToleranceSpecificationContainerPtr & GetToleranceSpecificationContainer(const Dtk_Size_t &inPos)
Retrieves the ith Dtk_ToleranceSpecificationContainer - get/set -.
Dtk_Text::operator=
Dtk_Text & operator=(const Dtk_Text &in)
Copy assignment operator.
Dtk_ReferenceFrame::GetAnchorPoints
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
@ DTK_JUSTIFY_CENTER
Definition: util_draw_dtk.hpp:122
Dtk_ViewDisplay::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:6915
Dtk_ToleranceSpecificationContainer::SetToleranceTypeOuterBoundingBox
void SetToleranceTypeOuterBoundingBox(const Dtk_Oriented2dBBox &inOuterBBox) const
Set the Tolerance Specification Container Type outer Bounding Box.
Dtk_ReferenceBlock::~Dtk_ReferenceBlock
~Dtk_ReferenceBlock()
Destructor.
Dtk_Grid::GetGeometries
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_Grid geometries.
Dtk_View::GetNum2dGeometricalEntity
Dtk_Size_t GetNum2dGeometricalEntity() const
Retrieves the number of geometrical entity to the view.
Dtk_2dEntity::AddAdditionnalTexts
void AddAdditionnalTexts(Dtk_CompositeText inAddtionnalTexts)
Adds some additionnal texts to the Dtk_2dEntity.
Dtk_Hatching::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ToleranceSpecificationContainer::DtkDynamicCast
static Dtk_ToleranceSpecificationContainer * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Leader::GetArrowHead
ArrowHead & GetArrowHead()
DTK_Text_subtype::IsUpperFrac
Dtk_bool IsUpperFrac() const
Tell if the associated Dtk_text is part of Upper Fraction group - into Dtk_Dimension -.
Dtk_TextStyle::Font
const Dtk_Font & Font() const
Retrieves the font - read only -.
Dtk_Welding::SetArrowSideTexts
void SetArrowSideTexts(std::unordered_map< Dtk_UInt8, Dtk_CompositeText > &inTexts)
Set the Dtk_Welding ArrowSide Texts and their types.
Dtk_Leader::ApplicationZone::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the ApplicationZone.
Definition: util_draw_dtk.hpp:1931
Dtk_View::Dtk_View
Dtk_View(const Dtk_View &s)
Dtk_Roughness::GetMiddleLeftText
Dtk_Text GetMiddleLeftText() const
Gets the middle-left text - read only -.
Dtk_Oriented2dBBox::_Init
void _Init()
Definition: util_draw_dtk.hpp:479
DTK_FDT_MODIFIER
DTK_FDT_MODIFIER
This is the several tolerances modifiers list.
Definition: util_draw_dtk.hpp:57
Dtk_Welding::SymbolSquareButtWeld
@ SymbolSquareButtWeld
Definition: util_draw_dtk.hpp:2948
Dtk_Welding::SetIndentLineFlag
void SetIndentLineFlag(const Dtk_Char8 inIndentLineFlag=-1)
Sets the IndentLine Flag.
Dtk_Roughness::GetGeometries
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_Roughness geometries.
Dtk_Welding::FinishSymbolFlush
@ FinishSymbolFlush
Definition: util_draw_dtk.hpp:3105
DTK_Text_subtype::IsDual
Dtk_bool IsDual() const
Tell if the associated Dtk_text is part of dual group - into Dtk_Dimension -.
Dtk_Symbol::TypeUrl
@ TypeUrl
Definition: util_draw_dtk.hpp:6397
Dtk_Symbol::MergeWithOtherSymbol
void MergeWithOtherSymbol(const Dtk_SymbolPtr &inSymbolToBeMerged)
Merges texts and geometrical element of the given Dtk_Symbol into this Dtk_Symbol.
Dtk_Oriented2dBBox::Dtk_Oriented2dBBox
Dtk_Oriented2dBBox(const Dtk_Oriented2dBBox &in)
Copy constructor.
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
DTK_ALIGN_RIGHT
@ DTK_ALIGN_RIGHT
Definition: util_draw_dtk.hpp:111
Dtk_Hatching
This is the Hatching class. The hatching fills a close area delimited by boundaries (a set of Dtk_Pol...
Definition: util_draw_dtk.hpp:7681
Dtk_ToleranceSpecification::Dtk_ToleranceSpecification
Dtk_ToleranceSpecification()
Dtk_DatumTarget::TopText
const Dtk_CompositeText & TopText() const
Retrieves the top text - read only -.
Dtk_ToleranceSpecificationContainer::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES], const Dtk_bool &ProcessAddtionnalTexts) const
Processes all the Dtk_Symbol anchor points.
Dtk_Roughness::SetMiddleRightText
Dtk_ErrorStatus SetMiddleRightText(Dtk_Text inText)
Sets the middle-right text.
Dtk_Oriented2dBBox::ProcessIntersectionWithSegment
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.
Dtk_FCFFeatureIndicatorType
This is the Feature Indicator. It is part of the Dtk_FCFFeatureIndicator. .
Definition: util_draw_dtk.hpp:5765
Dtk_ReferenceBlock::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:4985
Dtk_Hatching::operator=
Dtk_Hatching & operator=(const Dtk_Hatching &in)
Copy assignment operator.
DTK_ANCHOR_BOTTOM_LEFT
@ DTK_ANCHOR_BOTTOM_LEFT
Definition: util_draw_dtk.hpp:100
Dtk_Leader::TerminatorTypeTriangle
@ TerminatorTypeTriangle
Definition: util_draw_dtk.hpp:1992
Dtk_Leader::TerminatorTypeCircle
@ TerminatorTypeCircle
Definition: util_draw_dtk.hpp:1978
Dtk_Grid::GetBoundingBox
Dtk_Oriented2dBBox & GetBoundingBox() const
Gets the 2d bbox of the grid.
Dtk_OneCell::setnbCells_Left_Right
void setnbCells_Left_Right(const Dtk_Size_t &inNewVal)
Sets nbCells_Left_Right.
Dtk_View::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6990
Dtk_2dEntity::get_type_detk
virtual type_detk get_type_detk() const =0
Dtk_Size_t
size_t Dtk_Size_t
Definition: define.h:714
Dtk_Text::SetOuterRotationAngle
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.
Dtk_ToleranceSpecificationContainer::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:6119
Dtk_CompositeEntity::GetPicture
Dtk_picturePtr GetPicture(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_picturePtr.
Dtk_FCFFeatureIndicatorType::Clear
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:5822
Dtk_Welding::SetReverseTailAndFieldFlag
void SetReverseTailAndFieldFlag(const Dtk_bool inReverseTailAndField=DTK_TRUE)
Sets the Field/Tail Reverse Flag.
Dtk_Roughness::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Roughness anchor point.
Dtk_DatumTarget::BottomText
const Dtk_CompositeText & BottomText() const
Retrieves the bottom text - read only -.
Dtk_DatumTarget::BottomText
Dtk_CompositeText & BottomText()
Retrieves the bottom text - get/set -.
Dtk_Text::InnerLocation
Dtk_pnt & InnerLocation()
Retrieves the inner bounding box location - get/set -.
Dtk_ReferenceBlock::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_TextStyle::Dtk_TextStyle
Dtk_TextStyle(const Dtk_TextStyle &in)
Copy constructor.
Dtk_Font::~Dtk_Font
~Dtk_Font()
Destructor.
Dtk_Frame::Dtk_Frame
Dtk_Frame(const Dtk_Frame &in)
Copy constructor.
Definition: util_draw_dtk.hpp:936
Dtk_ToleranceSpecification::Dtk_ToleranceSpecification
Dtk_ToleranceSpecification(Dtk_ToleranceSpecification &&in) DTK_NOEXCEPT
DTK_TYPE_COMPOSITE_ENTITY
@ DTK_TYPE_COMPOSITE_ENTITY
Definition: define.h:452
DTK_ANCHOR_TOP_CENTER
@ DTK_ANCHOR_TOP_CENTER
Definition: util_draw_dtk.hpp:95
Dtk_ToleranceSpecificationContainer::TypeStraightness
@ TypeStraightness
Definition: util_draw_dtk.hpp:6069
Dtk_DatumTarget::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES])
Processes all the Dtk_DatumTarget anchor points.
Dtk_Camera::DtkDynamicCast
static Dtk_Camera * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Symbol::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Symbol anchor points.
Dtk_Grid::GetDisplayMajorLinesOption
Dtk_bool GetDisplayMajorLinesOption() const
Gets the display major lines option.
Dtk_OneCell::set_min_Height
void set_min_Height(const double &inHeight)
Sets the Dtk_OneCell min_Height.
Dtk_Drawing::AddView
Dtk_ErrorStatus AddView(const Dtk_ViewPtr &inView, const Dtk_pnt &inOrigin)
Adds a view into the drawing.
Dtk_OneCell::_HasText
Dtk_bool _HasText
Definition: util_draw_dtk.hpp:4055
Dtk_ReferenceBlock::Create
static Dtk_ReferenceBlockPtr Create(Dtk_ReferenceBlock &&in)
Calls move constructor to allocate a new object.
Dtk_Roughness::GetRoughnessType
ObtentionTypeEnum GetRoughnessType() const
Gets the obtention type - read only -.
Dtk_Oriented2dBBox::ProcessIntersectionWithLine
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.
Dtk_View::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7003
Dtk_Leader::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:2201
Dtk_Oriented2dBBox::SetYLocalVector
void SetYLocalVector(const Dtk_dir &inNewYVector)
Sets the Y local vector.
Definition: util_draw_dtk.hpp:654
Dtk_Welding::WeldTextDepth
@ WeldTextDepth
Definition: util_draw_dtk.hpp:3078
Dtk_Text::GetInfo
const Dtk_InfoPtr & GetInfo() const
Retrieves the text infos - read only -.
DTK_FRAME_TYPE_UNDERLINE
@ DTK_FRAME_TYPE_UNDERLINE
Definition: util_draw_dtk.hpp:176
Dtk_Roughness::GetBottomRightText
Dtk_Text GetBottomRightText() const
Gets the bottom-right text - read only -.
Dtk_Welding::WeldTextNum
@ WeldTextNum
Definition: util_draw_dtk.hpp:3075
Dtk_FCFFeatureIndicatorType::m_Type
Dtk_FCFFeatureIndicatorTypeEnum m_Type
Definition: util_draw_dtk.hpp:5780
Dtk_Camera::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7381
Dtk_Region::AnnularType
@ AnnularType
Definition: util_draw_dtk.hpp:7868
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(Dtk_Table &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Dtk_CompositeEntity::Create
static Dtk_CompositeEntityPtr Create(const Dtk_CompositeEntity &in)
Calls copy constructor to allocate a new object.
DTK_ANCHOR_BOTTOM_CENTER
@ DTK_ANCHOR_BOTTOM_CENTER
Definition: util_draw_dtk.hpp:101
Dtk_CompositeEntity::GetEntity
Dtk_EntityPtr GetEntity(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_EntityPtr.
Dtk_CompositeEntity::~Dtk_CompositeEntity
~Dtk_CompositeEntity()
Destructor.
Dtk_Font::FontType
const FontTypeEnum & FontType() const
Retrieves the font type - read only -.
Dtk_Font::_font_type
FontTypeEnum _font_type
Font type (Postcript, TrueType)
Definition: util_draw_dtk.hpp:196
DTK_Text_subtype::IsPow
Dtk_bool IsPow() const
Tell if the associated Dtk_text is part of Pow group - into Dtk_Dimension -.
Dtk_Text::OuterXAxis
Dtk_dir & OuterXAxis()
Retrieves the outer bounding box XAxis - get/set -.
Dtk_Roughness::SetBottomRightText
Dtk_ErrorStatus SetBottomRightText(Dtk_Text inText)
Sets the bottom-right text.
Dtk_Welding::AddArrowSideText
void AddArrowSideText(WeldTextType inType, Dtk_CompositeText inText)
Add a Text and its type to the ArrowSide.
Dtk_Roughness::SetOtherRequirement
Dtk_ErrorStatus SetOtherRequirement(Dtk_Text inText)
Sets the OtherRequirement text.
Dtk_Welding::WeldTextFinishSymbol
@ WeldTextFinishSymbol
Definition: util_draw_dtk.hpp:3073
Dtk_Text
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:1112
Dtk_Grid::GetUSpacing
Dtk_Double64 GetUSpacing() const
Gets U spacing between lines.
Dtk_Fdt::TransformationMatrix
const Dtk_transfo & TransformationMatrix() const
Retrieves the transformation matrix - read only -.
Dtk_FCFFeatureIndicator::DtkDynamicCast
static Dtk_FCFFeatureIndicator * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Definition: util_draw_dtk.hpp:5959
Dtk_FCFFeatureIndicator::~Dtk_FCFFeatureIndicator
~Dtk_FCFFeatureIndicator()
Destructor.
Definition: util_draw_dtk.hpp:5940
Dtk_DatumTarget::Dtk_DatumTarget
Dtk_DatumTarget()
Dtk_Dimension::BasicDimensionTypeEnum
BasicDimensionTypeEnum
Definition: util_draw_dtk.hpp:4754
Dtk_FCFFeatureIndicator::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_FCFFeatureIndicator giving a translation vector.
Dtk_Oriented2dBBox::Merge
void Merge(const Dtk_Oriented2dBBox &inOriented2dBBox)
Merges the Dtk_Oriented2dBBox to another one.
Dtk_FCFFeatureIndicator::Dtk_FCFFeatureIndicator
Dtk_FCFFeatureIndicator(Dtk_FCFFeatureIndicatorType inFeatureIndicatorType, Dtk_Text inSymbol, Dtk_Text inDatumFeatureIdentifier)
Dtk_Annotation::Dtk_Annotation
Dtk_Annotation(const Dtk_Annotation &in)
Copy constructor.
Dtk_Roughness::Create
static Dtk_RoughnessPtr Create(const Dtk_Roughness &in)
Calls copy constructor to allocate a new object.
DTK_UNIT_MM
@ DTK_UNIT_MM
Definition: util_draw_dtk.hpp:79
Dtk_TextStyle::_font_style
FontStyleEnum _font_style
Font Style type (Regular, Italic, etc...)
Definition: util_draw_dtk.hpp:315
Dtk_Symbol::TypeRoughness
@ TypeRoughness
Definition: util_draw_dtk.hpp:6376
Dtk_GeometricalTolerance::Dtk_GeometricalTolerance
Dtk_GeometricalTolerance(Dtk_GeometricalTolerance &&s) DTK_NOEXCEPT
Dtk_Roughness::ModeParticular
@ ModeParticular
Definition: util_draw_dtk.hpp:2597
Dtk_ToleranceSpecificationContainer::SetLeftText
Dtk_ErrorStatus SetLeftText(Dtk_CompositeText inText)
Sets the Dtk_ToleranceSpecificationContainer left-text.
Dtk_Oriented2dBBox::Extend
void Extend(const Dtk_Double64 &inTopExtend, const Dtk_Double64 &inBottomExtend, const Dtk_Double64 &inLeftExtend, const Dtk_Double64 &inRightExtend)
Extend the bounding box.
Dtk_Welding::SymbolRemovableBackingStripUsed
@ SymbolRemovableBackingStripUsed
Definition: util_draw_dtk.hpp:2974
Dtk_Frame::_Init
void _Init()
Definition: util_draw_dtk.hpp:912
Dtk_OneCell::_BorderLeftBlanked
Dtk_Int32 _BorderLeftBlanked
Definition: util_draw_dtk.hpp:4079
Dtk_ViewDisplay::GetHiddenEdgesLineStyle
Dtk_ErrorStatus GetHiddenEdgesLineStyle(Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const
Retrieves Line style for Hidden Edges.
Dtk_TextStyle::_char_width
Dtk_Double64 _char_width
Width of each char in the text.
Definition: util_draw_dtk.hpp:325
Dtk_Welding::GetReverseTailAndFieldFlag
Dtk_bool GetReverseTailAndFieldFlag() const
Tells if the Field/Tail are reversed.
Dtk_Welding::SymbolFlareBevelWeld
@ SymbolFlareBevelWeld
Definition: util_draw_dtk.hpp:2990
Dtk_Leader
This class graphically represents leader of annotations. It is part of Dtk_Annotation and Dtk_Dimens...
Definition: util_draw_dtk.hpp:1828
Dtk_Drawing
This is the drawing class. It basically contains a Dtk_View array.
Definition: util_draw_dtk.hpp:6720
dtk_val.hpp
Dtk_CompositeText::operator+
friend Dtk_CompositeText operator+(Dtk_CompositeText s1, Dtk_CompositeText s2)
Add all the Dtk_Text from the two Dtk_CompositeText.
Dtk_Leader::ApplicationZone::ApplicationZoneEnumToString
static Dtk_string ApplicationZoneEnumToString(const ApplicationZoneEnum &inEnum)
Definition: util_draw_dtk.hpp:1843
Dtk_Welding::GetArrowSideClearanceText
Dtk_CompositeText GetArrowSideClearanceText() const
Retrieves the ArrowSideClearanceText Dtk_CompositeText.
Dtk_TextStyle::Pitch
Dtk_Double64 & Pitch()
Retrieves the text pitch - get/set -.
Dtk_Grid::~Dtk_Grid
~Dtk_Grid()
Destructor.
Dtk_Welding::SetArrowSideSecondFilletSizeText
void SetArrowSideSecondFilletSizeText(Dtk_CompositeText inArrowSideSecondFilletSizeText)
Sets the ArrowSideSecondFilletSizeText Dtk_CompositeText.
Dtk_Welding::GetComplementarySymbolArrowSide
ComplementarySymbolEnum GetComplementarySymbolArrowSide() const
Retrieves the ArrowSide WeldingSymboEnum.
Dtk_Font::Dtk_Font
Dtk_Font()
Default constructor.
Dtk_Dimension::Dtk_Dimension
Dtk_Dimension(const Dtk_Dimension &in)
Dtk_ReferenceFrame::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5174
Dtk_Fdt::GetScreenDisplayAttribute
Dtk_Fdt::ScreenDisplayEnum GetScreenDisplayAttribute() const
Gets the ScreenDisplay attribute of the Dtk_Fdt.
Dtk_Table::Dtk_Table
Dtk_Table(const Dtk_Table &tab)
Dtk_Frame::~Dtk_Frame
~Dtk_Frame()
Destructor.
Definition: util_draw_dtk.hpp:947
Dtk_TextStyle::FontStyleEnum
FontStyleEnum
Definition: util_draw_dtk.hpp:255
Dtk_OneCell::_BorderRightColor
Dtk_RGB _BorderRightColor
Definition: util_draw_dtk.hpp:4073
Dtk_Welding::GetLengthTextArrowSide
Dtk_Text GetLengthTextArrowSide() const
Retrieves the ArrowSide Length Dtk_Text.
Dtk_Welding::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:3144
Dtk_View::IsView
bool IsView(ViewType typeView)
Dtk_Oriented2dBBox::GetBottomCenterPoint
Dtk_pnt GetBottomCenterPoint() const
Retrieves the bottom center point - Read Only -.
Definition: util_draw_dtk.hpp:573
Dtk_Font::operator=
Dtk_Font & operator=(Dtk_Font &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_ReferenceBlock::Translate
void Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_ReferenceBlock - internal use only -.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_TablePtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Create from Dtk_TablePtr.
Dtk_Font::FontTruescript
@ FontTruescript
Definition: util_draw_dtk.hpp:188
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_GeometricalTolerance &inToBeConverteds, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
DTK_FALSE
#define DTK_FALSE
Definition: define.h:730
Dtk_Welding::SetOtherSideSecondFilletSizeText
void SetOtherSideSecondFilletSizeText(Dtk_CompositeText inOtherSideSecondFilletSizeText)
Sets the OtherSideSecondFilletSizeText Dtk_CompositeText.
DTK_FRAME_TYPE_OBLONG_LEFT
@ DTK_FRAME_TYPE_OBLONG_LEFT
Definition: util_draw_dtk.hpp:152
Dtk_FCFFeatureIndicatorType::m_RelatedGeomElements
Dtk_tab< Dtk_CurvePtr > m_RelatedGeomElements
Definition: util_draw_dtk.hpp:5781
Dtk_OneCell::SetBorderRightColor
void SetBorderRightColor(const Dtk_Int32 &inBorderRightColor)
Sets BorderRightColor of Right border.
util_geom_dtk.hpp
Dtk_Fdt::Dtk_Fdt
Dtk_Fdt(const Dtk_Fdt &inToBeCopied)
Dtk_Symbol::TypeEnumToString
static const Dtk_string TypeEnumToString(const TypeEnum &inEnum)
Definition: util_draw_dtk.hpp:6400
Dtk_Leader::ArrowHead::ArrowHead
ArrowHead()
Default constructor.
Definition: util_draw_dtk.hpp:2114
DTK_TYPE_SYMBOL
@ DTK_TYPE_SYMBOL
Definition: define.h:411
Dtk_CompositeEntity::Dtk_CompositeEntity
Dtk_CompositeEntity(const Dtk_CompositeEntity &s)
Dtk_Grid::Create
static Dtk_GridPtr Create(const Dtk_Grid &in)
CreateCopy{in}.
Dtk_ToleranceSpecificationContainer::GetRightText
const Dtk_Text & GetRightText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer right-text as Dtk_Text - read only -.
Dtk_Oriented2dBBox::operator=
Dtk_Oriented2dBBox & operator=(const Dtk_Oriented2dBBox &in)
Copy assignment operator.
Dtk_Welding::GetOtherSideWeldSymbolText
Dtk_CompositeText GetOtherSideWeldSymbolText() const
Retrieves the OtherSideWeldSymbolText Dtk_CompositeText.
Dtk_bool
char Dtk_bool
Definition: define.h:727
Dtk_Welding::SymbolSteepFlankedSingleBevelButtWeld
@ SymbolSteepFlankedSingleBevelButtWeld
Definition: util_draw_dtk.hpp:2968
Dtk_Text::ProcessTextNumLines
Dtk_Int32 ProcessTextNumLines() const
Processes the line feed number.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_Symbol &s)
Dtk_FCFFeatureIndicator::Create
static Dtk_FCFFeatureIndicatorPtr Create()
Calls default constructor to allocate a new object.
Definition: util_draw_dtk.hpp:5972
DTK_TYPE_VIEW
@ DTK_TYPE_VIEW
Definition: define.h:446
Dtk_Roughness::Dtk_Roughness
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)
Dtk_Oriented2dBBox::SetTopLeftPoint
void SetTopLeftPoint(const Dtk_pnt &inNewPoint)
Sets the top left point.
DTK_TYPE_DATUM_TARGET
@ DTK_TYPE_DATUM_TARGET
Definition: define.h:439
Dtk_OneCell::SetBorderBottomColor
void SetBorderBottomColor(const Dtk_RGB &inBorderBottomColor)
Dtk_Leader::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Roughness::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:2876
Dtk_TextStyle::Slant
Dtk_Double64 & Slant()
Retrieves the text slant - get/set -.
Dtk_DatumTarget::DatumTargetTypeEnumToString
static Dtk_string DatumTargetTypeEnumToString(const DatumTargetTypeEnum &inEnum)
Definition: util_draw_dtk.hpp:3721
Dtk_Dimension::AddText
Dtk_ErrorStatus AddText(Dtk_Text inText)
Adds text to the Dtk_Dimension text.
Dtk_TextStyle::Attributes
TextAttributeEnum & Attributes()
Retrieves the text attribute - get/set -.
Dtk_GeometricalTolerance::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType, const Dtk_bool &inProcessAddtionnalTexts)
Sets the Dtk_GeometricalTolerance anchor point.
Dtk_Welding::GetComplementarySymbolOtherSide
ComplementarySymbolEnum GetComplementarySymbolOtherSide() const
Retrieves the OtherSide WeldingSymboEnum.
Dtk_FCFFeatureIndicatorType::Dtk_FCFFeatureIndicatorType
Dtk_FCFFeatureIndicatorType(const Dtk_FCFFeatureIndicatorType &in)
Copy constructor.
Definition: util_draw_dtk.hpp:5807
Dtk_View::Scale
Dtk_Double64 & Scale()
Retrieves the Dtk_View scale - get/set-.
Dtk_Dimension::DtkDynamicCast
static Dtk_Dimension * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Text::SetOuterAnchorPoint
Dtk_ErrorStatus SetOuterAnchorPoint(const Dtk_pnt &inNewOrigin, const Dtk_anchor_type &inLocationAnchorType)
Set the text outer anchor point.
DTK_Text_subtype::IsBasisval
Dtk_bool IsBasisval() const
Tell if the associated Dtk_text is part of Basis group - into Dtk_Dimension -.
Dtk_ToleranceSpecification::FirstReference
const Dtk_ReferenceBlockPtr & FirstReference() const
Retrieves the first reference block - read only -. This is a shortcut without using Dtk_ReferenceFram...
Dtk_Welding::GetBrazingOtherSide
Dtk_bool GetBrazingOtherSide() const
Tells if the Brazing is activated for the OtherSide.
Dtk_Leader::ArrowHead::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the ApplicationZone.
Definition: util_draw_dtk.hpp:2169
Dtk_TextStyle::operator=
Dtk_TextStyle & operator=(const Dtk_TextStyle &in)
Copy assignment operator.
Dtk_HatchingPattern::_style
Dtk_HatchingStyle _style
Definition: util_draw_dtk.hpp:7576
Dtk_Leader::SetLeaderCurveThicknessInMM
void SetLeaderCurveThicknessInMM(const Dtk_Double64 inCurveThicknessinMM)
Set the leader curve Thickness in Millimeters.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create()
Calls default constructor to allocate a new object.
Dtk_OneCell::justification
Dtk_justication_type justification
Text justification.
Definition: util_draw_dtk.hpp:4064
Dtk_CompositeText::Clear
void Clear()
DTK_ANCHOR_MIDDLE_CENTER
@ DTK_ANCHOR_MIDDLE_CENTER
Definition: util_draw_dtk.hpp:98
Dtk_Camera::ProcessXSemiAngle
Dtk_Double64 ProcessXSemiAngle() const
Processes the X - along width - Semi Angle - read only -.
Definition: util_draw_dtk.hpp:7502
Dtk_ViewDisplay::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Welding::SetOtherSideWeldingSymbol
void SetOtherSideWeldingSymbol(WeldingSymbolEnum inWeldingSymbol)
Set the WeldingSymbol of the OtherSide.
Dtk_Welding::FinishSymbolMachine
@ FinishSymbolMachine
Definition: util_draw_dtk.hpp:3111
Dtk_Roughness::GetSymbolColor
void GetSymbolColor(Dtk_Int32 &outColorId) const
get the color of the Symbol
Dtk_CompositeEntity::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7752
Dtk_FCFFeatureIndicator::operator=
Dtk_FCFFeatureIndicator & operator=(const Dtk_FCFFeatureIndicator &in)
Copy assignment operator.
Dtk_FCFFeatureIndicatorType::SetIndicatorTypeData
void SetIndicatorTypeData(const Dtk_FCFFeatureIndicatorTypeEnum &inIndicatorType, const Dtk_Oriented2dBBox &inOuterBoundingBox, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set IndicatorType data.
Definition: util_draw_dtk.hpp:5832
Dtk_Leader::ApplicationZone::Clear
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:1890
Dtk_View::Create
static Dtk_ViewPtr Create(Dtk_View &&in)
Calls move constructor to allocate a new object.
Dtk_Welding::GetFinishSymbolOtherSide
FinishSymbolEnum GetFinishSymbolOtherSide() const
Retrieves the OtherSide FinishSymbol as FinishSymbolEnum.
Dtk_DatumTarget::TopText
Dtk_CompositeText & TopText()
Retrieves the top text - get/set -.
Dtk_Symbol::TypeCenterMark
@ TypeCenterMark
Definition: util_draw_dtk.hpp:6390
Dtk_DatumTarget::SetFrame
void SetFrame(Dtk_Frame inFrame)
Sets the frame of the Datum Target.
Dtk_Dimension::Dtk_Dimension
Dtk_Dimension(Dtk_Dimension &&in) DTK_NOEXCEPT
Dtk_GeometricalTolerance::GetToleranceSpecificationContainer
const Dtk_ToleranceSpecificationContainerPtr & GetToleranceSpecificationContainer(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_ToleranceSpecificationContainer - read only -.
Dtk_Oriented2dBBox::GetBottomLeftPoint
Dtk_pnt GetBottomLeftPoint() const
Retrieves the bottom left point - Read Only -.
Definition: util_draw_dtk.hpp:552
Dtk_Grid::Local
@ Local
Definition: util_draw_dtk.hpp:4514
Dtk_Oriented2dBBox::_Reset
void _Reset()
Definition: util_draw_dtk.hpp:504
Dtk_Font::_ID
Dtk_Size_t _ID
Font ID.
Definition: util_draw_dtk.hpp:198
Dtk_Text::GetOuterRotationAngle
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_Symbol::_CreateDatumFeatureFrameAsGeometries
Dtk_ErrorStatus _CreateDatumFeatureFrameAsGeometries(Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES])
Internal use only.
DTK_Text_subtype::IsChamfersign
Dtk_bool IsChamfersign() const
Tell if the associated Dtk_text is part of Chamfer Sign group - into Dtk_Dimension -.
Dtk_Leader::ArrowHead::SetWidthHeight
void SetWidthHeight(const Dtk_Double64 inWidth, const Dtk_Double64 inHeight)
Definition: util_draw_dtk.hpp:2149
Dtk_HatchingPattern::Dtk_HatchingPattern
Dtk_HatchingPattern(const Dtk_HatchingPattern &in)
Copy constructor.
Definition: util_draw_dtk.hpp:7597
Dtk_Table::Create
static Dtk_TablePtr Create(const Dtk_Table &in)
CreateCopy{in}.
Dtk_Symbol::TypeCustomSymbol
@ TypeCustomSymbol
Definition: util_draw_dtk.hpp:6395
Dtk_View::GetOLEObject
Dtk_OLEObjectPtr GetOLEObject(const Dtk_Size_t &inIndex) const
Retrieves the OLE Object at index.
DTK_Text_subtype::IsMainvalpart
Dtk_bool IsMainvalpart() const
Tell if the associated Dtk_text is part of Main Value Part group - into Dtk_Dimension -.
Dtk_ToleranceSpecification::operator=
Dtk_ToleranceSpecification & operator=(Dtk_ToleranceSpecification &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_Fdt::SetScreenDisplayAttribute
void SetScreenDisplayAttribute(const ScreenDisplayEnum inType)
Sets the ScreenDisplay attribute of the Dtk_Fdt.
Dtk_ToleranceSpecificationContainer::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ToleranceSpecification::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES], const Dtk_Int32 &ignoreadd=0) const
Processes all the Dtk_ToleranceSpecification anchor points.
Dtk_Double64
double Dtk_Double64
Definition: define.h:701
Dtk_Welding::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Welding::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES])
Dtk_Fdt::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7238
Dtk_Grid::Dtk_Grid
Dtk_Grid()
Default constructor.
Definition: util_draw_dtk.hpp:4519
Dtk_Welding::GetIndentLineFlag
Dtk_Char8 GetIndentLineFlag() const
Retrieves the IndentLine Flag.
Dtk_Welding::GetOtherSideDepthText
Dtk_CompositeText GetOtherSideDepthText() const
Retrieves the OtherSideDepthText Dtk_CompositeText.
Dtk_Font::Dtk_Font
Dtk_Font(const Dtk_Font &in)
Copy constructor.
Dtk_Dimension::~Dtk_Dimension
~Dtk_Dimension()
Destructor.
Dtk_ToleranceSpecificationContainer::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Leader::ApplicationZone::ApplicationZone
ApplicationZone(const ApplicationZoneEnum &inApplicationZoneType, const Dtk_tab< Dtk_CurvePtr > &inRelatedGeometricalElts)
Full featured constructor.
Dtk_Oriented2dBBox::IsInside
Dtk_bool IsInside(const Dtk_pnt &inPoint) const
Test if a point is inside Dtk_Oriented2dBBox class.
Dtk_Text::OuterYAxis
const Dtk_dir & OuterYAxis() const
Retrieves the outer bounding box YAxis - read only -.
Dtk_OneCell::_BorderLeftColor
Dtk_RGB _BorderLeftColor
Definition: util_draw_dtk.hpp:4071
Dtk_Leader::SetLeaderWidthHeight
void SetLeaderWidthHeight(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight)
Dtk_Fdt::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Roughness::SetSymbolColor
void SetSymbolColor(Dtk_Int32 inColorId) const
set the color of the Symbol
Dtk_Welding::WeldingSymbolEnum
WeldingSymbolEnum
Definition: util_draw_dtk.hpp:2945
Dtk_TextStyle::_char_height
Dtk_Double64 _char_height
Height of each char in the text.
Definition: util_draw_dtk.hpp:321
Dtk_Leader::ArrowHead::m_ArrowLocation
Dtk_pnt m_ArrowLocation
Definition: util_draw_dtk.hpp:2074
Dtk_Oriented2dBBox::GetYLength
Dtk_Double64 GetYLength() const
Retrieves the Y length - Read Only -.
Definition: util_draw_dtk.hpp:625
Dtk_Dimension::LinearRadiusDimension
@ LinearRadiusDimension
Definition: util_draw_dtk.hpp:4744
Dtk_Symbol::TypeHoleNote
@ TypeHoleNote
Definition: util_draw_dtk.hpp:6396
Dtk_Region::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Annotation anchor point.
Dtk_OneCell::GetAdditionnalGeometries
const Dtk_tab< Dtk_EntityPtr > & GetAdditionnalGeometries() const
Retrieves the additionnal geometries of the Dtk_OneCell.
Dtk_Camera::Focus
Dtk_Double64 Focus() const
Definition: util_draw_dtk.hpp:7530
Dtk_Leader::Create
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.
Dtk_GeometricalTolerance::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_GeometricalTolerance.
Dtk_Leader::ApplicationZone::~ApplicationZone
~ApplicationZone()
Destructor.
Definition: util_draw_dtk.hpp:1887
Dtk_Unit
Dtk_Unit
Definition: util_draw_dtk.hpp:76
Dtk_View::AddView
void AddView(ViewType typeView)
DTK_Text_subtype::IsNotDefined
Dtk_bool IsNotDefined() const
Dtk_DatumTarget::GetOptionnalBottomTextLeader
const Dtk_LeaderPtr & GetOptionnalBottomTextLeader() const
Retrieves optionnal Leader of the Bottom Text.
Dtk_Fdt::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7256
Dtk_Welding::Dtk_Welding
Dtk_Welding(const Dtk_pnt &inLocation, const Dtk_InfoPtr &inInfos, Dtk_tab< Dtk_LeaderPtr > inLeaders=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 inAngle=0.0, const Dtk_Double64 inOffset=0.0, const Dtk_anchor_type inAnchor_type=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type inJustification=DTK_JUSTIFY_LEFT)
Dtk_ReferenceBlock::DtkDynamicCast
static Dtk_ReferenceBlock * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Roughness::Dtk_Roughness
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)
Dtk_OneCell::GetText
const Dtk_CompositeText & GetText() const
Dtk_Leader::GetAllAroundSet
Dtk_bool GetAllAroundSet() const
OBSOLETE Retrieves the status of the all around property for the current drawing leader.
Dtk_Leader::Create
static Dtk_LeaderPtr Create(const Dtk_Leader &s)
Calls copy constructor to allocate a new object.
Dtk_Roughness::GetOtherRequirement
Dtk_Text GetOtherRequirement() const
Gets the OtherRequirement text - read only -.
Dtk_Text::AnchorType
Dtk_anchor_type & AnchorType()
Retrieves the text anchor type - get/set -.
Dtk_TextStyle::StyleBold
@ StyleBold
Definition: util_draw_dtk.hpp:259
Dtk_Roughness::GetMiddleRightText
Dtk_Text GetMiddleRightText() const
Gets the middle-right text - read only -.
Dtk_Leader::TerminatorTypeFilledTriangle
@ TerminatorTypeFilledTriangle
Definition: util_draw_dtk.hpp:1994
Dtk_Symbol::TypeCoordinateDimension
@ TypeCoordinateDimension
Definition: util_draw_dtk.hpp:6385
Dtk_Dimension::DistanceDimension
@ DistanceDimension
Definition: util_draw_dtk.hpp:4750
Dtk_Region::SetRectangularHeight
Dtk_ErrorStatus SetRectangularHeight(Dtk_Double64 inHeight)
Sets the height of the rectangular Dtk_Region.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(Dtk_Symbol &&s) DTK_NOEXCEPT
Dtk_DatumTarget::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_DatumTarget.
Dtk_DatumTarget::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Drawing::GetView
Dtk_ViewPtr & GetView(const Dtk_Size_t &inPos)
Retrieves the ith Dtk_View - get/set -.
Dtk_Welding::SymbolSurfaceJointWeld
@ SymbolSurfaceJointWeld
Definition: util_draw_dtk.hpp:3000
Dtk_Hatching::SetApplyScaleOnPattern
void SetApplyScaleOnPattern(bool inApply=true)
Specify if applying transform also scales pattern data. Not active by default.
util_draw_ptr_dtk.hpp
Dtk_Leader::TerminatorTypeDoubleCloseArrow
@ TerminatorTypeDoubleCloseArrow
Definition: util_draw_dtk.hpp:2006
Dtk_Region::DtkDynamicCast
static Dtk_Region * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_TextStyle::CharWidth
Dtk_Double64 & CharWidth()
Retrieves the char width - get/set -.
Dtk_Leader::Dtk_Leader
Dtk_Leader(const Dtk_Double64 &inWidth, const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum &inTerminatorType, const Dtk_tab< Dtk_pnt > &inPntsArray)
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_Symbol &in)
Calls copy constructor to allocate a new object.
Dtk_Text::TextStyle
const Dtk_TextStyle & TextStyle() const
Retrieves the text text style - read only -.
DTK_ANCHOR_TOP_LEFT
@ DTK_ANCHOR_TOP_LEFT
Definition: util_draw_dtk.hpp:94
Dtk_Welding::GetArrowSideSecondFilletLengthText
Dtk_CompositeText GetArrowSideSecondFilletLengthText() const
Retrieves the ArrowSideSecondFilletLengthText Dtk_CompositeText.
Dtk_GeometricalTolerance::SetLetteringColor
void SetLetteringColor(const Dtk_RGB &inLetteringColor)
Sets the lettering color for symbol and references.
Dtk_View::GetPicture
Dtk_picturePtr GetPicture(const Dtk_Size_t &inPos) const
Retrieves the ith Picture.
Dtk_View::Create
static Dtk_ViewPtr Create()
Calls default constructor to allocate a new object.
Dtk_Oriented2dBBox::SetXLength
void SetXLength(const Dtk_Double64 &inNewXlength)
Retrieves the X length.
Dtk_ToleranceSpecificationContainer::TolSpecContTypeToDtk_string
static Dtk_string TolSpecContTypeToDtk_string(const TypeEnum inValue)
Dtk_Fdt::ScreenDisplayEnum
ScreenDisplayEnum
Definition: util_draw_dtk.hpp:7220
Dtk_Table::nbCells_Line
Dtk_tab< Dtk_Size_t > nbCells_Line
number of cells on each line (if we consider mergers)
Definition: util_draw_dtk.hpp:4301
Dtk_Symbol::TypeRegion
@ TypeRegion
Definition: util_draw_dtk.hpp:6392
Dtk_Region::CylindricalType
@ CylindricalType
Definition: util_draw_dtk.hpp:7869
Dtk_DatumTarget
This is the Datum Target.
Definition: util_draw_dtk.hpp:3704
Dtk_Oriented2dBBox::SetTopCenterPoint
void SetTopCenterPoint(const Dtk_pnt &inNewPoint)
Sets the top center point.
Dtk_Roughness::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
Dtk_Welding::AddArrowSideUndefinedText
void AddArrowSideUndefinedText(Dtk_CompositeText inText)
Add an undefined Text to the ArrowSide.
Dtk_ToleranceSpecification::ProcessHeight
Dtk_Double64 ProcessHeight() const
Internal use only.
Dtk_Dimension::ChamferDimension
@ ChamferDimension
Definition: util_draw_dtk.hpp:4748
Dtk_Table::Text
Dtk_CompositeText & Text(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
Dtk_ReferenceBlock
This is the Dtk_ReferenceBlock Class. It is part of the Dtk_ReferenceFrame entity.
Definition: util_draw_dtk.hpp:4983
Dtk_Val
Definition: dtk_val.hpp:67
Dtk_Welding::SymbolFlangeCorner
@ SymbolFlangeCorner
Definition: util_draw_dtk.hpp:2986
Dtk_ReferenceBlock::operator=
Dtk_ReferenceBlock & operator=(const Dtk_ReferenceBlock &in)
Full featured constructor.
Dtk_Drawing::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6722
Dtk_DatumTarget::Translate
void Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_ReferenceBlock - internal use only -.
Dtk_ToleranceSpecification::ThirdReference
Dtk_ReferenceBlockPtr & ThirdReference()
Retrieves the third reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame ...
Dtk_Frame::Dtk_Frame
Dtk_Frame(Dtk_Frame &&in) DTK_NOEXCEPT
Move constructor.
Definition: util_draw_dtk.hpp:938
Dtk_Welding::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&inTabPoints)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
Dtk_Symbol::Texts
Dtk_CompositeText & Texts()
Retrieves the Dtk_CompositeText included into the Dtk_Symbol - get/set -.
Dtk_Welding::AddOtherSideText
void AddOtherSideText(WeldTextType inType, Dtk_CompositeText inText)
Add a Text and its type to the OtherSide.
Dtk_Oriented2dBBox::SetLocalVectors
void SetLocalVectors(const Dtk_dir &inNewXVector, const Dtk_dir &inNewYVector)
Sets the X and Y local vectors.
Definition: util_draw_dtk.hpp:663
Dtk_Roughness
This is the Roughness class.
Definition: util_draw_dtk.hpp:2566
Dtk_TextStyle::StyleItalic
@ StyleItalic
Definition: util_draw_dtk.hpp:261
Dtk_Table::Text
const Dtk_CompositeText & Text(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
Gets the (i,j)th text - get/set -.
Dtk_Leader::TerminatorTypeFilledCircle
@ TerminatorTypeFilledCircle
Definition: util_draw_dtk.hpp:1980
Dtk_ReferenceBlock::Create
static Dtk_ReferenceBlockPtr Create(const Dtk_ReferenceBlock &in)
Calls copy constructor to allocate a new object.
Dtk_TextStyle::Dtk_TextStyle
Dtk_TextStyle()
Default constructor.
Dtk_Leader::IncludeOptions
IncludeOptions
Definition: util_draw_dtk.hpp:2059
Dtk_Welding::Create
static Dtk_WeldingPtr Create()
Calls default constructor to allocate a new object.
Dtk_ToleranceSpecificationContainer::GetTopTextLabel
Dtk_string GetTopTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer top-text - read only -.
Dtk_Dimension::CurvilinearDimension
@ CurvilinearDimension
Definition: util_draw_dtk.hpp:4736
Dtk_Dimension::BasicTypeFlagRight
@ BasicTypeFlagRight
Definition: util_draw_dtk.hpp:4758
Dtk_Leader::ArrowHead::SetData
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:2118
Dtk_Drawing::Height
const Dtk_Double64 & Height() const
Retrieves the drawing height - read only -.
Dtk_Symbol::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6435
Dtk_FCFFeatureIndicatorType::operator=
Dtk_FCFFeatureIndicatorType & operator=(const Dtk_FCFFeatureIndicatorType &in)
Copy assignment operator.
Definition: util_draw_dtk.hpp:5869
Dtk_Welding::ComplementarySymbolEnumToString
static Dtk_string ComplementarySymbolEnumToString(const ComplementarySymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3086
Dtk_ReferenceFrame::Dtk_ReferenceFrame
Dtk_ReferenceFrame(const Dtk_ReferenceBlockPtr &ref)
Dtk_FCFFeatureIndicatorType::CollectionPlane
@ CollectionPlane
Definition: util_draw_dtk.hpp:5773
Dtk_Welding::SetArrowSideSecondFilletLengthText
void SetArrowSideSecondFilletLengthText(Dtk_CompositeText inArrowSideSecondFilletLengthText)
Sets the ArrowSideSecondFilletLengthText Dtk_CompositeText.
Dtk_Roughness::GetBottomLeftText
Dtk_Text GetBottomLeftText() const
Gets the bottom-left text - read only -.
Dtk_Roughness::SetRoughnessType
Dtk_ErrorStatus SetRoughnessType(const ObtentionTypeEnum &inObtentionType)
Sets the obtention type.
Dtk_Region::SetCircularDiameter
Dtk_ErrorStatus SetCircularDiameter(Dtk_Double64 inDiameter)
Sets the diameter of the circular Dtk_Region.
Dtk_Leader::SetArrowHead
void SetArrowHead(const ArrowHead &inArroWHead)
Dtk_Text::Text
Dtk_string & Text()
Retrieves the text string - get/set -.
Dtk_Welding::GetArrowSideDepthText
Dtk_CompositeText GetArrowSideDepthText() const
Retrieves the ArrowSideDepthText Dtk_CompositeText.
Dtk_HatchingPattern::_color
Dtk_RGB _color
Definition: util_draw_dtk.hpp:7580
Dtk_Region::operator=
Dtk_Region & operator=(const Dtk_Region &in)
Copy assignment operator.
Dtk_TextStyle::_ratio
Dtk_Double64 _ratio
Char Ratio. It represents the stretch of the width of the text. Default value is 1.
Definition: util_draw_dtk.hpp:331
Dtk_Fdt::ScreenDisplayEnumToString
static Dtk_string ScreenDisplayEnumToString(const ScreenDisplayEnum &inEnum)
Definition: util_draw_dtk.hpp:7227
Dtk_ViewDisplay::GetVisibleEdgesLineStyle
Dtk_ErrorStatus GetVisibleEdgesLineStyle(Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const
Retrieves Line style for Visible Edges.
dtk_pnt.hpp
Dtk_ReferenceFrame::Dtk_ReferenceFrame
Dtk_ReferenceFrame(const Dtk_ReferenceFrame &s)
Dtk_Oriented2dBBox::_YLocalVector
Dtk_dir _YLocalVector
Definition: util_draw_dtk.hpp:475
Dtk_Symbol::TypeAnnotationTable
@ TypeAnnotationTable
Definition: util_draw_dtk.hpp:6380
Dtk_FCFFeatureIndicator::Dtk_FCFFeatureIndicator
Dtk_FCFFeatureIndicator()
Definition: util_draw_dtk.hpp:5912
DTK_FRAME_TYPE_SYMMETRICAL_SET
@ DTK_FRAME_TYPE_SYMMETRICAL_SET
Definition: util_draw_dtk.hpp:165
Dtk_Grid::GetMajorLineWidth
Dtk_Double64 GetMajorLineWidth() const
Gets the major line width.
Dtk_Dimension::SetAsDeprecated
SetAsDeprecated("2025.4", "Use Dtk_LeaderPtr GetNumLeaders() and Dtk_ErrorStatus Dtk_Leader::GetExtensionLine() instead") Dtk_Size_t GetNumExtensionLines() const
Retrieves the extension lines number - read only -.
DTK_TYPE_REFERENCE_FRAME
@ DTK_TYPE_REFERENCE_FRAME
Definition: define.h:476
Dtk_GeometricalTolerance::at
Dtk_ToleranceSpecificationContainerPtr & at(const Dtk_Size_t &inPos)
Retrieves the ith Dtk_ToleranceSpecificationContainer - get/set -.
Dtk_Roughness::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Leader::SetStubDelta
void SetStubDelta(const double &inStubDelta)
Set the value of the leader stub.
Dtk_Font
This is the font class This class lets you access to font information (name, type ....
Definition: util_draw_dtk.hpp:184
Dtk_Text::OuterLocation
const Dtk_pnt & OuterLocation() const
Retrieves the outer bounding box location - read only -.
Dtk_Roughness::Create
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_Oriented2dBBox::ProcessIntersectionWithLine
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_Grid::GetMajorLineStyle
Dtk_FontLineType GetMajorLineStyle() const
Gets the major line font line type.
Dtk_CompositeEntity::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7785
Dtk_Grid::GetDisplayOnTopOption
Dtk_bool GetDisplayOnTopOption() const
Gets the display on top option.
Dtk_Welding::SetBrazingArrowSide
void SetBrazingArrowSide(const Dtk_bool inBrazing=DTK_TRUE)
Sets the Brazing flag for the ArrowSide.
Dtk_Hatching::Patterns
Dtk_tab< Dtk_HatchingPattern > & Patterns()
Retrieves the hatching area patterns. Patterns describes hatch line presentations (angle,...
Dtk_OneCell::getHeight
Dtk_Double64 getHeight() const
Gets the height of the Dtk_OneCell.
Dtk_Welding::SymbolSurfacingWeld
@ SymbolSurfacingWeld
Definition: util_draw_dtk.hpp:2978
Dtk_Table::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
Dtk_Table::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Annotation anchor point.
Dtk_Hatching::Dtk_Hatching
Dtk_Hatching()
Dtk_Welding::SymbolScarfWeld
@ SymbolScarfWeld
Definition: util_draw_dtk.hpp:2992
Dtk_ToleranceSpecificationContainer::TypeCylindricity
@ TypeCylindricity
Definition: util_draw_dtk.hpp:6075
DTK_ALIGN_NONE
@ DTK_ALIGN_NONE
Definition: util_draw_dtk.hpp:107
Dtk_ToleranceSpecificationContainer::LeftTextAsCompositeText
const Dtk_CompositeText & LeftTextAsCompositeText() const
Retrieves the Dtk_ToleranceSpecificationContainer left-text as Dtk_CompositeText - read only -.
Dtk_Welding::ProcessSymbolInfos
void ProcessSymbolInfos(Dtk_tab< Dtk_pnt > &outPnts) const
Process the Welding Symbol Informations as shown in the picture below.
Dtk_OneCell::GetBorderTopColor
const Dtk_RGB & GetBorderTopColor()
Gets BorderTopColor of Top border.
Dtk_Leader::TerminatorTypeBottomOpenArrow
@ TerminatorTypeBottomOpenArrow
Definition: util_draw_dtk.hpp:2014
util_topology_ptr_dtk.hpp
Dtk_CompositeEntity::Create
static Dtk_CompositeEntityPtr Create(Dtk_CompositeEntity &&in)
Calls move constructor to allocate a new object.
DTK_FRAME_TYPE_SQUARE
@ DTK_FRAME_TYPE_SQUARE
Definition: util_draw_dtk.hpp:132
Dtk_FCFFeatureIndicatorType::_Copy
void _Copy(const Dtk_FCFFeatureIndicatorType &s)
Dtk_ViewDisplay::Create
static Dtk_ViewDisplayPtr Create(const Dtk_ViewDisplay &in)
Calls copy constructor to allocate a new object.
DTK_FRAME_TYPE_CIRCLE
@ DTK_FRAME_TYPE_CIRCLE
Definition: util_draw_dtk.hpp:134
Dtk_FCFFeatureIndicatorType::m_OuterBBox
Dtk_Oriented2dBBox m_OuterBBox
Definition: util_draw_dtk.hpp:5782
Dtk_Text::InnerXAxis
Dtk_dir & InnerXAxis()
Retrieves the inner bounding box XAxis - get/set -.
Dtk_Leader::TerminatorTypeBottomFillArrow
@ TerminatorTypeBottomFillArrow
Definition: util_draw_dtk.hpp:2018
Dtk_Drawing::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
DTK_Text_subtype::IsChamferright
Dtk_bool IsChamferright() const
Tell if the associated Dtk_text is part of Chamfer Right group - into Dtk_Dimension -.
Dtk_Grid::GetMinorLineStyle
Dtk_FontLineType GetMinorLineStyle() const
Gets the minor line font line type.
Dtk_ReferenceFrame
This is the Reference Frame Class. It is part of the Dtk_ToleranceSpecification entity....
Definition: util_draw_dtk.hpp:5156
Dtk_ReferenceBlock::SetYAxis
Dtk_ErrorStatus SetYAxis(const Dtk_dir &axis_dir)
Sets the Y Axis for the Dtk_CompositeText and included Dtk_Texts.
Dtk_Hatching::get_type_detk
type_detk get_type_detk() const
Dtk_View::DtkDynamicCast
static Dtk_View * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Leader::ArrowHead::ArrowHead
ArrowHead(const Dtk_Double64 inWidth, const Dtk_Double64 inHeight, const Dtk_pnt &inArrowLocation, const LeaderTerminatorTypeEnum inTerminatorType, const Dtk_InfoPtr &inInfos, const Dtk_dir &inRefDir, const Dtk_dir &inAxisDir)
Definition: util_draw_dtk.hpp:2102
Dtk_Roughness::DtkDynamicCast
static Dtk_Roughness * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Annotation::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:2411
Dtk_OneCell::GetBorderLeftBlanked
Dtk_Int32 GetBorderLeftBlanked()
Gets BorderLeftBlanked of Left border.
Dtk_ReferenceBlock::Dtk_ReferenceBlock
Dtk_ReferenceBlock(const Dtk_ReferenceBlock &in)
Dtk_CompositeEntity::AddPictures
void AddPictures(const Dtk_tab< Dtk_picturePtr > &inEltArray)
Adds an array of Dtk_EntityPtr. Calls Dtk_CompositeEntity::AddPicture for each elements.
Dtk_Welding::Create
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)
Calls full featured constructor to allocate a new object.
DTK_TYPE_LEADER
@ DTK_TYPE_LEADER
Definition: define.h:474
Dtk_DatumTarget::Create
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)
Calls full featured constructor to allocate a new object.
Dtk_Fdt::Dtk_Fdt
Dtk_Fdt()
Dtk_View::SetViewDisplay
void SetViewDisplay(Dtk_ViewDisplayPtr inDisplay)
SetDisplayMode for 3D entity to be displayed.
Dtk_TextStyle::_attributes
TextAttributeEnum _attributes
Text Attribute (Underline, etc...)
Definition: util_draw_dtk.hpp:317
Dtk_TextStyle::Ratio
const Dtk_Double64 & Ratio() const
Retrieves the text ratio - Read Only -.
Dtk_Welding::WeldTextSecondFilletLength
@ WeldTextSecondFilletLength
Definition: util_draw_dtk.hpp:3081
Dtk_Camera::ProcessYZoomFactor
Dtk_Double64 ProcessYZoomFactor() const
Processes the Y - along height - zoom factor - read only -.
Definition: util_draw_dtk.hpp:7495
Dtk_Welding::SymbolSingeVButtWeld
@ SymbolSingeVButtWeld
Definition: util_draw_dtk.hpp:2950
DTK_Text_subtype::IsValSplitPart1
Dtk_bool IsValSplitPart1() const
Tell if the associated Dtk_text is part of Value Split Part 1 - for Degrees/Minutes/Seconds form - gr...
Dtk_TextStyle::_line_spacing
Dtk_Double64 _line_spacing
Spacing between two lines in the text - for multiline texts for example -.
Definition: util_draw_dtk.hpp:327
DTK_INDIFFERENT_HIERARCHY
@ DTK_INDIFFERENT_HIERARCHY
Definition: util_draw_dtk.hpp:70
Dtk_ReferenceBlock::SetInnerBoundingBox
void SetInnerBoundingBox(const Dtk_Oriented2dBBox &inInnerBBox)
Set the inner Bounding Box.
Dtk_ReferenceBlock::Create
static Dtk_ReferenceBlockPtr Create(const Dtk_Oriented2dBBox &inInnerBBox, const Dtk_Oriented2dBBox &inOuterBBox)
Calls full featured constructor to allocate a new object.
Dtk_Hatching::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Region::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_HatchingPattern::HatchingStyle
Dtk_HatchingStyle & HatchingStyle()
Dtk_Welding::AddArrowSideAssociatedGeometry
void AddArrowSideAssociatedGeometry(Dtk_EntityPtr inAssociatedGeometry)
Add an AssociatedGeometry of the ArrowSide.
Dtk_Welding::Create
static Dtk_WeldingPtr Create(const Dtk_Welding &in)
Calls copy constructor to allocate a new object.
Dtk_Font::ID
Dtk_Size_t & ID()
Retrieves the font Id - get/set -.
DTK_JUSTIFY_RIGHT
@ DTK_JUSTIFY_RIGHT
Definition: util_draw_dtk.hpp:124
Dtk_OneCell::get_min_Height
Dtk_Double64 get_min_Height()
Gets the original height.
Dtk_Leader::TerminatorTypeSlash
@ TerminatorTypeSlash
Definition: util_draw_dtk.hpp:1986
Dtk_Roughness::Dtk_Roughness
Dtk_Roughness(Dtk_Roughness &&s) DTK_NOEXCEPT
Dtk_DatumTarget::DtkDynamicCast
static Dtk_DatumTarget * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Hatching::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7696
Dtk_Drawing::GetView
const Dtk_ViewPtr & GetView(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_View - read only -.
Dtk_Text::NoMirroring
@ NoMirroring
Definition: util_draw_dtk.hpp:1115
Dtk_Roughness::Create
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.
Dtk_Text::AnchorType
const Dtk_anchor_type & AnchorType() const
Retrieves the text anchor type - read only -.
Dtk_Dimension::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:4769
Dtk_Text::InnerTranslate
Dtk_ErrorStatus InnerTranslate(const Dtk_dir &inTranslateDir)
Translates the inner bounding box giving a translation vector.
Dtk_Region::GetAnnularInnerDiameter
Dtk_ErrorStatus GetAnnularInnerDiameter(Dtk_Double64 &outDiameter)
Gets the inner diameter of the annular Dtk_Region.
Dtk_ToleranceSpecificationContainer::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_ToleranceSpecificationContainer.
Dtk_SmartPtr::Clone
void Clone(Dtk_SmartPtr< T > &out) const
Definition: util_ptr_dtk.hpp:192
Dtk_Grid::GetDisplayOriginReferenceOption
OriginReferenceOption GetDisplayOriginReferenceOption() const
Gets the display origin reference option.
Dtk_Welding::GetWeldingSymbolOtherSide
WeldingSymbolEnum GetWeldingSymbolOtherSide() const
Retrieves the OtherSide WeldingSymboEnum.
Dtk_DatumTarget::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:3783
Dtk_Region::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7911
Dtk_Roughness::GetRoughnessApplyTo
ApplyToEnum GetRoughnessApplyTo() const
Gets the apply-to type - read only -.
Dtk_Hatching::DtkDynamicCast
static Dtk_Hatching * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Frame::_Reset
void _Reset()
Definition: util_draw_dtk.hpp:926
Dtk_Welding::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Welding.
Dtk_DatumTarget::Create
static Dtk_DatumTargetPtr Create()
Calls default constructor to allocate a new object.
Dtk_Hatching::~Dtk_Hatching
~Dtk_Hatching()
Destructor.
Dtk_Leader::TypeLinear
@ TypeLinear
Definition: util_draw_dtk.hpp:2196
Dtk_Annotation::operator=
Dtk_Annotation & operator=(Dtk_Annotation &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_2dEntity::_Init
void _Init()
Dtk_CompositeEntity
This is the Dtk_CompositeEntity class.
Definition: util_draw_dtk.hpp:7750
Dtk_DatumTarget::GetGeometries
Dtk_tab< Dtk_EntityPtr > GetGeometries() const
Retrieves the Dtk_DatumTarget geometries - frame -.
Dtk_Welding::SetOtherSideSizeText
void SetOtherSideSizeText(Dtk_CompositeText inOtherSideSizeText)
Sets the OtherSideSizeText Dtk_CompositeText.
Dtk_Oriented2dBBox::_XLength
Dtk_Double64 _XLength
Definition: util_draw_dtk.hpp:476
Dtk_CompositeText::operator[]
Dtk_Text & operator[](Dtk_Size_t inPos)
Access operator - get/set -.
Dtk_Welding::FinishSymbolGrind
@ FinishSymbolGrind
Definition: util_draw_dtk.hpp:3107
Dtk_ToleranceSpecificationContainer::GetToleranceSpecificationBoundingBox
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_View::Get2dEntity
Dtk_2dEntityPtr Get2dEntity(const Dtk_Size_t &inPos) const
Retrieves the ith 2D entity.
Dtk_Table::tableOfCell
Dtk_OneCell ** tableOfCell
A table of cells.
Definition: util_draw_dtk.hpp:4295
Dtk_Text::GetOuterXYAxis
void GetOuterXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const
Gets the outer bounding box orientation.
Dtk_Welding::GetFinishSymbolArrowSide
FinishSymbolEnum GetFinishSymbolArrowSide() const
Retrieves the ArrowSide FinishSymbol as FinishSymbolEnum.
Dtk_Oriented2dBBox::XLocalVector
Dtk_dir XLocalVector() const
Retrieves the X local vector - Read Only -.
Definition: util_draw_dtk.hpp:632
Dtk_Roughness::Dtk_Roughness
Dtk_Roughness()
Dtk_ToleranceSpecification::SecondReference
Dtk_ReferenceBlockPtr & SecondReference()
Retrieves the second reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame...
Dtk_Leader::GetLeaderCurve
Dtk_CurvePtr GetLeaderCurve() const
Returns the leader curve.
Dtk_Text::operator=
Dtk_Text & operator=(Dtk_Text &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_ViewDisplay::Dtk_ViewDisplay
Dtk_ViewDisplay(Dtk_ViewDisplay &&s) DTK_NOEXCEPT
Dtk_CompositeEntity::Clear
void Clear()
Resets all sub entities.
Dtk_View::GetNum2dEntities
Dtk_Size_t GetNum2dEntities() const
Retrieves the 2D entities number - read only -.
DTK_ALIGN_LEFT
@ DTK_ALIGN_LEFT
Definition: util_draw_dtk.hpp:109
Dtk_Roughness::ModeParallel
@ ModeParallel
Definition: util_draw_dtk.hpp:2601
Dtk_Leader::ArrowHead::operator=
ArrowHead & operator=(const ArrowHead &in)
Copy assignment operator.
Definition: util_draw_dtk.hpp:2178
Dtk_Annotation::~Dtk_Annotation
virtual ~Dtk_Annotation()
Destructor.
Dtk_TextStyle::TextJustificationEnum
TextJustificationEnum
Definition: util_draw_dtk.hpp:290
DTK_UNIT_M
@ DTK_UNIT_M
Definition: util_draw_dtk.hpp:81
Dtk_Text::CreateFrameAsGeometry
Dtk_ErrorStatus CreateFrameAsGeometry(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
Creates geometries corresponding to the text frame type.
Dtk_Oriented2dBBox::BottomLeftPoint
Dtk_pnt & BottomLeftPoint()
Retrieves the bottom left point.
Definition: util_draw_dtk.hpp:728
DTK_ANCHOR_TOP_RIGHT
@ DTK_ANCHOR_TOP_RIGHT
Definition: util_draw_dtk.hpp:96
Dtk_Leader::ArrowHead::SetType
void SetType(const LeaderTerminatorTypeEnum inTerminatorType)
Definition: util_draw_dtk.hpp:2137
Dtk_Camera::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ReferenceFrame::Create
static Dtk_ReferenceFramePtr Create()
Calls default constructor to allocate a new object.
Dtk_Leader::ApplicationZone::SetApplicationData
void SetApplicationData(const ApplicationZoneEnum &inApplicationZoneType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set ApplicationZone informations.
Definition: util_draw_dtk.hpp:1899
util_ent_dtk.hpp
DTK_FDT_MODIFIER_MAX_MATERIAL
@ DTK_FDT_MODIFIER_MAX_MATERIAL
Definition: util_draw_dtk.hpp:59
Dtk_Leader::GetInfo
Dtk_InfoPtr & GetInfo()
Retrieves the infos.
Dtk_Welding::SymbolFilletWeld
@ SymbolFilletWeld
Definition: util_draw_dtk.hpp:2962
Dtk_OneCell::get_min_Width
Dtk_Double64 get_min_Width()
Gets the original width of the Dtk_Onecell.
Dtk_OneCell::GetText
Dtk_CompositeText & GetText()
Gets the text witch is in the Dtk_OneCell.
Dtk_Table::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Annotation.
Dtk_DatumTarget::HasFrame
const Dtk_bool & HasFrame() const
Retrieves the frame status - read only -.
Dtk_anchor_type
Dtk_anchor_type
Definition: util_draw_dtk.hpp:93
Dtk_Grid::GetVMinorPerMajor
Dtk_Int32 GetVMinorPerMajor() const
Gets V minor lines per major.
Dtk_2dEntity::~Dtk_2dEntity
virtual ~Dtk_2dEntity()
Destructor.
Dtk_Oriented2dBBox::SetTopRightPoint
void SetTopRightPoint(const Dtk_pnt &inNewPoint)
Sets the top right point.
Dtk_OneCell::getWidth
Dtk_Double64 getWidth() const
Gets the width of the Dtk_OneCell.
Dtk_ToleranceSpecification::ThirdReference
const Dtk_ReferenceBlockPtr & ThirdReference() const
Retrieves the third reference block - read only -. This is a shortcut without using Dtk_ReferenceFram...
Dtk_Camera::ProjectionType
const Dtk_Camera::ProjectionTypeEnum & ProjectionType() const
Retrieves the projection type - read only -.
Dtk_ReferenceFrame::~Dtk_ReferenceFrame
~Dtk_ReferenceFrame()
Destructor.
DTK_Text_type
DTK_Text_type
Definition: str_def.h:11
Dtk_Symbol::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:689
Dtk_Grid::Absolute
@ Absolute
Definition: util_draw_dtk.hpp:4512
Dtk_Welding::AddAssociatedGeometry
void AddAssociatedGeometry(Dtk_EntityPtr inAssociatedGeometry)
Add a Geometry associated to whole Dtk_Welding (Weld body and tail).
Dtk_ReferenceBlock::_ConcatenateMaterialModifierToText
void _ConcatenateMaterialModifierToText(const Dtk_Size_t &inReferencePos, const DTK_FDT_MODIFIER &inMaterialModifier)
Internal use only.
Dtk_GeometricalTolerance::Create
static Dtk_GeometricalTolerancePtr Create(const Dtk_GeometricalTolerance &in)
Calls copy constructor to allocate a new object.
Dtk_ToleranceSpecificationContainer::SetToleranceSpecification
Dtk_ErrorStatus SetToleranceSpecification(const Dtk_Size_t &inPos, const Dtk_ToleranceSpecificationPtr &inNewTolSpec)
Replaces the ith tolerance specification .
Dtk_GeometricalTolerance::operator=
Dtk_GeometricalTolerance & operator=(const Dtk_GeometricalTolerance &in)
Copy assignment operator.
Dtk_tab::resize
void resize(Dtk_Size_t n, const T &t)
Resizes the array.
Definition: util_stl_dtk.hpp:605
Dtk_View::Add2dEntity
Dtk_ErrorStatus Add2dEntity(const Dtk_2dEntityPtr &in2DEntity)
Adds a 2D entity to the view.
Dtk_Welding::GetArrowSideUndefinedText
Dtk_CompositeText GetArrowSideUndefinedText() const
Retrieves the ArrowSideUndefinedText Dtk_CompositeText.
Dtk_Text::TextType
DTK_Text_type & TextType()
Retrieves the text type - get/set -.
Dtk_TextStyle::_font
Dtk_Font _font
Font informations.
Definition: util_draw_dtk.hpp:313
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_2dEntityPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE, const Dtk_bool &inKeepLeaderAsLeader=DTK_FALSE)
Create from Dtk_2dEntityPtr.
Dtk_Welding::SetOtherSideAssociatedGeometries
void SetOtherSideAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Set the AssociatedGeometries of the OtherSide.
Dtk_Welding::SymbolStudWeld
@ SymbolStudWeld
Definition: util_draw_dtk.hpp:2994
Dtk_Fdt::Create
static Dtk_FdtPtr Create(Dtk_Fdt &&inToBeMoved)
Calls move constructor to allocate a new object.
Dtk_View
This is the view class.
Definition: util_draw_dtk.hpp:6980
Dtk_GeometricalTolerance::Translate
void Translate(const Dtk_dir &inTranslationDir)
Dtk_Roughness::_GetStartPoint
Dtk_pnt _GetStartPoint() const
Dtk_Welding::Dtk_Welding
Dtk_Welding(Dtk_Welding &&s) DTK_NOEXCEPT
Dtk_Leader::SetLeaderTerminatorType
void SetLeaderTerminatorType(const LeaderTerminatorTypeEnum &inTerminatorType)
Set the Leader Terminator Type.
Dtk_Roughness::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES])
Processes all the Dtk_Annotation anchor points.
Dtk_ToleranceSpecification::Dtk_ToleranceSpecification
Dtk_ToleranceSpecification(Dtk_Text inFullTextWithMaterialCondition, const Dtk_ReferenceFramePtr &inReferenceFrame=Dtk_ReferenceFrame::Create())
Dtk_CompositeText::Dtk_CompositeText
Dtk_CompositeText(Dtk_Text inText)
Constructor from one Dtk_Text.
Dtk_DatumTarget::DisableFrame
void DisableFrame()
Disables the frame status.
Dtk_Symbol::TypeDatum
@ TypeDatum
Definition: util_draw_dtk.hpp:6373
Dtk_Text::Dtk_Text
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_Table::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Fdt::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Leader::TerminatorTypeIntegral
@ TerminatorTypeIntegral
Definition: util_draw_dtk.hpp:2000
Dtk_Symbol::TypeGeom
@ TypeGeom
Definition: util_draw_dtk.hpp:6386
Dtk_TextStyle::Dtk_TextStyle
Dtk_TextStyle(Dtk_TextStyle &&in) DTK_NOEXCEPT
Move constructor.
DTK_TYPE_GRID
@ DTK_TYPE_GRID
Definition: define.h:453
Dtk_Welding::GetWeldTailActivated
Dtk_bool GetWeldTailActivated() const
Tells if the Weld Tail is activated.
Dtk_Text::TextSubType
const DTK_Text_subtype & TextSubType() const
Retrieves the text subtype - read only -.
Dtk_Welding::SetArrowSideDepthText
void SetArrowSideDepthText(Dtk_CompositeText inArrowSideDepthText)
Sets the ArrowSideDepthText Dtk_CompositeText.
Dtk_Table::Set_Texts
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
@ DTK_UNIT_KM
Definition: util_draw_dtk.hpp:82
Dtk_ToleranceSpecificationContainer::TypeSymmetry
@ TypeSymmetry
Definition: util_draw_dtk.hpp:6091
Dtk_Welding::WeldTextSize
@ WeldTextSize
Definition: util_draw_dtk.hpp:3077
Dtk_Symbol::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_Symbol.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_WeldingPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip)
Create from Dtk_WeldingPtr.
Dtk_GeometricalTolerance::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:5581
Dtk_Leader::GetStubDelta
double GetStubDelta() const
Retrieves the value of the leader stub.
Dtk_Text::SetOuterYLength
void SetOuterYLength(const Dtk_Double64 &inYLength)
Sets the outer bounding box Y length.
Dtk_Leader::RetrieveLeader_terminator_infos
Dtk_ErrorStatus RetrieveLeader_terminator_infos(Dtk_Double64 &outWidth, Dtk_Double64 &outHeight, Dtk_pnt &outArrowLocation, LeaderTerminatorTypeEnum &outTerminatorType) const
Retrieves the leader terminator informations.
Dtk_Welding::SymbolPermanentBackingStripUsed
@ SymbolPermanentBackingStripUsed
Definition: util_draw_dtk.hpp:2976
Dtk_Dimension::Create
static Dtk_DimensionPtr Create()
Calls default constructor to allocate a new object.
Dtk_Leader::ArrowHead::GetArrowLocation
const Dtk_pnt & GetArrowLocation() const
Definition: util_draw_dtk.hpp:2135
Dtk_DatumTarget::SetOptionnalTopTextLeader
void SetOptionnalTopTextLeader(const Dtk_LeaderPtr &inLeader)
Sets the optionnal Leader of the Top Text.
Dtk_Leader::ApplicationZone::GetGeometries
void GetGeometries(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
Process Related geometries.
Definition: util_draw_dtk.hpp:1911
Dtk_HatchingPattern::Offset
const Dtk_Double64 & Offset() const
Retrieves the position start offset along the hatch line. Applies for hatching and dotting.
DTK_Text_subtype::IsTolUpperTol
Dtk_bool IsTolUpperTol() const
Tell if the associated Dtk_text is part of Tolerance Upper Value group - into Dtk_Dimension -.
Dtk_Dimension::DimensionTypeEnum
DimensionTypeEnum
Definition: util_draw_dtk.hpp:4730
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_CompositeEntityPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip)
Create from Dtk_CompositeEntityPtr.
Dtk_Leader::ArrowHead::GetWidthHeight
void GetWidthHeight(Dtk_Double64 &outWidth, Dtk_Double64 &outHeight) const
Definition: util_draw_dtk.hpp:2144
Dtk_OneCell::setHeight
void setHeight(const double &inHeight)
Sets the Dtk_OneCell height.
Dtk_OneCell::SetBorderTopColor
void SetBorderTopColor(const Dtk_Int32 &inBorderTopColor)
Sets BorderTopColor of Top border.
DTK_Text_subtype::IsLeftText
Dtk_bool IsLeftText() const
Tell if the associated Dtk_text is part of left group - into Dtk_Dimension -.
Dtk_Leader::TerminatorTypeXCircle
@ TerminatorTypeXCircle
Definition: util_draw_dtk.hpp:1990
Dtk_ReferenceFrame::Translate
void Translate(const Dtk_dir &inTranslationDir)
Dtk_Char8
char Dtk_Char8
Definition: define.h:699
Dtk_Oriented2dBBox::GetMiddleCenterPoint
Dtk_pnt GetMiddleCenterPoint() const
Retrieves the middle center point - Read Only -.
Definition: util_draw_dtk.hpp:580
Dtk_Symbol::ConvertLeadersToGeometrie
void ConvertLeadersToGeometrie()
Converts all leaders into Dtk_Symbol into geometrical elements.
Dtk_ReferenceFrame::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:5158
Dtk_Leader::ArrowHead::GetInfo
Dtk_InfoPtr & GetInfo()
Definition: util_draw_dtk.hpp:2134
Dtk_Leader::ApplicationZone::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the ApplicationZone giving a translation vector.
Definition: util_draw_dtk.hpp:1922
Dtk_Welding::SymbolVFlareWeld
@ SymbolVFlareWeld
Definition: util_draw_dtk.hpp:2988
Dtk_ViewDisplay::SetHiddenEdgesLineStyle
void SetHiddenEdgesLineStyle(Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor)
Set Line style for Hidden Edges.
Dtk_ToleranceSpecificationContainer::TypeTotalRunout
@ TypeTotalRunout
Definition: util_draw_dtk.hpp:6095
Dtk_GeometricalTolerance::GetFrameColor
const Dtk_RGB & GetFrameColor() const
Gets the frame color .
Dtk_Oriented2dBBox::Dtk_Oriented2dBBox
Dtk_Oriented2dBBox()
Default constructor.
Dtk_CompositeEntity::Dtk_CompositeEntity
Dtk_CompositeEntity(Dtk_CompositeEntity &&s) DTK_NOEXCEPT
Dtk_Region::GetAnnularOuterDiameter
Dtk_ErrorStatus GetAnnularOuterDiameter(Dtk_Double64 &outDiameter)
Gets the outer diameter of the annular Dtk_Region.
Dtk_ViewDisplay::GetTangentEdgesLineStyle
Dtk_ErrorStatus GetTangentEdgesLineStyle(Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor) const
Retrieves Line style for Tangent Edges.
Dtk_Leader::ApplicationZone::_Reset
void _Reset()
Definition: util_draw_dtk.hpp:1871
Dtk_Leader::ArrowHead::~ArrowHead
~ArrowHead()
Destructor.
Definition: util_draw_dtk.hpp:2116
Dtk_FCFFeatureIndicatorType::~Dtk_FCFFeatureIndicatorType
~Dtk_FCFFeatureIndicatorType()
Destructor.
Definition: util_draw_dtk.hpp:5816
Dtk_View::Add2dEntities
Dtk_ErrorStatus Add2dEntities(const Dtk_tab< Dtk_2dEntityPtr > &in2DEntitiesArray)
Adds an array of 2D entities to the view.
Dtk_OneCell::_Height
Dtk_Double64 _Height
The real height (before and after mergers).
Definition: util_draw_dtk.hpp:4048
Dtk_Symbol::TypeCell
@ TypeCell
Definition: util_draw_dtk.hpp:6381
Dtk_Oriented2dBBox::YLocalVector
Dtk_dir YLocalVector() const
Retrieves the Y local vector - Read Only -.
Definition: util_draw_dtk.hpp:639
Dtk_FCFFeatureIndicator::GetOuterBoundingBox
Dtk_Oriented2dBBox GetOuterBoundingBox() const
Retrieves the Dtk_FCFFeatureIndicator Outer Bounding Box.
DTK_FRAME_TYPE_OCTANGLE
@ DTK_FRAME_TYPE_OCTANGLE
Definition: util_draw_dtk.hpp:170
Dtk_Oriented2dBBox::GetBottomRightPoint
Dtk_pnt GetBottomRightPoint() const
Retrieves the bottom right point - Read Only -.
Definition: util_draw_dtk.hpp:596
error_dtk.hpp
Dtk_ToleranceSpecificationContainer::TypeCircularRunout
@ TypeCircularRunout
Definition: util_draw_dtk.hpp:6093
Dtk_Welding::SymbolSolderedJointWeld
@ SymbolSolderedJointWeld
Definition: util_draw_dtk.hpp:3006
Dtk_ToleranceSpecification::SetAsDeprecated
SetAsDeprecated("2021.1", "Use SetMainValue mehod to alter MainValue instead.") Dtk_ErrorStatus SetOuterBoundingBox(const Dtk_Oriented2dBBox &inOuterBBox)
Dtk_Welding::Dtk_Welding
Dtk_Welding()
Dtk_View::Add2dGeometricalEntity
Dtk_ErrorStatus Add2dGeometricalEntity(const Dtk_EntityPtr &inGeomElt) const
Adds a drawing geometrical entity to the view.
Dtk_CompositeText::operator=
Dtk_CompositeText & operator=(const Dtk_CompositeText &in)
Copy assignment operator.
Dtk_OneCell::SetBorderLeftBlanked
void SetBorderLeftBlanked(const Dtk_Int32 &inBorderLeftBlanked)
Sets BorderLeftBlanked of Left border.
Dtk_ToleranceSpecification::Reference
Dtk_ReferenceBlockPtr & Reference(const Dtk_Size_t &inReferencePos)
Retrieves the ith reference block - get/set -. This is a shortcut without using Dtk_ReferenceFrame ob...
Dtk_TextStyle::LineSpacing
const Dtk_Double64 & LineSpacing() const
Retrieves the line spacing - read only -.
Dtk_Oriented2dBBox::SetBottomRightPoint
void SetBottomRightPoint(const Dtk_pnt &inNewPoint)
Sets the bottom right point.
Dtk_Welding::SetArrowSideClearanceText
void SetArrowSideClearanceText(Dtk_CompositeText inArrowSideClearanceText)
Sets the ArrowSideClearanceText Dtk_CompositeText.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_GeometricalTolerancePtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Create from Dtk_GeometricalTolerancePtr.
Dtk_Grid::GetUMinorPerMajor
Dtk_Int32 GetUMinorPerMajor() const
Gets U minor lines per major.
Dtk_Dimension::_GetExtensionLineIdx
Dtk_ErrorStatus _GetExtensionLineIdx(const Dtk_Size_t &pos, Dtk_Size_t &outIdx) const
Dtk_DatumTarget::Create
static Dtk_DatumTargetPtr Create(const Dtk_DatumTarget &in)
Calls copy constructor to allocate a new object.
Dtk_OneCell::Delete_Text
void Delete_Text()
Affects _text to null in order not to read the text which is inside.
Dtk_TextStyle::AttributeSubscript
@ AttributeSubscript
Definition: util_draw_dtk.hpp:288
Dtk_Drawing::GetNumViews
Dtk_Size_t GetNumViews() const
Retrieves the views number - read only -.
Dtk_Leader::TerminatorTypeSquare
@ TerminatorTypeSquare
Definition: util_draw_dtk.hpp:1982
Dtk_GeometricalTolerance::operator[]
const Dtk_ToleranceSpecificationContainerPtr & operator[](const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_ToleranceSpecificationContainer - read only -.
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_Roughness::ObtentionTypeMachiningMandatory
@ ObtentionTypeMachiningMandatory
Definition: util_draw_dtk.hpp:2572
Dtk_ToleranceSpecificationContainer::SetToleranceTypeInnerBoundingBox
void SetToleranceTypeInnerBoundingBox(const Dtk_Oriented2dBBox &inInnerBBox) const
Set the Tolerance Specification Container Type inner Bounding Box.
Dtk_ReferenceBlock::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5009
Dtk_View::GetNumOLEObjects
Dtk_Size_t GetNumOLEObjects() const
Retrieves the number of OLE Objects in the Dtk_View.
Dtk_Symbol::TypeFlagNote
@ TypeFlagNote
Definition: util_draw_dtk.hpp:6378
Dtk_Fdt::Create
static Dtk_FdtPtr Create(const Dtk_transfo &inTransformationMatrix, const Dtk_2dEntityPtr &inSub2DEntity)
Calls full featured constructor to allocate a new object.
Dtk_Fdt::Create
static Dtk_FdtPtr Create()
Calls default constructor to allocate a new object.
Dtk_Welding::GetOtherSideUndefinedText
Dtk_CompositeText GetOtherSideUndefinedText() const
Retrieves the OtherSideUndefinedText Dtk_CompositeText.
Dtk_Frame::Clear
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:950
Dtk_FCFFeatureIndicator::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_FCFFeatureIndicator anchor points.
Dtk_OneCell
Allows the representation of cell.
Definition: util_draw_dtk.hpp:4045
Dtk_Oriented2dBBox::YLocalVector
Dtk_dir & YLocalVector()
Retrieves the Y local vector.
Definition: util_draw_dtk.hpp:742
Dtk_DatumTarget::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_DatumTarget.
Dtk_Dimension::ShowDualValueBelow
@ ShowDualValueBelow
Definition: util_draw_dtk.hpp:4764
DTK_Text_subtype::IsUpText
Dtk_bool IsUpText() const
Tell if the associated Dtk_text is part of Up group - into Dtk_Dimension -.
Dtk_Camera::ProcessYSemiAngle
Dtk_Double64 ProcessYSemiAngle() const
Processes the Y - along height - Semi Angle - read only -.
Definition: util_draw_dtk.hpp:7509
Dtk_Symbol::Texts
const Dtk_CompositeText & Texts() const
Retrieves the Dtk_CompositeText included into the Dtk_Symbol - read only -.
Dtk_Roughness::GetTopRightText
Dtk_Text GetTopRightText() const
Gets the top-right text - read only -.
Dtk_Camera::ProjectionTypeParallel
@ ProjectionTypeParallel
Definition: util_draw_dtk.hpp:7364
Dtk_ToleranceSpecificationContainer::SetTopText
Dtk_ErrorStatus SetTopText(Dtk_CompositeText inText)
Sets the Dtk_ToleranceSpecificationContainer top-text.
Dtk_Annotation::AddLeader
Dtk_ErrorStatus AddLeader(const Dtk_LeaderPtr &leader)
Adds a leader to the Dtk_Annotation.
Dtk_Welding::GetOtherSideOpeningText
Dtk_CompositeText GetOtherSideOpeningText() const
Retrieves the OtherSideOpeningText Dtk_CompositeText.
Dtk_OneCell::Merged_Cell_Vertically
bool Merged_Cell_Vertically()
tests if the cell is composed of cells merged vertically.
Dtk_Symbol::FrameType
Dtk_frame_type FrameType() const
Retrieves the Dtk_Symbol frame type - read only -.
Dtk_CompositeText::Dtk_CompositeText
Dtk_CompositeText(Dtk_tab< Dtk_Text > inTexts)
Constructor from several Dtk_Text.
Dtk_Symbol::TypeTable
@ TypeTable
Definition: util_draw_dtk.hpp:6382
Dtk_ReferenceFrame::FirstReference
const Dtk_ReferenceBlockPtr & FirstReference() const
Retrieves the first reference block - read only -.
DTK_TYPE_FDT
@ DTK_TYPE_FDT
Definition: define.h:435
Dtk_View::AddPicture
Dtk_ErrorStatus AddPicture(const Dtk_picturePtr &inPicture)
Adds a picture to the view.
Dtk_GeometricalTolerance::SetRotationAngle
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
Dtk_Welding::SymbolMeltThroughWeld
@ SymbolMeltThroughWeld
Definition: util_draw_dtk.hpp:3004
Dtk_OneCell::Dtk_OneCell
Dtk_OneCell()
Base constructor.
Dtk_OneCell::nbCells_Top_Bottom
Dtk_Int32 nbCells_Top_Bottom
Number of adjacent cells at the top or bottom.
Definition: util_draw_dtk.hpp:4062
Dtk_Drawing::Create
static Dtk_DrawingPtr Create(Dtk_Drawing &&in)
Calls move constructor to allocate a new object.
Dtk_CompositeText::operator[]
const Dtk_Text & operator[](Dtk_Size_t inPos) const
Access operator - read only -.
Dtk_View::GetViewDisplay
Dtk_ViewDisplayPtr GetViewDisplay()
GetDisplayMode for 3D entity.
Dtk_View::~Dtk_View
~Dtk_View()
Destructor.
Dtk_FCFFeatureIndicator::GetFeatureIndicatorType
const Dtk_FCFFeatureIndicatorType & GetFeatureIndicatorType() const
Retrieves the Full Type of the Dtk_FCFFeatureIndicator - Read Only -.
Dtk_TextStyle::_char_spacing
Dtk_Double64 _char_spacing
Spacing between two chars.
Definition: util_draw_dtk.hpp:323
DTK_FRAME_TYPE_NONE
@ DTK_FRAME_TYPE_NONE
Definition: util_draw_dtk.hpp:128
Dtk_OneCell::GetBorderBottomBlanked
Dtk_Int32 GetBorderBottomBlanked()
Gets BorderBottomBlanked of Bottom border.
Dtk_Dimension::AngularDimension
@ AngularDimension
Definition: util_draw_dtk.hpp:4734
Dtk_ViewDisplay::Create
static Dtk_ViewDisplayPtr Create(DisplayMode3DEnum inDisplayMode)
Calls default constructor to allocate a new object.
Dtk_Table::SetRotationAngle
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
Dtk_Text::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the text giving a translation vector.
Dtk_Dimension::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4790
Dtk_ToleranceSpecificationContainer::TypeParallelism
@ TypeParallelism
Definition: util_draw_dtk.hpp:6085
Dtk_Table::GetNumRows
Dtk_Size_t GetNumRows() const
Gets the Dtk_Table rows number.
Dtk_ReferenceFrame::GetOuterBoundingBox
Dtk_ErrorStatus GetOuterBoundingBox(Dtk_Oriented2dBBox &outOuterBBox) const
Dtk_TextStyle::_slant
Dtk_Double64 _slant
Char Slant (PI/2 by default)
Definition: util_draw_dtk.hpp:329
Dtk_Oriented2dBBox::_YLength
Dtk_Double64 _YLength
Definition: util_draw_dtk.hpp:477
Dtk_Table::Cell_Line
const Dtk_Size_t & Cell_Line(const Dtk_Size_t inPos) const
Gets the number of cells in each line.
Dtk_TextStyle::CharWidth
const Dtk_Double64 & CharWidth() const
Retrieves the char width - read only -.
Dtk_Camera::OriginPoint
const Dtk_pnt & OriginPoint() const
Retrieves the origin point - read only -.
Dtk_ToleranceSpecificationContainer::Create
static Dtk_ToleranceSpecificationContainerPtr Create(Dtk_ToleranceSpecificationContainer &&in)
Calls move constructor to allocate a new object.
Dtk_CompositeText::operator=
Dtk_CompositeText & operator=(Dtk_CompositeText &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_Table::Cell_Col
Dtk_Size_t & Cell_Col(const Dtk_Size_t inPos)
Sets the number of cells of the ith columns.
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
Dtk_Welding::SymbolKGrooveWeld
@ SymbolKGrooveWeld
Definition: util_draw_dtk.hpp:3010
Dtk_Roughness::SetTopLeftText
Dtk_ErrorStatus SetTopLeftText(Dtk_Text inText)
Sets the top-left text.
Dtk_Grid::None
@ None
Definition: util_draw_dtk.hpp:4505
Dtk_Camera::~Dtk_Camera
~Dtk_Camera()
Destructor.
Dtk_Table::Create
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)
Calls full featured constructor to allocate a new object.
Dtk_Leader::ArrowHead::GetInfo
const Dtk_InfoPtr & GetInfo() const
Definition: util_draw_dtk.hpp:2133
Dtk_FCFFeatureIndicatorType::_Init
void _Init()
DTK_FRAME_TYPE_ELLIPSE
@ DTK_FRAME_TYPE_ELLIPSE
Definition: util_draw_dtk.hpp:154
DTK_UNKNOWN
@ DTK_UNKNOWN
Definition: util_draw_dtk.hpp:67
DTK_FRAME_TYPE_PARALLELOGRAM
@ DTK_FRAME_TYPE_PARALLELOGRAM
Definition: util_draw_dtk.hpp:169
Dtk_ToleranceSpecificationContainer
This is the tolerance specification container. It is part of the Dtk_GeometricalTolerance....
Definition: util_draw_dtk.hpp:6064
Dtk_Leader::Dtk_Leader
Dtk_Leader(const Dtk_Leader &in)
Dtk_TextStyle::JustificationNone
@ JustificationNone
Definition: util_draw_dtk.hpp:297
DTK_Text_subtype::Append
void Append(int in)
Appends a new subtype.
Dtk_OneCell::AddAdditionnalGeometries
void AddAdditionnalGeometries(Dtk_tab< Dtk_EntityPtr > inAdditionnalGeometries)
Adds some additionnal geometries to the Dtk_OneCell.
Dtk_Roughness::ObtentionTypeEnum
ObtentionTypeEnum
Definition: util_draw_dtk.hpp:2568
Dtk_Welding::GetGeometries
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_Roughness::SetTopRightText
Dtk_ErrorStatus SetTopRightText(Dtk_Text inText)
Sets the top-right text.
Dtk_CompositeEntity::AddEntity
Dtk_ErrorStatus AddEntity(const Dtk_EntityPtr &inElt)
Adds a Dtk_EntityPtr to the Dtk_CompositeEntity.
DTK_ANCHOR_MIDDLE_LEFT
@ DTK_ANCHOR_MIDDLE_LEFT
Definition: util_draw_dtk.hpp:97
Dtk_ToleranceSpecificationContainer::GetNumToleranceSpecifications
Dtk_Size_t GetNumToleranceSpecifications() const
Retrieves the tolerance specification number - read only -.
Dtk_Table::_CheckRowCol
void _CheckRowCol(const Dtk_Size_t inRow, const Dtk_Size_t inCol) const
Dtk_Welding::SetOtherSideDepthText
void SetOtherSideDepthText(Dtk_CompositeText inOtherSideDepthText)
Sets the OtherSideDepthText Dtk_CompositeText.
Dtk_HatchingStyle_Dotting
@ Dtk_HatchingStyle_Dotting
Definition: util_draw_dtk.hpp:7566
Dtk_Roughness::~Dtk_Roughness
~Dtk_Roughness()
Destructor.
Dtk_Text::FrameType
Dtk_frame_type FrameType() const
Retrieves the text frame type - read only -.
Dtk_Roughness::Dtk_Roughness
Dtk_Roughness(const Dtk_Roughness &s)
Dtk_HatchingPattern::HatchingStyle
const Dtk_HatchingStyle & HatchingStyle() const
Retrieves the hatching style, one of the following : hatching, coloring or dotting.
Dtk_ReferenceBlock::GetAnchorPoints
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_FCFFeatureIndicatorType::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the IndicatorType.
Dtk_Table::Cell_Col
const Dtk_Size_t & Cell_Col(const Dtk_Size_t inPos) const
Gets the number of cells in each column.
Dtk_Grid::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Oriented2dBBox::Rotate
void Rotate(const Dtk_Double64 &inAngleInRadian)
Rotates the bounding box.
Dtk_Table::ProcessTextsPlacement
Dtk_ErrorStatus ProcessTextsPlacement()
Processes internal annotation placement - internal use only -.
Dtk_ToleranceSpecification::GetOuterBoundingBox
Dtk_ErrorStatus GetOuterBoundingBox(Dtk_Oriented2dBBox &outOuterBBox, const Dtk_bool inIncludeReferenceFrame=DTK_TRUE, const Dtk_bool InIncludeIndicators=DTK_TRUE) const
Retrieve the Dtk_ToleranceSpecification Outer Bounding Box.
Dtk_OneCell::GetBorderTopBlanked
Dtk_Int32 GetBorderTopBlanked()
Gets BorderTopBlanked of Top border.
Dtk_Font::FontType
FontTypeEnum & FontType()
Retrieves the font type - get/set -.
Dtk_Welding::GetFieldWeldActivated
Dtk_bool GetFieldWeldActivated() const
Tells if the Field Weld Symbol is activated.
DTK_UNIT_DEGREE
@ DTK_UNIT_DEGREE
Definition: util_draw_dtk.hpp:86
Dtk_ReferenceBlock::SetXAxis
Dtk_ErrorStatus SetXAxis(const Dtk_dir &ref_dir)
Sets the X Axis for the Dtk_CompositeText and included Dtk_Texts.
Dtk_TextStyle::CharSpacing
Dtk_Double64 & CharSpacing()
Retrieves the char spacing - get/set -.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_Region &inRegion, const Dtk_bool &text_auto_flip)
Dtk_Region::GetHatchingPattern
Dtk_HatchingPattern GetHatchingPattern()
Gets Hatching Pattern of the region Dtk_Region.
Dtk_ToleranceSpecificationContainer::GetLeftTextLabel
Dtk_string GetLeftTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer left-text - read only -.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_Dimension &inToBeConverted, const Dtk_bool &inKeepLeaderAsLeader)
Dtk_Welding::SymbolStickWeld
@ SymbolStickWeld
Definition: util_draw_dtk.hpp:2984
Dtk_Leader::Dtk_Leader
Dtk_Leader()
Dtk_Text::InnerYAxis
Dtk_dir & InnerYAxis()
Retrieves the inner bounding box YAxis - get/set -.
Dtk_Annotation::GetLeader
Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) const
Gets the i'th leader.
Dtk_View::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Region::RegionType
RegionType
Definition: util_draw_dtk.hpp:7865
Dtk_ToleranceSpecificationContainer::GetToleranceTypeInnerBoundingBox
void GetToleranceTypeInnerBoundingBox(Dtk_Oriented2dBBox &outInnerBBox) const
Retrieves the Tolerance Specification Container Type inner Bounding Box.
Dtk_Leader::ArrowHead::_Reset
void _Reset()
Definition: util_draw_dtk.hpp:2093
Dtk_Camera::TargetVector
Dtk_dir TargetVector() const
Retrieves the target vector - read only -.
Dtk_2dEntity::GetAdditionnalTexts
const Dtk_CompositeText & GetAdditionnalTexts() const
Retrieves the additionnal texts of the Dtk_2dEntity.
Dtk_Symbol::operator=
Dtk_Symbol & operator=(const Dtk_Symbol &in)
Copy assignment operator.
Dtk_Symbol::TypeBalloon
@ TypeBalloon
Definition: util_draw_dtk.hpp:6374
DTK_Text_subtype::IsLowerFrac
Dtk_bool IsLowerFrac() const
Tell if the associated Dtk_text is part of Lower Fraction group - into Dtk_Dimension -.
Dtk_TextStyle::StyleBoldItalic
@ StyleBoldItalic
Definition: util_draw_dtk.hpp:263
Dtk_Fdt::Dtk_Fdt
Dtk_Fdt(Dtk_Fdt &&inToBeMoved) DTK_NOEXCEPT
Dtk_Oriented2dBBox::Reverse
void Reverse()
Reverses the bounding box X local vector and Y local vector orientation are reversed.
Dtk_DatumTarget::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_DatumTarget anchor point.
Dtk_Dimension::Create
static Dtk_DimensionPtr Create(Dtk_Dimension &&in)
Calls move constructor to allocate a new object.
Dtk_OneCell::_InitC
void _InitC()
Dtk_Welding::GetFinishSymbolOtherSideAsText
Dtk_Text GetFinishSymbolOtherSideAsText() const
Dtk_Grid::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
Dtk_Welding::WeldTextType
WeldTextType
Definition: util_draw_dtk.hpp:3071
Dtk_ToleranceSpecificationContainer::GetToleranceSpecification
Dtk_ToleranceSpecificationPtr GetToleranceSpecification(const Dtk_Size_t &inPos) const
Retrieves the ith tolerance specification - read only -.
DTK_Text_subtype::IsFractionBar
Dtk_bool IsFractionBar() const
Tell if the associated Dtk_text is a fraction bar group - into Dtk_Dimension -.
Dtk_Symbol::TypeGrid
@ TypeGrid
Definition: util_draw_dtk.hpp:6391
Dtk_Table::Dtk_Table
Dtk_Table()
Default constructor.
Dtk_ToleranceSpecificationContainer::TypeSurfaceProfile
@ TypeSurfaceProfile
Definition: util_draw_dtk.hpp:6079
Dtk_dir::normalize
int normalize()
Dtk_Drawing::Width
const Dtk_Double64 & Width() const
Retrieves the drawing width - read only -.
Dtk_Font::Dtk_Font
Dtk_Font(Dtk_Font &&in) DTK_NOEXCEPT
Move constructor.
Dtk_Camera::Angle
Dtk_Double64 Angle() const
Definition: util_draw_dtk.hpp:7520
DTK_Text_subtype::IsTolRightParenthesis
Dtk_bool IsTolRightParenthesis() const
Tell if the associated Dtk_text is part of Tolerance Right Parenthesis group - into Dtk_Dimension -.
Dtk_Fdt::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7288
Dtk_Region::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7890
Dtk_Welding::Create
static Dtk_WeldingPtr Create(Dtk_Welding &&in)
Calls move constructor to allocate a new object.
Dtk_Dimension::Create
static Dtk_DimensionPtr Create(const DimensionTypeEnum &inDimensionType, Dtk_CompositeText inTexts)
Calls full featured constructor to allocate a new object.
Dtk_Region::GetCircularDiameter
Dtk_ErrorStatus GetCircularDiameter(Dtk_Double64 &outDiameter)
Gets the diameter of the circular Dtk_Region.
Dtk_Leader::TerminatorTypeDoubleFillArrow
@ TerminatorTypeDoubleFillArrow
Definition: util_draw_dtk.hpp:2008
Dtk_ToleranceSpecification::Dtk_ToleranceSpecification
Dtk_ToleranceSpecification(const Dtk_ToleranceSpecification &in)
Dtk_Welding::AddOtherSideUndefinedText
void AddOtherSideUndefinedText(Dtk_CompositeText inText)
Add an undefined Text to the OtherSide.
Dtk_Welding::FinishSymbolPeening
@ FinishSymbolPeening
Definition: util_draw_dtk.hpp:3115
DTK_FRAME_TYPE_NOTA
@ DTK_FRAME_TYPE_NOTA
Definition: util_draw_dtk.hpp:161
Dtk_Text::VerticalMirroring
@ VerticalMirroring
Definition: util_draw_dtk.hpp:1117
Dtk_Symbol::AddGeometricalElement
Dtk_ErrorStatus AddGeometricalElement(const Dtk_EntityPtr &inGeomElt)
Adds a geometrical element to the Dtk_Symbol.
dtk_transfo.hpp
Dtk_HatchingPattern
This is the Hatching Pattern class. This describes a repetition of lines/dots or coloring....
Definition: util_draw_dtk.hpp:7573
Dtk_FCFFeatureIndicatorType::Dtk_FCFFeatureIndicatorTypeEnum
Dtk_FCFFeatureIndicatorTypeEnum
Definition: util_draw_dtk.hpp:5768
Dtk_Grid::Dtk_Grid
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_Roughness::GetCutOff
Dtk_Text GetCutOff() const
Gets the CutOff text - read only -.
Dtk_Welding::WeldTextOpening
@ WeldTextOpening
Definition: util_draw_dtk.hpp:3082
Dtk_Camera::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_ReferenceFrame::Dtk_ReferenceFrame
Dtk_ReferenceFrame()
Dtk_ViewDisplay::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6881
Dtk_2dEntity::_Reset
void _Reset()
Dtk_pnt
This is a mathematical point class.
Definition: dtk_pnt.hpp:22
Dtk_Fdt::Dtk_Fdt
Dtk_Fdt(const Dtk_transfo &inTransforansform, const Dtk_2dEntityPtr &entity2D)
type_detk
type_detk
Definition: define.h:32
Dtk_ToleranceSpecificationContainer::GetToleranceTypeOuterBoundingBox
void GetToleranceTypeOuterBoundingBox(Dtk_Oriented2dBBox &outOuterBBox) const
Retrieves the Tolerance Specification Container Type outer Bounding Box.
DTK_DATUM_COMPOSING_RULE
DTK_DATUM_COMPOSING_RULE
This is the several references composing rules.
Definition: util_draw_dtk.hpp:66
Dtk_Grid::Create
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)
Calls full featured constructor to allocate a new object.
Dtk_Text::SetInnerYLength
void SetInnerYLength(const Dtk_Double64 &inYLength)
Sets the inner bounding box Y length.
Dtk_ReferenceFrame::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ToleranceSpecificationContainer::GetOuterBoundingBox
Dtk_ErrorStatus GetOuterBoundingBox(const Dtk_bool &inProcessAddtionnalTexts, Dtk_Oriented2dBBox &outOuterBBox) const
Dtk_HatchingPattern::_line_style
Dtk_Int32 _line_style
Definition: util_draw_dtk.hpp:7581
Dtk_Text::TextType
const DTK_Text_type & TextType() const
Retrieves the text type - read only -.
DTK_Text_subtype
This is the DTK_Text_subtype class. It's used to provide semantic data about Dtk_Text type....
Definition: util_draw_dtk.hpp:998
str_def.h
Dtk_View::Angle
Dtk_Double64 & Angle()
Retrieves the Dtk_View angle - get/set-.
Dtk_Welding::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_Welding anchor point.
Dtk_Welding::SymbolFlareVButtWeld
@ SymbolFlareVButtWeld
Definition: util_draw_dtk.hpp:2954
Dtk_DatumTarget::ProcessCenterPoint
Dtk_pnt ProcessCenterPoint() const
Retrieves the center point - read only -.
Dtk_ToleranceSpecification::Create
static Dtk_ToleranceSpecificationPtr Create(Dtk_ToleranceSpecification &&in)
Calls move constructor to allocate a new object.
Dtk_OneCell::setJustification
void setJustification(const Dtk_justication_type &inNewJustification)
Sets justification.
Dtk_Leader::DtkDynamicCast
static Dtk_Leader * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
DTK_Text_subtype::IsTolValPart
Dtk_bool IsTolValPart() const
Tell if the associated Dtk_text is part of Tolerance Value group - into Dtk_Dimension -.
Dtk_View::SetClippingPlane
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_Font::_name
Dtk_string _name
Font name.
Definition: util_draw_dtk.hpp:194
Dtk_Welding::SetOtherSideData
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_CompositeEntity::Dtk_CompositeEntity
Dtk_CompositeEntity()
Dtk_ReferenceBlock::GetLinkedtFdt
Dtk_FdtPtr GetLinkedtFdt(const Dtk_Size_t &inReferencePos) const
Retrieves the Linked Fdt.
Dtk_ToleranceSpecification::ProcessWidth
Dtk_Double64 ProcessWidth() const
Internal use only.
Dtk_CompositeText
This is the composite text class. It's basically a Dtk_Text Container. This class represents a group ...
Definition: util_draw_dtk.hpp:1536
Dtk_View::SetClippingBoundary
void SetClippingBoundary(const Dtk_CompositeEntityPtr &inBoundary) const
Sets the clipping boundary informations.
Dtk_ReferenceBlock::GetInnerBoundingBox
Dtk_Oriented2dBBox GetInnerBoundingBox() const
Dtk_Welding::GetLengthTextOtherSide
Dtk_Text GetLengthTextOtherSide() const
Retrieves the OtherSide Length Dtk_Text.
Dtk_FCFFeatureIndicatorType::OrientationPlane
@ OrientationPlane
Definition: util_draw_dtk.hpp:5777
Dtk_Leader::Create
static Dtk_LeaderPtr Create(Dtk_Leader &&s)
Calls move constructor to allocate a new object.
Dtk_ToleranceSpecificationContainer::Translate
void Translate(const Dtk_dir &inTranslationDir)
Translates the text giving a translation vector.
Dtk_OneCell::getAnchor
Dtk_Size_t & getAnchor()
Gets the Dtk_OneCell anchor.
Dtk_View::AddOLEObjects
Dtk_ErrorStatus AddOLEObjects(const Dtk_tab< Dtk_OLEObjectPtr > &inOleObjects)
Adds an array of Dtk_OLEObjectPtr to the view.
Dtk_Roughness::rough_mode_to_Dtk_Text
Dtk_Text rough_mode_to_Dtk_Text() const
Converts the rough mode into a Dtk_Text - used to Dtk_Symbol conversion -.
Dtk_OneCell::Merged_Cell_Horizontally
bool Merged_Cell_Horizontally()
Tests if the cell is composed of cells merged horizontally.
Dtk_Annotation::GetNumLeaders
Dtk_Size_t GetNumLeaders() const
Retrieves the number of leaders.
Dtk_DatumTarget::SetOptionnalBottomTextLeader
void SetOptionnalBottomTextLeader(const Dtk_LeaderPtr &inLeader)
Sets the optionnal Leader of the Bottom Text.
Dtk_Oriented2dBBox::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the anchor points.
Dtk_Table::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Roughness::GetRoughMode
RoughModeEnum GetRoughMode() const
Gets the rough mode - read only -.
Dtk_FontLineType
Dtk_FontLineType
This is a set of line styles.
Definition: util_ent_dtk.hpp:46
Dtk_Welding::SymbolSingleBevelButtWeld
@ SymbolSingleBevelButtWeld
Definition: util_draw_dtk.hpp:2952
Dtk_Symbol::GetFrame
void GetFrame(Dtk_Frame &outFrame) const
Retrieves the Frame - read only -.
Dtk_2dEntity::GetAdditionnalGeometries
const Dtk_tab< Dtk_EntityPtr > & GetAdditionnalGeometries() const
Retrieves the additionnal geometries of the Dtk_2dEntity.
Dtk_ToleranceSpecificationContainer::Create
static Dtk_ToleranceSpecificationContainerPtr Create(const TypeEnum &inTolSpecContType, const Dtk_Oriented2dBBox &inInnerTolTypeBBox, const Dtk_Oriented2dBBox &inOuterTolTypeBBox)
Calls full featured constructor to allocate a new object.
Dtk_Oriented2dBBox::ProcessIntersectionWithCircle
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...
Dtk_ToleranceSpecificationContainer::TypeCircularity
@ TypeCircularity
Definition: util_draw_dtk.hpp:6073
util_stl_dtk.hpp
Dtk_TextStyle::AttributeOverline
@ AttributeOverline
Definition: util_draw_dtk.hpp:284
Dtk_TextStyle::JustificationRight
@ JustificationRight
Definition: util_draw_dtk.hpp:296
Dtk_Welding::GetArrowSideSizeText
Dtk_CompositeText GetArrowSideSizeText() const
Retrieves the ArrowSideSizeText Dtk_CompositeText.
Dtk_ToleranceSpecificationContainer::TypeConcentricity
@ TypeConcentricity
Definition: util_draw_dtk.hpp:6089
Dtk_Oriented2dBBox::GetTopCenterPoint
Dtk_pnt GetTopCenterPoint() const
Retrieves the top center point - Read Only -.
Definition: util_draw_dtk.hpp:588
Dtk_Welding::SetOtherSideWeldSymbolText
void SetOtherSideWeldSymbolText(Dtk_CompositeText inOtherSideWeldSymbolText)
Sets the OtherSideWeldSymbolText Dtk_CompositeText.
Dtk_Frame
This is the frame class. It's used to gather all frame information.
Definition: util_draw_dtk.hpp:908
Dtk_Dimension::DiameterDimension
@ DiameterDimension
Definition: util_draw_dtk.hpp:4738
Dtk_Text::GetFrame
void GetFrame(Dtk_Frame &outFrame) const
Retrieves the Frame - read only -.
Dtk_Leader::Create
static Dtk_LeaderPtr Create()
Calls default constructor to allocate a new object.
Dtk_Leader::ArrowHead
This class graphically represents a leader head.
Definition: util_draw_dtk.hpp:2070
Dtk_Leader::ArrowHead::_Copy
void _Copy(const ArrowHead &s)
Definition: util_draw_dtk.hpp:2085
Dtk_Leader::TerminatorTypeTopOpenArrow
@ TerminatorTypeTopOpenArrow
Definition: util_draw_dtk.hpp:2012
Dtk_Oriented2dBBox::Translate
void Translate(const Dtk_dir &inTranslation)
Translates the text giving a translation vector.
Dtk_ToleranceSpecification::Reference
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::Dtk_Region
Dtk_Region(RegionType inType, Dtk_HatchingPattern &inHatchingPattern, Dtk_tab< Dtk_EntityPtr > inGeometries)
Dtk_Text::SetInnerXYAxis
void SetInnerXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis)
Sets the inner bounding box orientation.
DTK_Text_subtype::IsTolPrefix
Dtk_bool IsTolPrefix() const
Tell if the associated Dtk_text is part of Tolerance Prefix group - into Dtk_Dimension -.
Dtk_FCFFeatureIndicatorType::operator=
Dtk_FCFFeatureIndicatorType & operator=(Dtk_FCFFeatureIndicatorType &&in) DTK_NOEXCEPT
Move assignment operator.
Definition: util_draw_dtk.hpp:5880
Dtk_OneCell::GetBorderRightBlanked
Dtk_Int32 GetBorderRightBlanked()
Gets BorderRightBlanked of Right border.
Dtk_ReferenceBlock::Dtk_ReferenceBlock
Dtk_ReferenceBlock(const Dtk_Oriented2dBBox &inInnerBBox, const Dtk_Oriented2dBBox &inOuterBBox)
Dtk_ReferenceBlock::GetNumReferences
Dtk_Size_t GetNumReferences() const
Retrieves the references number.
Dtk_Leader::TerminatorTypeTopFillArrow
@ TerminatorTypeTopFillArrow
Definition: util_draw_dtk.hpp:2016
Dtk_Hatching::GeneratePatternGeometries
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.
Dtk_Fdt::Sub2DEntity
const Dtk_2dEntityPtr & Sub2DEntity() const
Retrieves the sub 2D entity - read only -.
Dtk_ReferenceBlock::Dtk_ReferenceBlock
Dtk_ReferenceBlock(Dtk_ReferenceBlock &&in) DTK_NOEXCEPT
Dtk_Camera::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7399
Dtk_HatchingPattern::Color
const Dtk_RGB & Color() const
Retrieves the color of the pattern element.
DTK_Text_subtype::IsValSplitPart3
Dtk_bool IsValSplitPart3() const
Tell if the associated Dtk_text is part of Value Split Part 3 - for Degrees/Minutes/Seconds form - gr...
Dtk_Symbol::TypeCallout
@ TypeCallout
Definition: util_draw_dtk.hpp:6383
Dtk_OneCell::SetBorderLeftColor
void SetBorderLeftColor(const Dtk_Int32 &inBorderLeftColor)
Sets BorderLeftColor of Left border.
util_ptr_dtk.hpp
Dtk_Roughness::SetRotationAngle
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &angle)
Sets the annotation angle using the annotation base.
Dtk_Text::Dtk_Text
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)
Full featured constructor.
Dtk_Leader::SetExtensionLine
void SetExtensionLine(const Dtk_PolylinePtr &inExtLine)
Set the leader Extendion Line.
Dtk_Roughness::ModeWithAngles
@ ModeWithAngles
Definition: util_draw_dtk.hpp:2599
Dtk_DatumTarget::SwapTexts
Dtk_ErrorStatus SwapTexts()
Swaps the Dtk_DatumTarget texts.
Dtk_ToleranceSpecificationContainer::GetToleranceSpecificationsBoundingBox
Dtk_ErrorStatus GetToleranceSpecificationsBoundingBox(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_ToleranceSpecificationContainer anchor points.
Dtk_Camera::Create
static Dtk_CameraPtr Create()
Calls default constructor to allocate a new object.
define.h
Dtk_Text::SetInnerRotationAngle
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
@ DTK_NB_ANCHOR_TYPES
Definition: util_draw_dtk.hpp:103
Dtk_OneCell::set_min_Width
void set_min_Width(const double &min_Width)
Sets the Dtk_OneCell min_Width.
Dtk_Text::ProcessMirroringType
MirroringTypeEnum ProcessMirroringType(const Dtk_dir &inZAxis=Dtk_dir(0, 0, 1)) const
Processes the mirroring type giving the reference Z Axis.
Dtk_Font::FontUnknown
@ FontUnknown
Definition: util_draw_dtk.hpp:187
Dtk_Welding::SymbolSingleUButtWeld
@ SymbolSingleUButtWeld
Definition: util_draw_dtk.hpp:2958
Dtk_Text::GetOuterBoundingBox
const Dtk_Oriented2dBBox & GetOuterBoundingBox() const
Processes the outer bounding box.
Dtk_Annotation::Dtk_Annotation
Dtk_Annotation()
Default constructor.
DTK_UNIT_RADIAN
@ DTK_UNIT_RADIAN
Definition: util_draw_dtk.hpp:87
Dtk_ReferenceBlock::GetReferenceLabel
const Dtk_string & GetReferenceLabel(const Dtk_Size_t &inReferencePos) const
Retrieves the ith reference label - read only -.
Dtk_Leader::TerminatorTypeClosedArrow
@ TerminatorTypeClosedArrow
Definition: util_draw_dtk.hpp:1972
Dtk_FCFFeatureIndicator::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Transforms the Dtk_FCFFeatureIndicator giving a transformation matrix.
DTK_TYPE_TABLE
@ DTK_TYPE_TABLE
Definition: define.h:491
Dtk_Camera::TargetPoint
const Dtk_pnt & TargetPoint() const
Retrieves the target point - read only -.
Dtk_Leader::ArrowHead::GetDirections
void GetDirections(Dtk_dir &outRefDir, Dtk_dir &outAxisDir) const
Definition: util_draw_dtk.hpp:2139
Dtk_ToleranceSpecificationContainer::GetToleranceSpecificationOuterBoundingBox
Dtk_ErrorStatus GetToleranceSpecificationOuterBoundingBox(const Dtk_Size_t &inTolSpecPos, Dtk_Oriented2dBBox &outOuterBBox) const
Dtk_Welding::SymbolSpotWeld
@ SymbolSpotWeld
Definition: util_draw_dtk.hpp:2964
Dtk_Camera::GetZoomFitMode
const Dtk_Camera::ZoomFitModeEnum & GetZoomFitMode() const
Retrieves the zoom fit mode - read only -.
Dtk_View::AddEntities
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::DTK_Text_subtype
DTK_Text_subtype(int in=0)
Dtk_View::GetClipping
Dtk_PlaneSurfacePtr GetClipping(const Dtk_Size_t &inPos) const
DTK_Text_subtype::IsTolLowerTol
Dtk_bool IsTolLowerTol() const
Tell if the associated Dtk_text is part of Tolerance Lower Value group - into Dtk_Dimension -.
Dtk_Welding::GetFinishSymbolTextArrowSide
Dtk_Text GetFinishSymbolTextArrowSide() const
Retrieves the ArrowSide Finish Symbol Dtk_Text.
Dtk_CompositeEntity::GetNumEntities
Dtk_Size_t GetNumEntities() const
Retrieves the number of Dtk_EntityPtr in Dtk_CompositeEntity.
Dtk_Roughness::ModeCircular
@ ModeCircular
Definition: util_draw_dtk.hpp:2593
DTK_NO_PATTERN
@ DTK_NO_PATTERN
Definition: util_ent_dtk.hpp:47
Dtk_2dEntity::AddAdditionnalGeometries
void AddAdditionnalGeometries(const Dtk_tab< Dtk_EntityPtr > &inAdditionnalGeometries)
Adds some additionnal geometries to the Dtk_2dEntity.
Dtk_TextStyle::Slant
const Dtk_Double64 & Slant() const
Retrieves the text slant - read only -.
DTK_UNIT_UNKNOWN
@ DTK_UNIT_UNKNOWN
Definition: util_draw_dtk.hpp:77
Dtk_DatumTarget::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Text::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:1121
DTK_TYPE_2D_ENTITY
@ DTK_TYPE_2D_ENTITY
Definition: define.h:473
DTK_TYPE_HATCHING
@ DTK_TYPE_HATCHING
Definition: define.h:560
Dtk_Welding::SymbolSingleJButtWeld
@ SymbolSingleJButtWeld
Definition: util_draw_dtk.hpp:2960
Dtk_Leader::ApplicationZone::_RelatedGeomElements
Dtk_tab< Dtk_CurvePtr > _RelatedGeomElements
Definition: util_draw_dtk.hpp:1855
Dtk_Annotation::operator=
Dtk_Annotation & operator=(const Dtk_Annotation &in)
Copy assignment operator.
Dtk_Font::Name
const Dtk_string & Name() const
Retrieves the font name - read only -.
Dtk_TextStyle::CharHeight
Dtk_Double64 & CharHeight()
Retrieves the char height - get/set -.
Dtk_Frame::CreateGeometries
Dtk_ErrorStatus CreateGeometries(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
Process Related geometries.
Dtk_Roughness::GetOuterBoundingBox
Dtk_Oriented2dBBox GetOuterBoundingBox(const Dtk_bool inIncludeSymbolGeometry) const
Dtk_tab
This is a high level array class.
Definition: util_stl_dtk.hpp:85
Dtk_Text::InnerXAxis
const Dtk_dir & InnerXAxis() const
Retrieves the inner bounding box XAxis - read only -.
Dtk_FCFFeatureIndicator::operator=
Dtk_FCFFeatureIndicator & operator=(Dtk_FCFFeatureIndicator &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_Leader::~Dtk_Leader
virtual ~Dtk_Leader()
Destructor.
Dtk_Welding::GetSizeTextOtherSide
Dtk_Text GetSizeTextOtherSide() const
Retrieves the OtherSide Size Dtk_Text.
Dtk_Welding::GetArrowSideAllTexts
std::unordered_map< Dtk_UInt8, Dtk_CompositeText > GetArrowSideAllTexts() const
Return all the texts of the ArrowSide.
Dtk_ViewDisplay::GetDisplayMode
DisplayMode3DEnum GetDisplayMode()
Return the Display Mode.
Dtk_Grid::GetVSpacing
Dtk_Double64 GetVSpacing() const
Gets V spacing between lines.
Dtk_ToleranceSpecificationContainer::TopText
const Dtk_Text & TopText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer top-text as Dtk_Text - read only -.
Dtk_Text::SetInnerAnchorPointWithTranslation
Dtk_ErrorStatus SetInnerAnchorPointWithTranslation(const Dtk_pnt &new_origin, const Dtk_anchor_type location_anchor_type)
Dtk_Welding::GetAngleTextArrowSide
Dtk_Text GetAngleTextArrowSide() const
Retrieves the ArrowSide Angle Dtk_Text.
Dtk_GeometricalTolerance::Dtk_GeometricalTolerance
Dtk_GeometricalTolerance()
Dtk_Drawing::SetAsDeprecated
SetAsDeprecated("2025.4", "Please remove calls to this function, it will always return 0.") Dtk_Size_t GetNum2dEntities() const
Retrieves the 2D entities number - read only -.
Dtk_Roughness::ApplyToEnum
ApplyToEnum
Definition: util_draw_dtk.hpp:2577
Dtk_TextStyle::~Dtk_TextStyle
~Dtk_TextStyle()
Destructor.
Dtk_Leader::TerminatorTypeCircleCenter
@ TerminatorTypeCircleCenter
Definition: util_draw_dtk.hpp:2002
Dtk_GeometricalTolerance
This is the geometrical tolerance. It's basically composed by one - or more - Dtk_ToleranceSpecifica...
Definition: util_draw_dtk.hpp:5579
Dtk_ReferenceFrame::ThirdReference
const Dtk_ReferenceBlockPtr & ThirdReference() const
Retrieves the third reference block - read only -.
Dtk_Welding::GetOtherSideSizeText
Dtk_CompositeText GetOtherSideSizeText() const
Retrieves the OtherSideSizeText Dtk_CompositeText.
Dtk_transfo::addTranslate
void addTranslate(const Dtk_dir &V)
Translate the Dtk_transfo.
Dtk_tab::size
Dtk_Size_t size() const
Returns the size of the array.
Definition: util_stl_dtk.hpp:504
Dtk_ToleranceSpecificationContainer::TypePerpendicularity
@ TypePerpendicularity
Definition: util_draw_dtk.hpp:6083
Dtk_Leader::ApplicationZone::ApplicationZone
ApplicationZone()
Default constructor.
Definition: util_draw_dtk.hpp:1881
Dtk_Roughness::Create
static Dtk_RoughnessPtr Create()
Calls default constructor to allocate a new object.
Dtk_ToleranceSpecification::GetNumReferences
Dtk_Size_t GetNumReferences() const
Retrieves the reference blocks number - read only -. This is a shortcut without using Dtk_ReferenceFr...
DTK_TYPE_VIEW_DISPLAY
@ DTK_TYPE_VIEW_DISPLAY
Definition: define.h:455
Dtk_GeometricalTolerance::Dtk_GeometricalTolerance
Dtk_GeometricalTolerance(const Dtk_GeometricalTolerance &s)
Dtk_FCFFeatureIndicator::Dtk_FCFFeatureIndicator
Dtk_FCFFeatureIndicator(const Dtk_FCFFeatureIndicator &in)
Definition: util_draw_dtk.hpp:5918
Dtk_DatumTarget::SetRotationAngle
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle)
Sets the annotation angle using the annotation base.
Dtk_Dimension::BasicTypeRectangle
@ BasicTypeRectangle
Definition: util_draw_dtk.hpp:4756
Dtk_Text::SetInnerXLength
void SetInnerXLength(const Dtk_Double64 &inXLength)
Sets the inner bounding box X length.
DTK_Text_subtype::IsTolSymetricalTol
Dtk_bool IsTolSymetricalTol() const
Tell if the associated Dtk_text is part of Tolerance Symetrical Value group - into Dtk_Dimension -.
Dtk_Frame::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the frame.
Dtk_TextStyle::AttributeNone
@ AttributeNone
Definition: util_draw_dtk.hpp:278
Dtk_HatchingStyle_Unknown
@ Dtk_HatchingStyle_Unknown
Definition: util_draw_dtk.hpp:7563
Dtk_Oriented2dBBox::Transform
void Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the bounding box.
Dtk_View::AddPictures
Dtk_ErrorStatus AddPictures(const Dtk_tab< Dtk_picturePtr > &inPicturesArray)
Adds an array of pictures to the view.
Dtk_Table::getCell
const Dtk_OneCell & getCell(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
Definition: util_draw_dtk.hpp:4387
Dtk_HatchingPattern::_line_width
Dtk_Double64 _line_width
Definition: util_draw_dtk.hpp:7582
Dtk_Frame::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the frame giving a translation vector.
Dtk_CompositeText::Dtk_CompositeText
Dtk_CompositeText(Dtk_CompositeText &&t) DTK_NOEXCEPT
Move constructor.
Dtk_Grid::Always
@ Always
Definition: util_draw_dtk.hpp:4507
Dtk_Leader::ApplicationZone::_Copy
void _Copy(const ApplicationZone &s)
Definition: util_draw_dtk.hpp:1860
Dtk_Table::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4328
Dtk_Text::InnerLocation
const Dtk_pnt & InnerLocation() const
Retrieves the inner bounding box location - read only -.
Dtk_Dimension::Dtk_Dimension
Dtk_Dimension()
Dtk_Text::GetInfo
Dtk_InfoPtr & GetInfo()
Retrieves the text infos.
DTK_FRAME_TYPE_SYMMETRICAL_PART
@ DTK_FRAME_TYPE_SYMMETRICAL_PART
Definition: util_draw_dtk.hpp:163
Dtk_Roughness::ModeRadial
@ ModeRadial
Definition: util_draw_dtk.hpp:2595
Dtk_ViewDisplay::Dtk_ViewDisplay
Dtk_ViewDisplay(const Dtk_ViewDisplay &s)
Dtk_Region::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_RoughnessPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Create from Dtk_RoughnessPtr.
Dtk_Welding::SetTailText
void SetTailText(Dtk_CompositeText inTailText)
Sets the Tail Dtk_CompositeText.
Dtk_Fdt::GetIsZoomableAttribute
bool GetIsZoomableAttribute() const
Gets the Zoomable attribute of the Dtk_Fdt.
Dtk_OneCell::SetBorderBottomColor
void SetBorderBottomColor(const Dtk_Int32 &inBorderBottomColor)
Sets BorderBottomColor of Bottom border.
Dtk_Text::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the text.
Dtk_Welding::SetOtherSideClearanceText
void SetOtherSideClearanceText(Dtk_CompositeText inOtherSideClearanceText)
Sets the OtherSideClearanceText Dtk_CompositeText.
Dtk_OneCell::_Width
Dtk_Double64 _Width
The real width (before and after mergers).
Definition: util_draw_dtk.hpp:4050
Dtk_Fdt::GetDisplayBackgroundColorId
Dtk_ErrorStatus GetDisplayBackgroundColorId(Dtk_Int32 &outColorIdData)
Gets the DisplayBackground color id of the Dtk_Fdt.
Dtk_HatchingPattern::Pitch
Dtk_Double64 & Pitch()
Dtk_ReferenceFrame::operator=
Dtk_ReferenceFrame & operator=(Dtk_ReferenceFrame &&in) DTK_NOEXCEPT
Move assignment operator.
util_geom_ptr_dtk.hpp
Dtk_OneCell::setnbCells_Top_Bottom
void setnbCells_Top_Bottom(const Dtk_Size_t &inNewVal)
Sets nbCells_Top_Bottom.
Dtk_ViewDisplay::DtkDynamicCast
static Dtk_ViewDisplay * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_DatumTarget::SetParameterValue
Dtk_ErrorStatus SetParameterValue(const DatumTargetValueEnum &inValueEnum, Dtk_Val inValue)
Sets the value associated to DatumTargetValueEnum .
Dtk_Welding::GetAngleTextOtherSide
Dtk_Text GetAngleTextOtherSide() const
Retrieves the OtherSide Angle Dtk_Text.
Dtk_Welding::SymbolBackWeld
@ SymbolBackWeld
Definition: util_draw_dtk.hpp:2966
Dtk_Oriented2dBBox::_Copy
void _Copy(const Dtk_Oriented2dBBox &s)
Definition: util_draw_dtk.hpp:495
Dtk_Roughness::GetInvertText
Dtk_Int32 GetInvertText() const
Gets text is invert or not.
DTK_Text_subtype::IsSuffix
Dtk_bool IsSuffix() const
Tell if the associated Dtk_text is part of Suffix group - into Dtk_Dimension -.
Dtk_Fdt::~Dtk_Fdt
virtual ~Dtk_Fdt()
Destructor.
Dtk_ReferenceFrame::AddReferenceBlock
Dtk_ErrorStatus AddReferenceBlock(const Dtk_ReferenceBlockPtr &inReferenceBlock)
Add a reference block to the Dtk_ReferenceFrame.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_CompositeEntity &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Dtk_TextStyle::Attributes
const TextAttributeEnum & Attributes() const
Retrieves the text attribute - read only -.
Dtk_FCFFeatureIndicator
This is the Feature Indicator. It is part of the Dtk_ToleranceSpecification. It's basically compose...
Definition: util_draw_dtk.hpp:5902
Dtk_Region::SetAnnularInnerDiameter
Dtk_ErrorStatus SetAnnularInnerDiameter(Dtk_Double64 inDiameter)
Sets the inner diameter of the annular Dtk_Region.
Dtk_GeometricalTolerance::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_HatchingPattern::_pitch
Dtk_Double64 _pitch
Definition: util_draw_dtk.hpp:7579
Dtk_FCFFeatureIndicator::GetSymbol
const Dtk_Text & GetSymbol() const
Retrieves the Symbol of the Dtk_FCFFeatureIndicator - Read Only -.
Dtk_ViewDisplay::~Dtk_ViewDisplay
~Dtk_ViewDisplay()
Destructor.
Dtk_Camera::Dtk_Camera
Dtk_Camera()
Dtk_Leader::ApplicationZone::_Init
void _Init()
Definition: util_draw_dtk.hpp:1856
Dtk_Text::SetOuterAnchorPointWithTranslation
Dtk_ErrorStatus SetOuterAnchorPointWithTranslation(const Dtk_pnt &new_origin, const Dtk_anchor_type location_anchor_type)
DTK_FRAME_TYPE_SET
@ DTK_FRAME_TYPE_SET
Definition: util_draw_dtk.hpp:157
Dtk_Welding::SetRotationAngle
Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inAngle)
Sets the annotation angle using the annotation base.
Dtk_Table::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
Dtk_Welding::GetSizeTextArrowSide
Dtk_Text GetSizeTextArrowSide() const
Retrieves the ArrowSide Size Dtk_Text.
Dtk_Welding::SetSymbolInfos
void SetSymbolInfos(Dtk_tab< Dtk_pnt > &inPnts)
Process the Welding Symbol Informations.
Dtk_ToleranceSpecification::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:5300
DTK_Text_subtype::IsDownText
Dtk_bool IsDownText() const
Tell if the associated Dtk_text is part of Down group - into Dtk_Dimension -.
Dtk_Camera::Create
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)
Calls full featured constructor to allocate a new object.
Dtk_Object::DtkDynamicType
virtual int DtkDynamicType(const int &inId)=0
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(Dtk_Symbol &&in)
Calls move constructor to allocate a new object.
Dtk_CompositeText::Dtk_CompositeText
Dtk_CompositeText(const Dtk_Size_t &inNumTexts)
Pre allocator constructor.
Dtk_Drawing::DtkDynamicCast
static Dtk_Drawing * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Symbol::TypeEnum
TypeEnum
Definition: util_draw_dtk.hpp:6370
Dtk_Dimension::GetTexts
const Dtk_CompositeText & GetTexts() const
Retrieves the Dtk_Dimension text - read only -.
Dtk_TextStyle::_pitch
Dtk_Double64 _pitch
Char Pitch.
Definition: util_draw_dtk.hpp:333
Dtk_ToleranceSpecificationContainer::TypeEnum
TypeEnum
Definition: util_draw_dtk.hpp:6066
Dtk_ReferenceBlock::AddReference
Dtk_ErrorStatus AddReference(Dtk_string inFullTextWithMaterialCondition, const Dtk_FdtPtr &inLinkedFdt)
Add a reference to the Dtk_ReferenceBlock.
Dtk_OneCell::getnbCells_Left_Right
Dtk_Int32 getnbCells_Left_Right() const
Gets the Dtk_OneCell nbCells_Left_Right.
Dtk_DatumTarget::GetOptionnalTopTextLeader
const Dtk_LeaderPtr & GetOptionnalTopTextLeader() const
Retrieves optionnal Leader of the Top Text.
Dtk_DatumTarget::EnableFrame
void EnableFrame()
Enables the frame status.
DTK_TYPE_DRAWING
@ DTK_TYPE_DRAWING
Definition: define.h:447
Dtk_Symbol::~Dtk_Symbol
~Dtk_Symbol()
Destructor.
Dtk_Leader::GetArrowHead
const ArrowHead & GetArrowHead() const
Dtk_Text::OuterTranslate
Dtk_ErrorStatus OuterTranslate(const Dtk_dir &inTranslateDir)
Translates the outer bounding box giving a translation vector.
Dtk_Oriented2dBBox::GetMiddleRightPoint
Dtk_pnt GetMiddleRightPoint() const
Retrieves the middle right point - Read Only -.
Definition: util_draw_dtk.hpp:603
Dtk_ToleranceSpecificationContainer::GetLeftText
const Dtk_Text & GetLeftText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer left-text as Dtk_Text - read only -.
Dtk_Oriented2dBBox::Dtk_Oriented2dBBox
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.
Dtk_ViewDisplay::Dtk_ViewDisplay
Dtk_ViewDisplay()
Dtk_Welding::ComplementarySymbolEnum
ComplementarySymbolEnum
Definition: util_draw_dtk.hpp:3056
Dtk_Fdt::DtkDynamicCast
static Dtk_Fdt * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Leader::LeaderTerminatorTypeEnum
LeaderTerminatorTypeEnum
Internal leader terminator type.
Definition: util_draw_dtk.hpp:1966
Dtk_2dEntity::Transform
virtual Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)=0
Applies a transformation matrix to the entity. //!
Dtk_Grid::ParallelToView
@ ParallelToView
Definition: util_draw_dtk.hpp:4506
Dtk_Camera::GetFocusDistance
Dtk_Double64 GetFocusDistance() const
Processes the Focus Distance ie the Distance between the Origin and the Target points - read only -.
Dtk_Text::Text
const Dtk_string & Text() const
Retrieves the text string - read only -.
Dtk_GeometricalTolerance::operator[]
Dtk_ToleranceSpecificationContainerPtr & operator[](const Dtk_Size_t &inPos)
Retrieves the ith Dtk_ToleranceSpecificationContainer - get/set -.
DTK_UNIT_GRADE
@ DTK_UNIT_GRADE
Definition: util_draw_dtk.hpp:88
Dtk_Welding::WeldTextAngle
@ WeldTextAngle
Definition: util_draw_dtk.hpp:3074
Dtk_Frame::_RelatedGeomElements
Dtk_tab< Dtk_CurvePtr > _RelatedGeomElements
Definition: util_draw_dtk.hpp:911
Dtk_Fdt::Create
static Dtk_FdtPtr Create(const Dtk_Fdt &s)
Calls copy constructor to allocate a new object.
Dtk_GeometricalTolerance::SetOffset
Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset)
Sets the offset of the Dtk_GeometricalTolerance.
Dtk_FCFFeatureIndicator::Dtk_FCFFeatureIndicator
Dtk_FCFFeatureIndicator(Dtk_FCFFeatureIndicator &&in) DTK_NOEXCEPT
Definition: util_draw_dtk.hpp:5925
Dtk_Welding::GetFinishSymbolTextOtherSide
Dtk_Text GetFinishSymbolTextOtherSide() const
Retrieves the OtherSide Finish Symbol Dtk_Text.
Dtk_OneCell::DtkDynamicType
Dtk_Int32 DtkDynamicType(const int &inId)
Retrieves the dynamic entity type.
Dtk_TextStyle::Font
Dtk_Font & Font()
Retrieves the font - get/set -.
Dtk_Leader::TerminatorTypePlus
@ TerminatorTypePlus
Definition: util_draw_dtk.hpp:1996
Dtk_View::TransformationMatrix
const Dtk_transfo & TransformationMatrix() const
Retrieves the Dtk_View transformation matrix - read only -.
Dtk_HatchingStyle_Coloring
@ Dtk_HatchingStyle_Coloring
Definition: util_draw_dtk.hpp:7565
Dtk_ToleranceSpecificationContainer::operator=
Dtk_ToleranceSpecificationContainer & operator=(Dtk_ToleranceSpecificationContainer &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_Object
Definition: dtk_object.hpp:8
DTK_FRAME_TYPE_SCORED_CIRCLE
@ DTK_FRAME_TYPE_SCORED_CIRCLE
Definition: util_draw_dtk.hpp:136
Dtk_View::Angle
const Dtk_Double64 & Angle() const
Retrieves the Dtk_View angle - read only -.
Dtk_DatumTarget::SetDatumTargetType
void SetDatumTargetType(const DatumTargetTypeEnum inType)
Sets the type of the Dtk_DatumTarget.
Dtk_Grid::Dtk_Grid
Dtk_Grid(const Dtk_Grid &grid)
DTK_FRAME_TYPE_PENTAGON
@ DTK_FRAME_TYPE_PENTAGON
Definition: util_draw_dtk.hpp:173
Dtk_Leader::ApplicationZone::ApplicationZoneEnum
ApplicationZoneEnum
Definition: util_draw_dtk.hpp:1838
Dtk_Welding::SymbolFlareBevelButtWeld
@ SymbolFlareBevelButtWeld
Definition: util_draw_dtk.hpp:2956
Dtk_Font::FontOpentype
@ FontOpentype
Definition: util_draw_dtk.hpp:190
Dtk_Welding::GetNumWeldsTextArrowSide
Dtk_Text GetNumWeldsTextArrowSide() const
Retrieves the ArrowSide NumWelds Dtk_Text.
Dtk_Annotation::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Text::Dtk_Text
Dtk_Text(const Dtk_Text &s)
Copy constructor.
Dtk_Leader::ArrowHead::m_RefDir
Dtk_dir m_RefDir
Definition: util_draw_dtk.hpp:2075
Dtk_Region::Dtk_Region
Dtk_Region(const Dtk_Region &s)
Dtk_Oriented2dBBox::_BottomLeftPnt
Dtk_pnt _BottomLeftPnt
Definition: util_draw_dtk.hpp:473
Dtk_GeometricalTolerance::DtkDynamicCast
static Dtk_GeometricalTolerance * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Roughness::SetRoughMode
Dtk_ErrorStatus SetRoughMode(Dtk_Text inRoughModeText)
Sets the rough mode.
dtk_string.hpp
Dtk_HatchingPattern::operator=
Dtk_HatchingPattern & operator=(const Dtk_HatchingPattern &in)
Copy assignment operator.
Definition: util_draw_dtk.hpp:7609
Dtk_ToleranceSpecificationContainer::operator=
Dtk_ToleranceSpecificationContainer & operator=(const Dtk_ToleranceSpecificationContainer &in)
Copy assignment operator.
DTK_ANCHOR_BOTTOM_RIGHT
@ DTK_ANCHOR_BOTTOM_RIGHT
Definition: util_draw_dtk.hpp:102
Dtk_OneCell::HasText
Dtk_bool HasText() const
Definition: util_draw_dtk.hpp:4105
Dtk_Welding::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ReferenceFrame::Reference
Dtk_ReferenceBlockPtr & Reference(const Dtk_Size_t &inReferencePos)
Retrieves the ith reference block - get/set -.
Dtk_HatchingPattern::Pitch
const Dtk_Double64 & Pitch() const
Retrieves the position offset perpendicular to the hatch line (or dot). Applies for hatching and dott...
Dtk_Hatching::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7683
Dtk_OneCell::SetBorderBottomBlanked
void SetBorderBottomBlanked(const Dtk_Int32 &inBorderBottomBlanked)
Sets BorderBottomBlanked of Bottom border.
Dtk_Symbol::TypeAxisSystem
@ TypeAxisSystem
Definition: util_draw_dtk.hpp:6388
Dtk_Region::Create
static Dtk_RegionPtr Create(RegionType inType, Dtk_HatchingPattern &inHatchingPattern, Dtk_tab< Dtk_EntityPtr > inGeometries)
Calls full featured constructor to allocate a new object.
Dtk_Fdt::TransformationMatrix
Dtk_transfo & TransformationMatrix()
Retrieves the transformation matrix - get/set -.
Dtk_DatumTarget::GetParameterValue
Dtk_ErrorStatus GetParameterValue(const DatumTargetValueEnum &inValueEnum, Dtk_Val &outValue)
Gets the value associated to DatumTargetValueEnum .
Dtk_GeometricalTolerance::AddToleranceSpecificationContainer
Dtk_ErrorStatus AddToleranceSpecificationContainer(const Dtk_ToleranceSpecificationContainerPtr &inTolSpecCont)
Adds a Dtk_ToleranceSpecificationContainer to the Dtk_GeometricalTolerance.
Dtk_Leader::ArrowHead::m_AxisDir
Dtk_dir m_AxisDir
Definition: util_draw_dtk.hpp:2076
Dtk_Symbol::operator=
Dtk_Symbol & operator=(Dtk_Symbol &&in) DTK_NOEXCEPT
Move assignment operator.
DTK_ANCHOR_MIDDLE_RIGHT
@ DTK_ANCHOR_MIDDLE_RIGHT
Definition: util_draw_dtk.hpp:99
Dtk_dir::Normalize
double Normalize()
Dtk_FCFFeatureIndicatorType::GetIndicatorType
const Dtk_FCFFeatureIndicatorTypeEnum & GetIndicatorType() const
Retrieves the IndicatorType semantic Type - Read Only -.
Definition: util_draw_dtk.hpp:5843
dtkNoError
@ dtkNoError
Definition: error_dtk.hpp:144
Dtk_tab::push_back
void push_back(const T &x)
Inserts an element at the end of the array.
Definition: util_stl_dtk.hpp:417
Dtk_Leader::ArrowHead::_Init
void _Init()
Definition: util_draw_dtk.hpp:2078
Dtk_Drawing::Width
Dtk_Double64 & Width()
Retrieves the drawing width - get/set -.
Dtk_Leader::GetExtensionLine
Dtk_PolylinePtr GetExtensionLine() const
Get the leader Extendion Line.
Dtk_Welding::SetOtherSideSecondFilletLengthText
void SetOtherSideSecondFilletLengthText(Dtk_CompositeText inOtherSideSecondFilletLengthText)
Sets the OtherSideSecondFilletLengthText Dtk_CompositeText.
Dtk_FCFFeatureIndicatorType::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the IndicatorType giving a translation vector.
Dtk_OneCell::SetBorderLeftColor
void SetBorderLeftColor(const Dtk_RGB &inBorderLeftColor)
Dtk_DatumTarget::Dtk_DatumTarget
Dtk_DatumTarget(Dtk_DatumTarget &&inToBeMoved) DTK_NOEXCEPT
Dtk_Text::GetInnerBoundingBox
const Dtk_Oriented2dBBox & GetInnerBoundingBox() const
Processes the inner bounding box.
Dtk_DatumTarget::Reverse
Dtk_ErrorStatus Reverse()
Reverses the text The text anchor type is replaced by the opposed one and the text orientation is rev...
Dtk_Welding::GetOtherSideClearanceText
Dtk_CompositeText GetOtherSideClearanceText() const
Retrieves the OtherSideClearanceText Dtk_CompositeText.
Dtk_Grid::GetLabelsAsCompositeTexts
Dtk_CompositeText GetLabelsAsCompositeTexts() const
Retrieves the Dtk_Grid labels.
Dtk_GeometricalTolerance::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_GeometricalTolerance anchor point.
Dtk_OneCell::_BorderRightBlanked
Dtk_Int32 _BorderRightBlanked
Definition: util_draw_dtk.hpp:4081
Dtk_Leader::TerminatorTypeXCross
@ TerminatorTypeXCross
Definition: util_draw_dtk.hpp:1998
Dtk_Welding::SetArrowSideOpeningText
void SetArrowSideOpeningText(Dtk_CompositeText inArrowSideOpeningText)
Sets the ArrowSideOpeningText Dtk_CompositeText.
Dtk_Table::getCell
Dtk_OneCell & getCell(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
Definition: util_draw_dtk.hpp:4380
Dtk_Roughness::AddAssociatedGeometries
void AddAssociatedGeometries(Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries)
Add Geometries associated to whole Dtk_Roughness.
DTK_FRAME_TYPE_RECTANGLE
@ DTK_FRAME_TYPE_RECTANGLE
Definition: util_draw_dtk.hpp:130
Dtk_Camera::GetClippingDistance
void GetClippingDistance(Dtk_Double64 &outFrontDistance, Dtk_Double64 &outBackDistance) const
get the Front Clipping Distance et Back Clipping Distance
Dtk_Text::SetVerticallyOrientedStatus
Dtk_ErrorStatus SetVerticallyOrientedStatus(const Dtk_bool &inVerticallyOrientedStatus)
Sets the text vertically oriented status.
Dtk_Region::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Leader::ArrowHead::m_HeadType
LeaderTerminatorTypeEnum m_HeadType
Definition: util_draw_dtk.hpp:2073
Dtk_Symbol::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:6488
Dtk_Leader::_CommonAngularCtor
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)
Dtk_GeometricalTolerance::Create
static Dtk_GeometricalTolerancePtr Create()
Calls default constructor to allocate a new object.
Dtk_View::Dtk_View
Dtk_View(Dtk_View &&s) DTK_NOEXCEPT
Dtk_2dEntity
This is the abstract Dtk_2dEntity class. Gathers Dtk_Annotation and Dtk_Dimension.
Definition: util_draw_dtk.hpp:1752
Dtk_Oriented2dBBox::~Dtk_Oriented2dBBox
~Dtk_Oriented2dBBox()
Destructor.
Dtk_Camera::ProcessXZoomFactor
Dtk_Double64 ProcessXZoomFactor() const
Processes the X - along width - zoom factor - read only -.
Definition: util_draw_dtk.hpp:7489
Dtk_Leader::ApplicationZone::GetApplicationZoneType
ApplicationZoneEnum GetApplicationZoneType() const
Retrieves the ApplicationZone Type - Read Only -.
Definition: util_draw_dtk.hpp:1908
Dtk_Welding::FinishSymbolEnumToString
static Dtk_string FinishSymbolEnumToString(const FinishSymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3119
Dtk_TextStyle::FontStyle
const FontStyleEnum & FontStyle() const
Retrieves the font style - read only -.
Dtk_Leader::ApplicationZone::operator=
ApplicationZone & operator=(ApplicationZone &&in) DTK_NOEXCEPT
Move assignment operator.
Definition: util_draw_dtk.hpp:1953
Dtk_tab::clear
void clear(int no_delete=0)
Resets the Dtk_tab content.
Definition: util_stl_dtk.hpp:353
Dtk_Text::InnerYAxis
const Dtk_dir & InnerYAxis() const
Retrieves the inner bounding box YAxis - read only -.
Dtk_View::TransformationMatrix
Dtk_transfo & TransformationMatrix()
Retrieves the Dtk_View transformation matrix - get/set-.
Dtk_Frame::Dtk_Frame
Dtk_Frame(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts)
Full featured constructor.
Definition: util_draw_dtk.hpp:932
DTK_FDT_MODIFIER_REGARDLESS_OF_FEATURE_SIZE
@ DTK_FDT_MODIFIER_REGARDLESS_OF_FEATURE_SIZE
Definition: util_draw_dtk.hpp:61
Dtk_Welding::SetOtherSideContourSymbol
void SetOtherSideContourSymbol(ComplementarySymbolEnum inContourSymbol)
Set the ContourSymbol of the OtherSide.
Dtk_Frame::_FrameType
Dtk_frame_type _FrameType
Definition: util_draw_dtk.hpp:910
Dtk_Dimension::Dtk_Dimension
Dtk_Dimension(const DimensionTypeEnum &inDimensionType, Dtk_CompositeText inTexts)
Dtk_2dEntity::Dtk_2dEntity
Dtk_2dEntity(const Dtk_2dEntity &in)
Copy constructor.
Dtk_Text::GetInnerBoundingBox
Dtk_Oriented2dBBox & GetInnerBoundingBox()
Dtk_View::GetBody
Dtk_BodyPtr GetBody(const Dtk_Size_t &inPos) const
Retrieves the ith Body.
Dtk_ToleranceSpecificationContainer::TypeAngularity
@ TypeAngularity
Definition: util_draw_dtk.hpp:6081
Dtk_ReferenceFrame::Create
static Dtk_ReferenceFramePtr Create(const Dtk_ReferenceBlockPtr &inFirstReferenceBlock)
Full featured constructor with one first reference block.
Dtk_FCFFeatureIndicator::SetAnchorPoint
Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
Sets the Dtk_FCFFeatureIndicator anchor point.
Dtk_Welding::WeldingSymbolEnumToString
static Dtk_string WeldingSymbolEnumToString(const WeldingSymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3014
DTK_FRAME_TYPE_TRIANGLE
@ DTK_FRAME_TYPE_TRIANGLE
Definition: util_draw_dtk.hpp:140
dtk_rgb.hpp
Dtk_GeometricalTolerance::GetLetteringColor
const Dtk_RGB & GetLetteringColor() const
Gets the lettering color for symbol and references.
Dtk_2dEntity::operator=
Dtk_2dEntity & operator=(Dtk_2dEntity &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_AnnotationPtr &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
Create from Dtk_AnnotationPtr.
Dtk_ReferenceBlock::SetOuterBoundingBox
void SetOuterBoundingBox(const Dtk_Oriented2dBBox &inOuterBBox) const
Set the outer Bounding Box.
Dtk_Symbol::TypeCenterLine
@ TypeCenterLine
Definition: util_draw_dtk.hpp:6389
Dtk_HatchingPattern::LineWidth
const Dtk_Double64 & LineWidth() const
Retrieves the hatch line width. Applies for hatching.
Dtk_OneCell::operator=
Dtk_OneCell & operator=(const Dtk_OneCell &in)
Copy assignment operator.
Dtk_RGB
Definition: dtk_rgb.hpp:7
DTK_Text_subtype::IsTolLeftParenthesis
Dtk_bool IsTolLeftParenthesis() const
Tell if the associated Dtk_text is part of Tolerance Left Parenthesis group - into Dtk_Dimension -.
Dtk_Symbol::TypeDimension
@ TypeDimension
Definition: util_draw_dtk.hpp:6377
Dtk_GeometricalTolerance::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5594
DTK_UNIT_FOOT
@ DTK_UNIT_FOOT
Definition: util_draw_dtk.hpp:84
DTK_FRAME_TYPE_HEXAGON
@ DTK_FRAME_TYPE_HEXAGON
Definition: util_draw_dtk.hpp:174
Dtk_Welding::SymbolSteepFlankedSingleVWeld
@ SymbolSteepFlankedSingleVWeld
Definition: util_draw_dtk.hpp:2970
Dtk_HatchingPattern::_angle
Dtk_Double64 _angle
Definition: util_draw_dtk.hpp:7578
DTK_WITHOUT_HIERARCHY
@ DTK_WITHOUT_HIERARCHY
Definition: util_draw_dtk.hpp:69
DTK_Text_subtype::IsPrefix
Dtk_bool IsPrefix() const
Tell if the associated Dtk_text is part of Prefix group - into Dtk_Dimension -.
Dtk_TextStyle::TextAttributeEnum
TextAttributeEnum
Definition: util_draw_dtk.hpp:276
Dtk_OneCell::setAnchor
void setAnchor(const Dtk_Size_t &inNumberOfAnchor)
Set anchor of text.
Dtk_TextStyle::LineSpacing
Dtk_Double64 & LineSpacing()
Retrieves the line spacing - get/set -.
Dtk_Leader::TerminatorTypeFilledSquare
@ TerminatorTypeFilledSquare
Definition: util_draw_dtk.hpp:1984
Dtk_DatumTarget::GetDatumTargetType
Dtk_DatumTarget::DatumTargetTypeEnum GetDatumTargetType() const
Gets the type of the Dtk_DatumTarget.
Dtk_Welding::FinishSymbolToDtk_Text
Dtk_Char8 FinishSymbolToDtk_Text(const FinishSymbolEnum inFinishSymbol) const
Convert FinishSymbolEnum to Dtk_Char8.
Dtk_Font::operator=
Dtk_Font & operator=(const Dtk_Font &in)
Copy assignment operator.
Dtk_Text::OuterYAxis
Dtk_dir & OuterYAxis()
Retrieves the outer bounding box YAxis - get/set -.
Dtk_Leader::Dtk_Leader
Dtk_Leader(Dtk_Leader &&in) DTK_NOEXCEPT
Dtk_Leader::SetApplicationZoneType
void SetApplicationZoneType(const Dtk_Leader::ApplicationZone::ApplicationZoneEnum &inApplicationZoneType, const Dtk_tab< Dtk_CurvePtr > &inRelatedGeomElements)
Set the text frame information - get/set -.
Dtk_CompositeEntity::GetNumPictures
Dtk_Size_t GetNumPictures() const
Retrieves the number of Dtk_picturePtr in Dtk_CompositeEntity.
Dtk_GeometricalTolerance::~Dtk_GeometricalTolerance
~Dtk_GeometricalTolerance()
Destructor.
Dtk_Welding::GetWeldingSymbolArrowSide
WeldingSymbolEnum GetWeldingSymbolArrowSide() const
Retrieves the ArrowSide WeldingSymboEnum.
Dtk_2dEntity::Dtk_2dEntity
Dtk_2dEntity()
Default constructor.
Dtk_Region::GetRectangularWidth
Dtk_ErrorStatus GetRectangularWidth(Dtk_Double64 &outWidth)
Gets the width of the rectangular Dtk_Region.
Dtk_Table::nbCells_Col
Dtk_tab< Dtk_Size_t > nbCells_Col
number of cells on each column (if we consider mergers)
Definition: util_draw_dtk.hpp:4303
Dtk_Info::create
static Dtk_SmartPtr< Dtk_Info > create()
Calls default constructor to allocate a new object.
Dtk_Frame::operator=
Dtk_Frame & operator=(const Dtk_Frame &in)
Copy assignment operator.
Dtk_Table::operator[]
const Dtk_OneCell * operator[](const Dtk_Size_t &inPos) const
Dtk_Leader::TerminatorTypeDoubleOpenArrow
@ TerminatorTypeDoubleOpenArrow
Definition: util_draw_dtk.hpp:2004
Dtk_ToleranceSpecificationContainer::GetBottomTextLabel
Dtk_string GetBottomTextLabel() const
Retrieves the Dtk_ToleranceSpecificationContainer bottom-text - read only -.
Dtk_Oriented2dBBox
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:471
Dtk_Symbol::CreateFrameAsGeometries
Dtk_ErrorStatus CreateFrameAsGeometries()
Processes Dtk_Symbol frame as geometrical elements/.
Dtk_Table::nbCol
Dtk_Size_t nbCol
Number of columns.
Definition: util_draw_dtk.hpp:4299
Dtk_View::Get2dGeometricalEntity
Dtk_EntityPtr Get2dGeometricalEntity(const Dtk_Size_t &inPos) const
Retrieves the ith geometrical entity.
Dtk_Welding::SymbolANSIEdgeWeld
@ SymbolANSIEdgeWeld
Definition: util_draw_dtk.hpp:2996
Dtk_TextStyle::StyleRegular
@ StyleRegular
Definition: util_draw_dtk.hpp:257
Dtk_FCFFeatureIndicatorType::CreateGeometries
Dtk_ErrorStatus CreateGeometries(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
Process IndicatorType Related geometries.
Dtk_Camera::GetSemiWidth
Dtk_Double64 GetSemiWidth() const
Retrieves the Camera Base Semi Width - read only -.
Dtk_Grid::DtkDynamicCast
static Dtk_Grid * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_pnt &inLocation, const Dtk_anchor_type &inLocationAnchorType)
Calls full featured constructor to allocate a new object.
Dtk_CompositeEntity::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Welding::GetOtherSideAllTexts
std::unordered_map< Dtk_UInt8, Dtk_CompositeText > GetOtherSideAllTexts() const
Return all the texts of the OtherSide.
Dtk_Dimension::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Leader::GetLeaderType
LeaderTypeEnum GetLeaderType() const
Gets the leader type - read only -.
Dtk_ToleranceSpecification::DtkDynamicCast
static Dtk_ToleranceSpecification * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_DatumTarget::ProcessRadius
Dtk_Double64 ProcessRadius() const
Processes the Dtk_DatumTarget radius.
Dtk_Text::~Dtk_Text
~Dtk_Text()
Destructor.
Dtk_Camera
This is the Camera class. This class lets you define elements to create frustum. .
Definition: util_draw_dtk.hpp:7360
Dtk_Oriented2dBBox::SetYLength
void SetYLength(const Dtk_Double64 &inNewXlength)
Retrieves the Y length.
Dtk_GeometricalTolerance::GetToleranceSpecificationContainerNb
Dtk_Size_t GetToleranceSpecificationContainerNb() const
Retrieves the Dtk_ToleranceSpecificationContainer number - read only -.
Dtk_HatchingPattern::Angle
Dtk_Double64 & Angle()
Dtk_GeometricalTolerance::Create
static Dtk_GeometricalTolerancePtr Create(Dtk_GeometricalTolerance &&in)
Calls move constructor to allocate a new object.
Dtk_Welding::GetOtherSideSecondFilletLengthText
Dtk_CompositeText GetOtherSideSecondFilletLengthText() const
Retrieves the OtherSideSecondFilletLengthText Dtk_CompositeText.
Dtk_Table
Represents the tables.
Definition: util_draw_dtk.hpp:4292
Dtk_View::AddBodies
Dtk_ErrorStatus AddBodies(Dtk_tab< Dtk_BodyPtr > inBodyArray)
Adds an array of bodies displayed in the view.
Dtk_Text::Dtk_Text
Dtk_Text()
Default constructor.
Dtk_Fdt::Sub2DEntity
Dtk_2dEntityPtr & Sub2DEntity()
Retrieves the sub 2D entity - get/set -.
Dtk_ReferenceBlock::AddReference
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_Region::SetAnnularOuterDiameter
Dtk_ErrorStatus SetAnnularOuterDiameter(Dtk_Double64 inDiameter)
Sets the outer diameter of the annular Dtk_Region.
Dtk_Welding::SymbolSeamWeld
@ SymbolSeamWeld
Definition: util_draw_dtk.hpp:2980
Dtk_ToleranceSpecification::Explode
Dtk_ErrorStatus Explode(Dtk_CompositeText &outCompositeText, Dtk_tab< Dtk_CurvePtr > &outGeoms)
Explodes the Dtk_ToleranceSpecification into Dtk_CompositeText and geometrical elements - used for Dt...
DTK_TYPE_ROUGHNESS
@ DTK_TYPE_ROUGHNESS
Definition: define.h:445
Dtk_Region::~Dtk_Region
~Dtk_Region()
Destructor.
Dtk_Camera::Create
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)
Calls full featured constructor to allocate a new object.
Dtk_View::ViewType
ViewType
Definition: util_draw_dtk.hpp:6983
Dtk_Welding::ComplementarySymbolWeldWithConvexFace
@ ComplementarySymbolWeldWithConvexFace
Definition: util_draw_dtk.hpp:3061
Dtk_Drawing::AddOrigin
Dtk_ErrorStatus AddOrigin(const Dtk_pnt &origin)
Internal use only.
Dtk_ReferenceFrame::Reference
const Dtk_ReferenceBlockPtr & Reference(const Dtk_Size_t &inReferencePos) const
Retrieves the ith reference blocks - read only -.
Dtk_Oriented2dBBox::Clear
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:527
DTK_Text_subtype::IsValSplitPart2
Dtk_bool IsValSplitPart2() const
Tell if the associated Dtk_text is part of Value Split Part 2 - for Degrees/Minutes/Seconds form - gr...
Dtk_TextStyle::AttributeSuperscript
@ AttributeSuperscript
Definition: util_draw_dtk.hpp:286
Dtk_OneCell::_CopyC
void _CopyC(const Dtk_OneCell &cell)
Dtk_Welding::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:3262
Dtk_2dEntity::operator=
Dtk_2dEntity & operator=(const Dtk_2dEntity &in)
Copy assignment operator.
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_Welding &inToBeConverted, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
DTK_TYPE_TOL_SPEC
@ DTK_TYPE_TOL_SPEC
Definition: define.h:477
Dtk_Welding::Dtk_Welding
Dtk_Welding(const Dtk_Welding &s)
Dtk_Grid::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:4495
Dtk_Roughness::Translate
void Translate(const Dtk_dir &inTranslationDir)
Translates the Dtk_ReferenceBlock - internal use only -.
Dtk_dir
This is a mathematical direction class.
Definition: dtk_dir.hpp:15
Dtk_Oriented2dBBox::Extend
void Extend(const Dtk_Double64 &inXExtend, const Dtk_Double64 &inYExtend)
Extend the bounding box.
Dtk_OneCell::_ResetC
void _ResetC()
Dtk_Symbol::TypeDatumTarget
@ TypeDatumTarget
Definition: util_draw_dtk.hpp:6375
Dtk_DatumTarget::GetDatumTargetMovableStatus
Dtk_DatumTarget::DatumTargetMovableStatusEnum GetDatumTargetMovableStatus() const
Gets the Movable status of the Dtk_DatumTarget.
Dtk_Leader::GetArrowLocation
const Dtk_pnt & GetArrowLocation() const
Retrieves The ArrowHead Location point - Get Only -.
Dtk_Annotation::Dtk_Annotation
Dtk_Annotation(Dtk_Annotation &&in) DTK_NOEXCEPT
Move constructor.
Dtk_CompositeEntity::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7766
Dtk_Text::GetInnerXYAxis
void GetInnerXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const
Gets the inner bounding box orientation.
Dtk_Welding::SetWeldTailActivated
void SetWeldTailActivated(const Dtk_bool inTailActivated=DTK_FALSE)
Sets the Tail Activation Flag.
Dtk_Roughness::_ProcessSideLength
Dtk_Double64 _ProcessSideLength()
Dtk_Welding::FinishSymbolChip
@ FinishSymbolChip
Definition: util_draw_dtk.hpp:3103
Dtk_Leader::SetAllAroundSet
void SetAllAroundSet(const Dtk_bool &inAllAroundSetValue)
Set the status of the all around property for the current drawing leader.
Dtk_DatumTarget::ProcessBoundingBox
Dtk_Oriented2dBBox ProcessBoundingBox() const
Dtk_GeometricalTolerance::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Leader::TerminatorTypeFillArrow
@ TerminatorTypeFillArrow
Definition: util_draw_dtk.hpp:1974
Dtk_OneCell::min_Width
Dtk_Double64 min_Width
The original width before mergers.
Definition: util_draw_dtk.hpp:4054
Dtk_Leader::ConvertToGeom
void ConvertToGeom(Dtk_tab< Dtk_CurvePtr > &outGeomsArray, const IncludeOptions inConvertToGeomFilter=IncludeAll) const
Converts the Dtk_Leader to geometrical elements.
Dtk_frame_type
Dtk_frame_type
Definition: util_draw_dtk.hpp:127
Dtk_HatchingPattern::Color
Dtk_RGB & Color()
Dtk_ReferenceFrame::Create
static Dtk_ReferenceFramePtr Create(const Dtk_ReferenceFrame &in)
Calls copy constructor to allocate a new object.
Dtk_ViewDisplay::SetVisibleEdgesLineStyle
void SetVisibleEdgesLineStyle(Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor)
Set Line style for Visible Edges.
Dtk_FCFFeatureIndicatorType::IntersectionPlane
@ IntersectionPlane
Definition: util_draw_dtk.hpp:5775
Dtk_Symbol::SymbolType
TypeEnum & SymbolType()
Retrieves the Dtk_Symbol type - get/set -.
Dtk_HatchingPattern::Angle
const Dtk_Double64 & Angle() const
Retrieves the angle between horizontal line and hatch line (or dot). Applies for hatching and dotting...
Dtk_TextStyle::FontStyle
FontStyleEnum & FontStyle()
Retrieves the font style - get/set -.
Dtk_Table::GetNumCols
Dtk_Size_t GetNumCols() const
Gets the Dtk_Table columns number.
Dtk_Leader::TerminatorTypeCrossedCircle
@ TerminatorTypeCrossedCircle
Definition: util_draw_dtk.hpp:1988
Dtk_CompositeText::~Dtk_CompositeText
~Dtk_CompositeText()
Destructor.
Dtk_HatchingStyle
Dtk_HatchingStyle
Definition: util_draw_dtk.hpp:7562
Dtk_DatumTarget::Dtk_DatumTarget
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)
Dtk_Dimension::ShowDualValueTypeEnum
ShowDualValueTypeEnum
Definition: util_draw_dtk.hpp:4762
DTK_TYPE_WELDING
@ DTK_TYPE_WELDING
Definition: define.h:448
Dtk_Welding::GetNumWeldsTextOtherSide
Dtk_Text GetNumWeldsTextOtherSide() const
Retrieves the OtherSide NumWelds Dtk_Text.
Dtk_Symbol::SetFrameType
void SetFrameType(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set the Dtk_Symbol frame information - get/set -.
Dtk_Roughness::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:2606
Dtk_Leader::GetApplicationZoneType
Dtk_Leader::ApplicationZone::ApplicationZoneEnum GetApplicationZoneType() const
Retrieves the Frame - read only -.
Dtk_DatumTarget::DatumTargetMovableStatusEnum
DatumTargetMovableStatusEnum
Definition: util_draw_dtk.hpp:3739
DTK_FRAME_TYPE_FLAG_RIGHT_TRIANGLE
@ DTK_FRAME_TYPE_FLAG_RIGHT_TRIANGLE
Definition: util_draw_dtk.hpp:171
Dtk_Dimension::BasicTypeCircle
@ BasicTypeCircle
Definition: util_draw_dtk.hpp:4757
Dtk_GeometricalTolerance::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:5611
Dtk_Welding::ComplementarySymbolWeldWithFlatFace
@ ComplementarySymbolWeldWithFlatFace
Definition: util_draw_dtk.hpp:3059
dtk_object.hpp
Dtk_Dimension::SetAsDeprecated
SetAsDeprecated("2025.4", "Use Dtk_ErrorStatus Dtk_Leader::SetExtensionLine(const Dtk_PolylinePtr &) and Dtk_ErrorStatus AddLeader( const Dtk_LeaderPtr& leader ) instead") Dtk_ErrorStatus AddLeaderWithExtensionLine(const Dtk_LeaderPtr &inLeader
Adds a leader with an extension line to the Dtk_Dimension.
Dtk_TextStyle::CharSpacing
const Dtk_Double64 & CharSpacing() const
Retrieves the char spacing - read only -.
Dtk_Leader::SetLeaderCurveColor
void SetLeaderCurveColor(const Dtk_RGB &inColor)
Set the leader curve Color.
Dtk_Table::getNbcols
Dtk_Size_t getNbcols()
Gets the number of colums in Dtk_Table.
Dtk_Drawing::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:6764
Dtk_Frame::SetFrameData
void SetFrameData(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set Frame informations.
Definition: util_draw_dtk.hpp:960
Dtk_ToleranceSpecificationContainer::ToleranceSpecificationContainerType
const TypeEnum & ToleranceSpecificationContainerType() const
Retrieves the Dtk_ToleranceSpecificationContainer type - read only -.
Dtk_ReferenceFrame::FirstReference
Dtk_ReferenceBlockPtr & FirstReference()
Retrieves the first reference block - get/set -.
Dtk_Roughness::SetCutOff
Dtk_ErrorStatus SetCutOff(Dtk_Text inText)
Sets the CutOff text.
Dtk_View::Scale
const Dtk_Double64 & Scale() const
Retrieves the Dtk_View scale - read only -.
Dtk_Annotation::Dtk_Annotation
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.
Dtk_OneCell::SetBorderTopColor
void SetBorderTopColor(const Dtk_RGB &inBorderTopColor)
Dtk_Symbol::DtkDynamicCast
static Dtk_Symbol * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_FCFFeatureIndicatorType::Dtk_FCFFeatureIndicatorType
Dtk_FCFFeatureIndicatorType(Dtk_FCFFeatureIndicatorType &&in) DTK_NOEXCEPT
Move constructor.
Definition: util_draw_dtk.hpp:5811
DTK_Text_subtype::IsRightText
Dtk_bool IsRightText() const
Tell if the associated Dtk_text is part of right group - into Dtk_Dimension -.
Dtk_Grid::GetAnchorPoints
Dtk_ErrorStatus GetAnchorPoints(Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
Processes all the Dtk_Annotation anchor points.
Dtk_ReferenceFrame::GetNumReferences
Dtk_Size_t GetNumReferences() const
Retrieves the number of reference blocks - read only -.
Dtk_Fdt
This is the FD&T class. The base PMI Class contains a Dtk_2dEntity and Transformation Matrix to loca...
Definition: util_draw_dtk.hpp:7217
Dtk_GeometricalTolerance::GetOuterBoundingBox
Dtk_ErrorStatus GetOuterBoundingBox(const Dtk_bool &inProcessAddtionnalTexts, Dtk_Oriented2dBBox &outOuterBBox) const
Dtk_HatchingPattern::Offset
Dtk_Double64 & Offset()
Dtk_Roughness::GetTopLeftText
Dtk_Text GetTopLeftText() const
Gets the top-left text - read only -.
Dtk_Text::Dtk_Text
Dtk_Text(Dtk_Text &&s) DTK_NOEXCEPT
Move constructor.
Dtk_Symbol::Create
static Dtk_SymbolPtr Create(const Dtk_DimensionPtr &inToBeConverted, const Dtk_bool &inKeepLeaderAsLeader=DTK_FALSE)
Create from Dtk_DimensionPtr.
Dtk_Oriented2dBBox::GetTopLeftPoint
Dtk_pnt GetTopLeftPoint() const
Retrieves the top left point - Read Only -.
Definition: util_draw_dtk.hpp:566
Dtk_View::Create
static Dtk_ViewPtr Create(const Dtk_View &in)
Calls copy constructor to allocate a new object.
Dtk_Frame::_Copy
void _Copy(const Dtk_Frame &s)
Definition: util_draw_dtk.hpp:916
Dtk_View::GetClippingBoundary
const Dtk_CompositeEntityPtr & GetClippingBoundary() const
Dtk_Grid::DrawLabelsInOriginUnit
void DrawLabelsInOriginUnit(const Dtk_bool &inVal)
Draws Labels in millimeters or in origin unit.
Dtk_Fdt::SetIsZoomableAttribute
void SetIsZoomableAttribute(const bool &inBool)
Sets the Zoomable attribute of the Dtk_Fdt.
Dtk_Leader::LeaderTypeEnum
LeaderTypeEnum
Internal leader type - linear or angular -.
Definition: util_draw_dtk.hpp:2194
DTK_NOEXCEPT
#define DTK_NOEXCEPT
Definition: config.hpp:30
Dtk_Text::SetOuterBoundingBox
Dtk_ErrorStatus SetOuterBoundingBox(const Dtk_Oriented2dBBox &outerBoundingBox)
Sets the outer bounding box.
Dtk_Welding::SetOtherSideTexts
void SetOtherSideTexts(std::unordered_map< Dtk_UInt8, Dtk_CompositeText > &inTexts)
Set the Dtk_Welding OtherSide Texts and their types.
Dtk_alignment_type
Dtk_alignment_type
Definition: util_draw_dtk.hpp:106
DTK_TYPE_SPECIFICATION_INDICATOR
@ DTK_TYPE_SPECIFICATION_INDICATOR
Definition: define.h:489
Dtk_Oriented2dBBox::SetMiddleLeftPoint
void SetMiddleLeftPoint(const Dtk_pnt &inNewPoint)
Sets the middle left point.
Dtk_ToleranceSpecificationContainer::TypePosition
@ TypePosition
Definition: util_draw_dtk.hpp:6087
DTK_Text_subtype::Dump
Dtk_string Dump() const
Return all subtypes as a Dtk_string.
DTK_PI
#define DTK_PI
Definition: str_def.h:8
Dtk_ViewDisplay::DisplayMode3DEnum
DisplayMode3DEnum
Definition: util_draw_dtk.hpp:6866
Dtk_Oriented2dBBox::GetPoint
Dtk_pnt GetPoint(const enum Dtk_anchor_type &inAnchorType) const
Retrieves the point with inAnchorType type.
Dtk_FCFFeatureIndicatorType::DirectionFeature
@ DirectionFeature
Definition: util_draw_dtk.hpp:5771
Dtk_Welding::GetTailText
Dtk_CompositeText GetTailText() const
Retrieves the Tail Dtk_CompositeText.
Dtk_Roughness::SetLocation
Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation)
Sets the location point of the Dtk_Annotation.
DTK_FRAME_TYPE_SCORED_RECTANGLE
@ DTK_FRAME_TYPE_SCORED_RECTANGLE
Definition: util_draw_dtk.hpp:167
Dtk_DatumTarget::DatumTargetMovableStatusEnumToString
static Dtk_string DatumTargetMovableStatusEnumToString(const DatumTargetMovableStatusEnum &inEnum)
Definition: util_draw_dtk.hpp:3743
Dtk_ViewDisplay::Dtk_ViewDisplay
Dtk_ViewDisplay(DisplayMode3DEnum inDisplayMode)
Dtk_Table::Dtk_Table
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)
Dtk_FCFFeatureIndicatorType::GetOuterBoundingBox
const Dtk_Oriented2dBBox & GetOuterBoundingBox() const
Retrieves the IndicatorType Outer Bounding Box - basically the related geometries BBox - - Read Only ...
Definition: util_draw_dtk.hpp:5854
Dtk_Entity
Definition: util_ent_dtk.hpp:349
Dtk_ToleranceSpecificationContainer::TypeLineProfile
@ TypeLineProfile
Definition: util_draw_dtk.hpp:6077
Dtk_Welding::SetArrowSideWeldingSymbol
void SetArrowSideWeldingSymbol(WeldingSymbolEnum inWeldingSymbol)
Set the WeldingSymbol of the ArrowSide.
Dtk_Welding::SymbolISOEdgeWeld
@ SymbolISOEdgeWeld
Definition: util_draw_dtk.hpp:2998
Dtk_Welding::AddOtherSideAssociatedGeometry
void AddOtherSideAssociatedGeometry(Dtk_EntityPtr inAssociatedGeometry)
Add an AssociatedGeometry of the OtherSide.
Dtk_Leader::TerminatorTypeOpenArrow
@ TerminatorTypeOpenArrow
Definition: util_draw_dtk.hpp:1970
Dtk_Font::FontPostscript
@ FontPostscript
Definition: util_draw_dtk.hpp:189