DATAKIT SDK  V2026.1
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 "util/dtk/span.hpp"
21 #include <cmath>
22 #include "def/define.h"
23 #include "dtk/config.hpp"
24 #include <iosfwd>
25 #include <type_traits>
26 #include <unordered_map>
27 
28 // #ifdef _DEBUG -----> Never use this condition , DEBUG_DTK only for internal use
29 // # ifndef _DEBUG_DTK
30 // # define _DEBUG_DTK
31 // # endif
32 // #endif
33 
35 //Forward declarations
36 struct polyline_def;
37 typedef struct polyline_def Polyline_detk;
38 
39 
40 
41 class Dtk_Connector;
42 class Dtk_ConnectorPart;
43 
44 typedef Dtk_SmartPtr<Dtk_Connector> Dtk_ConnectorPtr;
45 typedef Dtk_SmartPtr<Dtk_ConnectorPart> Dtk_ConnectorPartPtr;
46 
47 typedef Dtk_tab<Dtk_ConnectorPtr> Dtk_ConnectorTab;
48 typedef Dtk_tab<Dtk_ConnectorPartPtr> Dtk_ConnectorPartTab;
50 
60 };
68 };
70 
71 
72 
73 enum Dtk_Unit {
75  // Length
82  // Angle
86  // Degree, Minute, Second
88 };
89 
101 };
102 
113 };
114 
122 };
123 
174 };
175 
180 class Dtk_Font
181 {
182 public:
188  };
189 protected:
196 public:
199 
202 
204  Dtk_Font(const Dtk_Font& in);
207 
212 
216  const Dtk_string& Name() const;
217 
222 
226  const FontTypeEnum& FontType() const;
227 
232 
236  const Dtk_Size_t& ID() const;
237 
243 };
244 
250 {
251 public:
261  };
262  static inline Dtk_string FontStyleEnumToString( const FontStyleEnum& inEnum )
263  {
264  switch( inEnum )
265  {
266  default:
267  case StyleRegular: return L"StyleRegular";
268  case StyleBold: return L"StyleBold";
269  case StyleItalic: return L"StyleItalic";
270  case StyleBoldItalic: return L"StyleBoldItalic";
271  }
272  }
285  AttributeSubscript = 16
286  };
295  };
297  {
298  switch( inEnum )
299  {
300  default:
301  case JustificationLeft: return L"JustificationLeft";
302  case JustificationCenter: return L"JustificationCenter";
303  case JustificationRight: return L"JustificationRight";
304  case JustificationNone: return L"JustificationNone";
305  }
306  }
307 protected:
308 
331 public:
334 
337 
342 
347 
352 
356  const Dtk_Font& Font() const;
357 
362 
366  const FontStyleEnum& FontStyle() const;
367 
372 
377 
382 
387 
392 
396  const Dtk_Double64& CharHeight() const;
397 
402 
406  const Dtk_Double64& CharSpacing() const;
407 
412 
416  const Dtk_Double64& CharWidth() const;
417 
422 
426  const Dtk_Double64& LineSpacing() const;
427 
432 
436  const Dtk_Double64& Slant() const;
437 
442 
446  const Dtk_Double64& Ratio() const;
447 
452 
456  const Dtk_Double64& Pitch() const;
457 
458 };
459 
468 {
469 protected:
475 
476  inline void _Init()
477  {
478  Dtk_Size_t i = 0;
479 
480  for (i = 0; i < 3; i++)
481  {
482  _BottomLeftPnt[i] = 0.0;
483  _XLocalVector[i] = 0.0;
484  _YLocalVector[i] = 0.0;
485  }
486  _XLocalVector[0] = 1.0;
487  _YLocalVector[1] = 1.0;
488  _XLength = 0.0;
489  _YLength = 0.0;
490  }
491 
492  inline void _Copy(const Dtk_Oriented2dBBox &s)
493  {
497  _XLength = s._XLength;
498  _YLength = s._YLength;
499  }
500 
501  inline void _Reset() {}
502 public:
505 
512  Dtk_Oriented2dBBox(const Dtk_pnt &inBottomLeft,
513  const Dtk_Double64 &inXLength,
514  const Dtk_Double64 inYLength,
515  const Dtk_dir &inRefAxis = Dtk_dir(1,0,0),
516  const Dtk_dir &inNormalAxis = Dtk_dir(0,0,1));
517 
520 
523 
525  inline void Clear()
526  {
527  _Reset();
528  _Init();
529  }
530 
533 
538  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
539 
542  inline Dtk_pnt BottomLeftPoint() const
543  {
544  return _BottomLeftPnt;
545  }
546 
551  {
552  return BottomLeftPoint();
553  }
554 
558  {
560  }
561 
564  inline Dtk_pnt GetTopLeftPoint() const
565  {
567  }
568 
572  {
574  }
575 
579  {
581  + 0.5*_XLength*_XLocalVector;
582  }
583 
586  inline Dtk_pnt GetTopCenterPoint() const
587  {
589  + 0.5*_XLength*_XLocalVector;
590  }
591 
595  {
597  }
598 
602  {
605  }
606 
609  inline Dtk_pnt GetTopRightPoint() const
610  {
612  }
613 
616  inline Dtk_Double64 GetXLength() const
617  {
618  return _XLength;
619  }
620 
623  inline Dtk_Double64 GetYLength() const
624  {
625  return _YLength;
626  }
627 
630  inline Dtk_dir XLocalVector() const
631  {
632  return _XLocalVector;
633  }
634 
637  inline Dtk_dir YLocalVector() const
638  {
639  return _YLocalVector;
640  }
641 
644  inline void SetXLocalVector(const Dtk_dir& inNewXVector)
645  {
646  _XLocalVector = inNewXVector;
648  }
649 
652  inline void SetYLocalVector(const Dtk_dir& inNewYVector)
653  {
654  _YLocalVector = inNewYVector;
656  }
657 
661  inline void SetLocalVectors(const Dtk_dir& inNewXVector,
662  const Dtk_dir& inNewYVector)
663  {
664  _XLocalVector = inNewXVector;
665  _YLocalVector = inNewYVector;
669  _YLocalVector = TmpZ / _XLocalVector;
670  }
671 
675  Dtk_bool IsInside(const Dtk_pnt &inPoint) const;
676 
680  void Merge(const Dtk_pnt &inPoint);
681 
685  void Merge(const Dtk_Oriented2dBBox &inOriented2dBBox);
686 
690  void Translate(const Dtk_dir &inTranslation);
691 
695  void Rotate(const Dtk_Double64 &inAngleInRadian);
696 
701 
705  void Reverse();
706 
711  void Extend(const Dtk_Double64 &inXExtend, const Dtk_Double64 &inYExtend);
712 
719  void Extend(const Dtk_Double64 &inTopExtend,
720  const Dtk_Double64 &inBottomExtend,
721  const Dtk_Double64 &inLeftExtend,
722  const Dtk_Double64 &inRightExtend);
723 
727  {
728  return _BottomLeftPnt;
729  }
730 
734  {
735  return _XLocalVector;
736  }
737 
741  {
742  return _YLocalVector;
743  }
744 
748  void SetXLength(const Dtk_Double64 &inNewXlength);
749 
753  void SetYLength(const Dtk_Double64 &inNewXlength);
754 
757  void SetBottomLeftPoint(const Dtk_pnt &inNewPoint);
758 
761  void SetMiddleLeftPoint(const Dtk_pnt &inNewPoint);
762 
765  void SetTopLeftPoint(const Dtk_pnt &inNewPoint);
766 
769  void SetBottomCenterPoint(const Dtk_pnt &inNewPoint);
770 
773  void SetMiddleCenterPoint(const Dtk_pnt &inNewPoint);
774 
777  void SetTopCenterPoint(const Dtk_pnt &inNewPoint);
778 
781  void SetBottomRightPoint(const Dtk_pnt &inNewPoint);
782 
785  void SetMiddleRightPoint(const Dtk_pnt &inNewPoint);
786 
789  void SetTopRightPoint(const Dtk_pnt &inNewPoint);
790 
794  Dtk_pnt GetPoint(const enum Dtk_anchor_type& inAnchorType) const;
795 
799  void SetPoint(const Dtk_pnt &inNewPoint,
800  const enum Dtk_anchor_type& inAnchorType);
801 
809  Dtk_Double64& outTopOffSet, Dtk_Double64& outBottomOffSet,
810  Dtk_Double64& outRightOffSet, Dtk_Double64& outLeftOffSet) const;
811 
826  const Dtk_LinePtr inLine,
827  Dtk_pnt& outIntersectionPnt1,
828  Dtk_pnt& outIntersectionPnt2,
829  Dtk_Double64& outIntersectionParam1,
830  Dtk_Double64& outIntersectionParam2,
831  const Dtk_bool& inTestComplanarity = DTK_FALSE ) const;
832 
846  const Dtk_pnt& inPntA,
847  const Dtk_pnt& inPntB,
848  Dtk_pnt& outIntersectionPnt1,
849  Dtk_pnt& outIntersectionPnt2,
850  const Dtk_bool& inTestComplanarity = DTK_FALSE ) const;
851 
865  const Dtk_pnt& inPntA,
866  const Dtk_pnt& inPntB,
867  Dtk_pnt& outIntersectionPnt1,
868  Dtk_pnt& outIntersectionPnt2,
869  const Dtk_bool& inTestComplanarity = DTK_FALSE ) const;
870 
883  const Dtk_pnt& inPntA,
884  const Dtk_pnt& inPntB,
885  Dtk_tab<Dtk_pnt>& outIntersectionPnts,
886  const Dtk_bool& inTestComplanarity = DTK_FALSE) const;
887 
894 
896  const Dtk_pnt& inCenter,
897  const Dtk_Double64& inRadius,
898  Dtk_tab<Dtk_pnt>& outIntersectionPnts) const;
899 };
900 
906 {
907 protected:
910  inline void _Init()
911  {
913  }
914  inline void _Copy(const Dtk_Frame &s)
915  {
917  for( Dtk_Size_t i = 0 ; i < s._RelatedGeomElements.size() ; i++)
918  {
919  Dtk_CurvePtr c;
920  s._RelatedGeomElements[i].Clone(c);
921  _RelatedGeomElements.push_back(c);
922  }
923  }
924  inline void _Reset(){}
925 public:
926 
930  Dtk_Frame( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts )
931  : _FrameType( inFrameType ), _RelatedGeomElements( std::move( inRelatedGeometricalElts ) ) { }
932 
936  Dtk_Frame( Dtk_Frame &&in ) DTK_NOEXCEPT : _FrameType( in._FrameType ), _RelatedGeomElements( std::move( in._RelatedGeomElements ) ) { }
937 
939  inline Dtk_Frame()
940  {
941  _Init();
942  }
943 
945  inline ~Dtk_Frame(){ _Reset();}
946 
948  inline void Clear()
949  {
951  _RelatedGeomElements.clear();
952  }
953 
954 
958  inline void SetFrameData(
959  const Dtk_frame_type& inFrameType,
960  Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements )
961  {
962  this->_FrameType = inFrameType;
963  this->_RelatedGeomElements = std::move( inRelatedGeomElements );
964  }
967  inline const Dtk_frame_type& GetFrameType() const {return _FrameType;}
968 
972 
976  Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir);
977 
982 
987 };
988 class Dtk_CompositeText;
989 
996 {
997 private:
998  int p;
999 public:
1000  DTK_Text_subtype(int in=0);
1002  void Append(int in);
1006  Dtk_bool IsDual() const;
1039  Dtk_bool IsPow() const;
1084  Dtk_bool IsUrl() const;
1093  Dtk_string Dump() const;
1094 };
1095 
1096 
1097 
1098 
1110 {
1111 public:
1116  };
1117 
1118 protected:
1119  struct Dtk_Handle; // Not defined here
1120  Dtk_Handle *_Private; // Handle
1121 
1122 private:
1123  void _Init();
1124  void _Copy(const Dtk_Text& s);
1125  void _Reset();
1126 
1127 public:
1130 
1133 
1135  Dtk_Text(const Dtk_Text &s);
1136 
1139 
1152  Dtk_Text(Dtk_string inTextString,
1153  const Dtk_Oriented2dBBox &inInnerBox,
1154  const Dtk_Oriented2dBBox &inOuterBox,
1155  const Dtk_anchor_type &inAnchorType,
1156  const DTK_Text_type &inTextType,
1157  const Dtk_Int32 &inHorizontalVerticalType,
1158  const Dtk_InfoPtr &inInfos,
1159  const Dtk_TextStyle &inTextStyle,
1160  const Dtk_Double64 &inSlant,
1161  const Dtk_Int32 &inFontIndex,
1162  const Dtk_Int32 &inMirroringType);
1163 
1173  Dtk_Text( Dtk_string inTextString,
1174  const Dtk_Oriented2dBBox &inInnerBox,
1175  const Dtk_Oriented2dBBox &inOuterBox,
1176  const Dtk_Double64 &inSlant,
1177  const Dtk_bool &inHorizontalVerticalType,
1178  const DTK_Text_type &inTextType, const Dtk_InfoPtr &inInfos,
1179  const Dtk_TextStyle &inTextStyle);
1180 
1185 
1186 
1192 
1196  void SetFrameType( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements);
1197 
1201  void GetFrame(Dtk_Frame& outFrame) const;
1202 
1207 
1212 
1216  const DTK_Text_type& TextType() const;
1217 
1222 
1227 
1228 
1232  const Dtk_dir& InnerXAxis() const;
1233 
1237  const Dtk_dir& OuterXAxis() const;
1238 
1243 
1248 
1252  const Dtk_dir& InnerYAxis() const;
1253 
1257  const Dtk_dir& OuterYAxis() const;
1258 
1263 
1268 
1272  const Dtk_pnt& InnerLocation() const;
1273 
1277  const Dtk_pnt& OuterLocation() const;
1278 
1283 
1288 
1293 
1297  const Dtk_string& Text() const;
1298 
1303 
1307  const Dtk_TextStyle& TextStyle() const;
1308 
1313 
1318  const Dtk_bool &inVerticallyOrientedStatus);
1319 
1324 
1328  const Dtk_anchor_type& AnchorType() const;
1329 
1332  const Dtk_InfoPtr& GetInfo() const;
1333 
1337 
1345  const Dtk_dir &inXAxis = Dtk_dir(1,0,0),
1346  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1347 
1355  const Dtk_dir &inXAxis = Dtk_dir(1,0,0),
1356  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1357 
1364  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1365 
1372  const Dtk_dir &inYAxis = Dtk_dir(0,1,0));
1373 
1377  Dtk_ErrorStatus InnerTranslate(const Dtk_dir &inTranslateDir);
1378 
1382  Dtk_ErrorStatus OuterTranslate(const Dtk_dir &inTranslateDir);
1383 
1387  Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir);
1388 
1393 
1399 
1404  void SetInnerXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
1405 
1410  void SetOuterXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
1411 
1416  void GetInnerXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const;
1417 
1422  void GetOuterXYAxis(Dtk_dir &outXAxis, Dtk_dir &outYAxis) const;
1423 
1427  void SetInnerXLength(const Dtk_Double64 &inXLength);
1428 
1432  void SetInnerYLength(const Dtk_Double64 &inYLength);
1433 
1437  void SetOuterXLength(const Dtk_Double64 &inXLength);
1438 
1442  void SetOuterYLength(const Dtk_Double64 &inYLength);
1443 
1448  const Dtk_dir &inZAxis = Dtk_dir(0,0,1)) const;
1449 
1454  const Dtk_dir &inZAxis = Dtk_dir(0,0,1)) const;
1455 
1459 
1463 
1468 
1473 
1476 
1479 
1485  //SetAsDeprecated("Undefined", "Use SetInnerBoundingBox")
1487  const Dtk_anchor_type& inLocationAnchorType);
1489  const Dtk_anchor_type location_anchor_type);
1490 
1496  const Dtk_anchor_type& inLocationAnchorType);
1498  const Dtk_anchor_type location_anchor_type);
1499 
1504  Dtk_tab<Dtk_CurvePtr> &outGeoms) const;
1505 
1510  Dtk_Text *ExplodeText(Dtk_Int32 **outNumFontArray,
1511  Dtk_Int32 &outNumTexts) const;
1512 
1513  friend Dtk_CompositeText operator+(const Dtk_Text &s1, const Dtk_Text &s2);
1514 };
1515 
1525 {
1526  struct Dtk_Handle; // Not defined here
1527  Dtk_Handle *_Private; // Handle
1528 
1529 private:
1530  void _Init();
1531  void _Copy(const Dtk_CompositeText& s);
1532  void _Reset();
1533 
1534 public:
1537 
1540 
1543 
1546 
1549  Dtk_CompositeText(const Dtk_Size_t& inNumTexts);
1550 
1554 
1558 
1561 
1564 
1565  void Clear();
1566 
1571 
1575  const Dtk_Text& operator[](Dtk_Size_t inPos) const;
1576 
1580 
1587 
1591 
1596  SetAsDeprecated("Undefined", "Use GetOuterBoundingBox")
1597  Dtk_ErrorStatus GetOuterAnchorPoints(
1598  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
1599 
1603 
1607  const Dtk_Oriented2dBBox GetOuterBoundingBox( Dtk_bool inIncludeInvisible = DTK_TRUE ) const;
1608 
1613  const;
1614 
1620  Dtk_bool inIncludeInvisible = DTK_TRUE )
1621  const;
1622 
1626 
1629  void SetWrappingWidth(const Dtk_Double64 &inWrappingWidth);
1630 
1640  const Dtk_anchor_type &inNewAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
1641  const Dtk_Int32 &inStartingGetText = -1,
1642  const Dtk_Int32 &inNumGetTexts = -1,
1643  const Dtk_Int32 &inStartingSetText = -1,
1644  const Dtk_Int32 &inNumSetTexts = -1);
1645 
1657  const Dtk_anchor_type &inNewAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
1658  const Dtk_Int32 &inStartingGetText = -1,
1659  const Dtk_Int32 &inNumGetTexts = -1,
1660  const Dtk_Int32 &inStartingSetText = -1,
1661  const Dtk_Int32 &inNumSetTexts = -1);
1662 
1664  Dtk_tab<Dtk_CurvePtr> &outGeoms) const;
1665 
1670 
1675 
1680 
1685 
1691  const Dtk_dir &inYaxis);
1692 
1698  const Dtk_dir &inYaxis);
1699 
1702  const Dtk_InfoPtr& GetInfo() const;
1703 
1707 
1712 
1715  void AddText( Dtk_Text inText);
1716 
1719  void ReplaceTexts(const Dtk_tab<Dtk_Text> &inTexts);
1720 
1724 
1728 
1732  Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir);
1733 };
1734 
1740 class Dtk_2dEntity : public Dtk_Entity
1741 {
1742 protected:
1743  struct Dtk_Handle; // Not defined here
1744  Dtk_Handle *_Private; // Handle
1745  enum {
1746  _typeID = DTK_TYPE_2D_ENTITY
1747  };
1749  virtual ~Dtk_2dEntity();
1750 
1753 
1758  virtual Dtk_Object* Clone() = 0;
1759 
1760 protected:
1761  void _Init();
1762  void _Reset();
1763  void _Copy(const Dtk_2dEntity &s);
1764  friend class Dtk_SmartPtr<Dtk_2dEntity>;
1765 public:
1766 
1769 
1772 
1773  virtual type_detk get_type_detk() const = 0;
1774 
1779 
1782 
1785  void AddAdditionnalGeometry( const Dtk_EntityPtr& inAdditionnalGeometry);
1786 
1789  void AddAdditionnalGeometries(const Dtk_tab<Dtk_EntityPtr>& inAdditionnalGeometries);
1790 
1793  void AddAdditionnalTexts( Dtk_CompositeText inAddtionnalTexts);
1794 
1798 
1802 };
1803 
1817 {
1818 public:
1819 
1824  {
1825  public:
1827  {
1828  Default = 0,
1829  AllAround = 1,
1830  AllOver = 2,
1831  };
1833  {
1834  switch( inEnum )
1835  {
1836  default:
1837  case Default: return L"Default";
1838  case AllAround: return L"AllAround";
1839  case AllOver: return L"AllOver";
1840  }
1841  }
1842  protected:
1845  inline void _Init()
1846  {
1847  _ApplicationZoneType = Default;
1848  }
1849  inline void _Copy(const ApplicationZone &s)
1850  {
1851  _ApplicationZoneType = s._ApplicationZoneType;
1852  Dtk_Size_t i, NumElts = s._RelatedGeomElements.size();
1853  for( i = 0 ; i < NumElts ; i++)
1854  {
1855  Dtk_CurvePtr c;
1856  s._RelatedGeomElements[i].Clone(c);
1857  _RelatedGeomElements.push_back(c);
1858  }
1859  }
1860  inline void _Reset(){ _RelatedGeomElements.clear();}
1861  public:
1862 
1866  ApplicationZone(const ApplicationZoneEnum& inApplicationZoneType,
1867  const Dtk_tab< Dtk_CurvePtr >& inRelatedGeometricalElts);
1868 
1871  {
1872  _Init();
1873  }
1874 
1876  inline ~ApplicationZone(){ _Reset();}
1877 
1879  inline void Clear()
1880  {
1881  _ApplicationZoneType = Default;
1882  _RelatedGeomElements.clear();
1883  }
1884 
1888  inline void SetApplicationData(
1889  const ApplicationZoneEnum& inApplicationZoneType,
1890  Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements )
1891  {
1892  this->_ApplicationZoneType = inApplicationZoneType;
1893  this->_RelatedGeomElements = std::move( inRelatedGeomElements );
1894  }
1897  inline ApplicationZoneEnum GetApplicationZoneType() const {return _ApplicationZoneType;}
1898 
1900  inline void GetGeometries(Dtk_tab< Dtk_CurvePtr >& outGeoms) const
1901  {
1902  Dtk_Size_t i,nb = this->_RelatedGeomElements.size();
1903  outGeoms.resize(nb);
1904  for(i=0;i<nb;i++)
1905  this->_RelatedGeomElements[i].Clone(outGeoms[i]);
1906  }
1907 
1911  inline Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
1912  {
1913  Dtk_transfo TmpMatrix;
1914  TmpMatrix.addTranslate( inTranslateDir );
1915  return Transform( TmpMatrix );
1916  }
1921  {
1922  if( inTransfo == Dtk_transfo() )
1923  return dtkNoError;
1924  Dtk_Size_t i, NumGeoms = _RelatedGeomElements.size();
1925  for (i = 0; i < NumGeoms; i++)
1926  { _RelatedGeomElements[i]->Transform( inTransfo ); }
1927  return dtkNoError;
1928  }
1929 
1932  {
1933  if (&in == this)
1934  {
1935  return *this;
1936  }
1937  _Reset();
1938  _Copy(in);
1939  return *this;
1940  }
1943  {
1944  if( &in == this )
1945  {
1946  return *this;
1947  }
1948  _ApplicationZoneType = in._ApplicationZoneType;
1949  _RelatedGeomElements = std::move( in._RelatedGeomElements );
1950  return *this;
1951  }
1952  };
1953 
1957  TerminatorTypeNone = 0,
2010 
2011  };
2013  {
2014  switch( inEnum )
2015  {
2016  case TerminatorTypeNone: return L"TerminatorTypeNone";
2017  case TerminatorTypeOpenArrow: return L"TerminatorTypeOpenArrow";
2018  case TerminatorTypeClosedArrow: return L"TerminatorTypeClosedArrow";
2019  case TerminatorTypeFillArrow: return L"TerminatorTypeFillArrow";
2020  case TerminatorTypeCrossArrow: return L"TerminatorTypeCrossArrow";
2021  case TerminatorTypeCircle: return L"TerminatorTypeCircle";
2022  case TerminatorTypeFilledCircle: return L"TerminatorTypeFilledCircle";
2023  case TerminatorTypeSquare: return L"TerminatorTypeSquare";
2024  case TerminatorTypeFilledSquare: return L"TerminatorTypeFilledSquare";
2025  case TerminatorTypeSlash: return L"TerminatorTypeSlash";
2026  case TerminatorTypeCrossedCircle: return L"TerminatorTypeCrossedCircle";
2027  case TerminatorTypeXCircle: return L"TerminatorTypeXCircle";
2028  case TerminatorTypeTriangle: return L"TerminatorTypeTriangle";
2029  case TerminatorTypeFilledTriangle: return L"TerminatorTypeFilledTriangle";
2030  case TerminatorTypePlus: return L"TerminatorTypePlus";
2031  case TerminatorTypeXCross: return L"TerminatorTypeXCross";
2032  case TerminatorTypeIntegral: return L"TerminatorTypeIntegral";
2033  case TerminatorTypeCircleCenter: return L"TerminatorTypeCircleCenter";
2034  case TerminatorTypeDoubleOpenArrow: return L"TerminatorTypeDoubleOpenArrow";
2035  case TerminatorTypeDoubleCloseArrow: return L"TerminatorTypeDoubleCloseArrow";
2036  case TerminatorTypeDoubleFillArrow: return L"TerminatorTypeDoubleFillArrow";
2037  case TerminatorTypeDoubleTriangle: return L"TerminatorTypeDoubleTriangle";
2038  case TerminatorTypeTopOpenArrow: return L"TerminatorTypeTopOpenArrow";
2039  case TerminatorTypeBottomOpenArrow: return L"TerminatorTypeBottomOpenArrow";
2040  case TerminatorTypeTopFillArrow: return L"TerminatorTypeTopFillArrow";
2041  case TerminatorTypeBottomFillArrow: return L"TerminatorTypeBottomFillArrow";
2042  case TerminatorTypeDoubleCrossArrow: return L"TerminatorTypeDoubleCrossArrow";
2043 
2044  default: return L"Unknown";
2045  }
2046  }
2048  {
2049  IncludeAll = -1,
2050  IncludeNone = 0,
2051  IncludeLeaderCurve = 1,
2052  IncludeLeaderArrowHead = 2,
2053  IncludeLeaderExtensionLine = 4,
2054  IncludeLeaderApplicationZone = 8,
2055  };
2056 
2059  {
2060  protected:
2066 
2067  inline void _Init()
2068  {
2069  m_Infos = Dtk_Info::create();
2070  m_HeadType = TerminatorTypeOpenArrow;
2071  //m_RefDir;// = Dtk_dir( 1.0, 0.0, 0.0 );
2072  //m_AxisDir;// = Dtk_dir( 0.0, 1.0, 0.0 );
2073  }
2074  inline void _Copy( const ArrowHead &s )
2075  {
2076  s.m_Infos.Clone( m_Infos );
2077  m_HeadType = s.m_HeadType;
2078  m_ArrowLocation = s.m_ArrowLocation;
2079  m_RefDir = s.m_RefDir;
2080  m_AxisDir = s.m_AxisDir;
2081  }
2082  inline void _Reset()
2083  {
2084  m_Infos = NULL;
2085  m_HeadType = TerminatorTypeOpenArrow;
2086  //m_RefDir;// = Dtk_dir( 1.0, 0.0, 0.0 );
2087  //m_AxisDir;// = Dtk_dir( 0.0, 1.0, 0.0 );
2088  }
2089  protected:
2090  public:
2091  inline ArrowHead(
2092  const Dtk_Double64 inWidth,
2093  const Dtk_Double64 inHeight,
2094  const Dtk_pnt& inArrowLocation,
2095  const LeaderTerminatorTypeEnum inTerminatorType,
2096  const Dtk_InfoPtr& inInfos,
2097  const Dtk_dir& inRefDir,
2098  const Dtk_dir& inAxisDir )
2099  {
2100  SetData( inWidth, inHeight, inArrowLocation, inTerminatorType, inInfos, inRefDir, inAxisDir );
2101  }
2103  inline ArrowHead() { _Init(); }
2105  inline ~ArrowHead() { _Reset(); }
2106 
2107  inline void SetData( const Dtk_Double64 inWidth,
2108  const Dtk_Double64 inHeight,
2109  const Dtk_pnt& inArrowLocation,
2110  const LeaderTerminatorTypeEnum inTerminatorType,
2111  const Dtk_InfoPtr& inInfos,
2112  const Dtk_dir& inRefDir,
2113  const Dtk_dir& inAxisDir )
2114  {
2115  m_HeadType = inTerminatorType;
2116  m_ArrowLocation = inArrowLocation;
2117  m_RefDir = inRefDir;
2118  m_AxisDir = inAxisDir;
2119  SetWidthHeight( inWidth, inHeight );
2120  m_Infos = inInfos;
2121  }
2122  inline const Dtk_InfoPtr& GetInfo() const { return m_Infos; }
2123  inline Dtk_InfoPtr& GetInfo() { return m_Infos; }
2124  inline const Dtk_pnt& GetArrowLocation() const { return m_ArrowLocation; }
2125  inline const LeaderTerminatorTypeEnum GetType() const { return m_HeadType; }
2126  inline void SetType( const LeaderTerminatorTypeEnum inTerminatorType ) { m_HeadType = inTerminatorType; }
2127 
2128  inline void GetDirections( Dtk_dir& outRefDir, Dtk_dir& outAxisDir ) const
2129  {
2130  outRefDir = m_RefDir; outRefDir.Normalize();
2131  outAxisDir = m_AxisDir; outAxisDir.Normalize();
2132  }
2133  inline void GetWidthHeight( Dtk_Double64& outWidth, Dtk_Double64& outHeight ) const
2134  {
2135  outWidth = m_RefDir.norm();
2136  outHeight = 2. * m_AxisDir.norm();
2137  }
2138  inline void SetWidthHeight( const Dtk_Double64 inWidth, const Dtk_Double64 inHeight )
2139  {
2140  m_RefDir.Normalize();
2141  m_AxisDir.Normalize();
2142  m_RefDir *= inWidth;
2143  m_AxisDir *= 0.5 * inHeight;
2144  }
2149  inline Dtk_ErrorStatus Translate( const Dtk_dir &inTranslateDir )
2150  {
2151  Dtk_transfo TmpMatrix;
2152  TmpMatrix.addTranslate( inTranslateDir );
2153  return Transform( TmpMatrix );
2154  }
2159  {
2160  m_RefDir = inTransfo * m_RefDir;
2161  m_AxisDir = inTransfo * m_AxisDir;
2162  m_ArrowLocation = inTransfo * m_ArrowLocation;
2163  return dtkNoError;
2164  }
2165 
2168  {
2169  if( &in == this )
2170  {
2171  return *this;
2172  }
2173  _Reset();
2174  _Copy( in );
2175  return *this;
2176  }
2177 
2178 
2179  };
2180 public:
2183  {
2184  TypeUnknown = 0,
2186  TypeAngular
2187  };
2188 
2189 protected:
2190  struct Dtk_Handle; // Not defined here
2191  Dtk_Handle *_Private; // Handle
2192  enum {
2193  _typeID = DTK_TYPE_LEADER
2194  };
2197 
2199  Dtk_Leader(const Dtk_Leader& in );
2202 
2204  const Dtk_Double64 &inWidth,
2205  const Dtk_Double64 &inHeight,
2206  const Dtk_pnt &inArrowLocation,
2207  const Dtk_Double64 &inRadius,
2208  const LeaderTerminatorTypeEnum &inTerminatorType,
2209  const Dtk_pnt &inEndingPnt,
2210  const Dtk_pnt &inCenterPnt,
2211  const Dtk_bool &IsCounterClockwise );
2213  const Dtk_Double64 &inWidth,
2214  const Dtk_Double64 &inHeight,
2215  const Dtk_pnt &inArrowLocation,
2216  const LeaderTerminatorTypeEnum &inTerminatorType,
2217  const Dtk_tab<Dtk_pnt> &inPntsArray );
2220  const Dtk_Double64 &inWidth,
2221  const Dtk_Double64 &inHeight,
2222  const Dtk_pnt &inArrowLocation,
2223  const Dtk_Double64 &inRadius,
2224  const LeaderTerminatorTypeEnum &inTerminatorType,
2225  const Dtk_pnt &inEndingPnt,
2226  const Dtk_pnt &inCenterPnt,
2227  const Dtk_bool &IsCounterClockwise);
2230  const Dtk_Double64 &inWidth,
2231  const Dtk_Double64 &inHeight,
2232  const Dtk_pnt &inArrowLocation,
2233  const LeaderTerminatorTypeEnum &inTerminatorType,
2234  const Dtk_tab<Dtk_pnt> &inPntsArray );
2235 
2237  virtual ~Dtk_Leader();
2238  inline virtual Dtk_Object* Clone() { return new Dtk_Leader( *this ); }
2239 private:
2240  void _Init();
2241  void _Reset();
2242  void _Copy(const Dtk_Leader &s);
2243 
2244  friend class Dtk_SmartPtr<Dtk_Leader>;
2245 public:
2248 
2251 
2254 
2256  static Dtk_LeaderPtr Create(const Dtk_Leader &s);
2259 
2269  static Dtk_LeaderPtr Create(const Dtk_Double64 &inWidth,
2270  const Dtk_Double64 &inHeight, const Dtk_pnt &inArrowLocation,
2271  const Dtk_Double64 &inRadius,
2272  const LeaderTerminatorTypeEnum &inTerminatorType,
2273  const Dtk_pnt &inEndingPnt, const Dtk_pnt &inCenterPnt,
2274  const Dtk_bool &IsCounterClockwise);
2275 
2282  static Dtk_LeaderPtr Create(const Dtk_Double64 &inWidth,
2283  const Dtk_Double64& inHeight, const Dtk_pnt &inArrowLocation,
2284  const LeaderTerminatorTypeEnum &inTerminatorType,
2285  const Dtk_tab<Dtk_pnt> &inPntsArray);
2286 
2287 
2295  Dtk_Double64 &outHeight, Dtk_pnt &outArrowLocation,
2296  LeaderTerminatorTypeEnum &outTerminatorType) const;
2297 
2302 
2306 
2309  void SetLeaderCurveColor( const Dtk_RGB& inColor );
2310 
2313  void SetLeaderCurveThicknessInMM( const Dtk_Double64 inCurveThicknessinMM );
2314 
2317  void SetLeaderCurveLineType(const Dtk_FontLineType inCurveLineType);
2318 
2322 
2326 
2329  void SetExtensionLine( const Dtk_PolylinePtr& inExtLine );
2330 
2333  void SetLeaderTerminatorType(const LeaderTerminatorTypeEnum &inTerminatorType);
2334 
2335  void SetLeaderWidthHeight(const Dtk_Double64& inWidth, const Dtk_Double64& inHeight);
2336 
2337  void SetArrowHead( const ArrowHead& inArroWHead );
2338  const ArrowHead& GetArrowHead() const;
2340 
2343  void ConvertToGeom(Dtk_tab<Dtk_CurvePtr> &outGeomsArray, const IncludeOptions inConvertToGeomFilter = IncludeAll ) const;
2344 
2348 
2351 
2355  void SetApplicationZoneType( const Dtk_Leader::ApplicationZone::ApplicationZoneEnum& inApplicationZoneType, const Dtk_tab< Dtk_CurvePtr >& inRelatedGeomElements);
2356 
2360  void GetApplicationZone(Dtk_Leader::ApplicationZone& outApplicationZone) const;
2361 
2366 
2367 
2372 
2375  const Dtk_pnt& GetArrowLocation() const;
2376 
2379  void SetAllAroundSet(const Dtk_bool & inAllAroundSetValue);
2380 
2384  double GetStubDelta() const;
2385 
2389  void SetStubDelta(const double & inStubDelta);
2390 
2391 };
2392 
2398 {
2399 protected:
2400  struct Dtk_Handle; // Not defined here
2401  Dtk_Handle *_Private; // Handle
2402  enum {
2403  _typeID = DTK_TYPE_ANNOTATION
2404  };
2406  virtual ~Dtk_Annotation();
2407 
2410 
2415 
2424  Dtk_Annotation(const Dtk_pnt &inLocationPnt, const Dtk_InfoPtr &inInfos,
2426  const Dtk_Double64 &inAngle = 0.0, const Dtk_Double64 &inOffSet = 0.0,
2427  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2428  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2429  virtual Dtk_Object* Clone() = 0;
2430 
2431 private:
2432  void _Init();
2433  void _Reset();
2434  void _Copy(const Dtk_Annotation &s);
2435  friend class Dtk_SmartPtr<Dtk_Annotation>;
2436 public:
2439 
2442 
2447 
2451 
2455  Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) const;
2456 
2462 
2466  SetAsDeprecated("Undefined", "Use Dtk_TextStyle::Justification()")
2467  Dtk_justication_type GetJustification() const;
2468 
2473  Dtk_Double64 GetRotationAngle(
2474  const Dtk_dir &inXAxis = Dtk_dir(1,0,0),
2475  const Dtk_dir& inYAxis = Dtk_dir(0,1,0)) const;
2476 
2480  Dtk_Double64 GetOffset() const;
2481 
2484  Dtk_dir GetXAxis() const;
2485 
2488  Dtk_dir GetYAxis() const;
2489 
2492  const Dtk_anchor_type& GetLocationAnchorType() const;
2493 
2496  virtual Dtk_pnt GetLocation() const;
2497 
2500 
2501  // The interface functions
2502  virtual type_detk get_type_detk() const = 0;
2503 
2507  virtual Dtk_ErrorStatus GetAnchorPoints(
2508  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const = 0;
2509 
2514  virtual Dtk_ErrorStatus SetAnchorPoint(
2515  const Dtk_pnt &inNewLocation,
2516  const Dtk_anchor_type &inLocationAnchorType) = 0;
2517 
2522  virtual Dtk_ErrorStatus SetLocation(const Dtk_pnt &inLocation) = 0;
2523 
2524 
2530  Dtk_ErrorStatus SetLocation(const Dtk_pnt& location, const Dtk_anchor_type& inAnchorType);
2531 
2537  virtual Dtk_ErrorStatus SetOffset(const Dtk_Double64 &inOffset) = 0;
2538 
2542  virtual Dtk_ErrorStatus SetRotationAngle(
2543  const Dtk_Double64 &inRotationAngle);
2544 
2547 };
2548 
2555 {
2556 public :
2559  ObtentionTypeNotDefined = 0,
2563  ObtentionTypeMachiningForbidden
2564  };
2565 
2568  ApplyToSpecifiedSurface = 0,
2574  ApplyToAllSurfaces
2575  };
2576 
2578  ModeNone = 0,
2592  ModePerpendicular
2593  };
2594 protected:
2595  struct Dtk_Handle; // Not defined here
2596  Dtk_Handle *_Private; // Handle
2597  enum
2598  {
2599  _typeID = DTK_TYPE_ROUGHNESS
2600  };
2601 
2604 
2607  const Dtk_pnt &inLocationPnt,
2608  Dtk_Text inTopLeftText = Dtk_Text(),
2609  Dtk_Text inMiddleLeftText = Dtk_Text(),
2610  Dtk_Text inBottomLeftText = Dtk_Text(),
2611  Dtk_Text inTopRightText = Dtk_Text(),
2612  Dtk_Text inMiddleRightText = Dtk_Text(),
2613  Dtk_Text inBottomRightText = Dtk_Text(),
2614  const ObtentionTypeEnum &inObtentionType = ObtentionTypeNotDefined,
2615  const ApplyToEnum &inApplyToType = ApplyToSpecifiedSurface,
2616  const Dtk_InfoPtr &inInfos = NULL,
2618  const Dtk_Double64 &inAngle = 0.0,
2619  const Dtk_Double64 &inOffSet = 0.0,
2620  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2621  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2622 
2625  const Dtk_pnt &inLocationPnt,
2626  const Dtk_InfoPtr &inInfos,
2628  const Dtk_Double64 &inAngle = 0.0,
2629  const Dtk_Double64 &inOffSet = 0.0,
2630  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2631  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2632 
2637 
2640 
2643 
2644  inline virtual Dtk_Object* Clone() { return new Dtk_Roughness(*this); }
2645 
2646 private:
2647  void _Init();
2648  void _Copy(const Dtk_Roughness &s);
2649  void _Reset();
2650  friend class Dtk_SmartPtr<Dtk_Roughness>;
2651  friend class Dtk_Symbol;
2652 public:
2655 
2658 
2661 
2679  static Dtk_RoughnessPtr Create(const Dtk_pnt &inLocationPnt,
2680  Dtk_Text inTopLeftText = Dtk_Text(),
2681  Dtk_Text inMiddleLeftText = Dtk_Text(),
2682  Dtk_Text inBottomLeftText = Dtk_Text(),
2683  Dtk_Text inTopRightText = Dtk_Text(),
2684  Dtk_Text inMiddleRightText = Dtk_Text(),
2685  Dtk_Text inBottomRightText = Dtk_Text(),
2686  const ObtentionTypeEnum &inObtentionType = ObtentionTypeNotDefined,
2687  const ApplyToEnum &inApplyToType = ApplyToSpecifiedSurface,
2688  const Dtk_InfoPtr &inInfos = NULL,
2690  const Dtk_Double64 &inAngle = 0.0,
2691  const Dtk_Double64 &inOffSet = 0.0,
2692  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2693  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2694 
2704  static Dtk_RoughnessPtr Create(const Dtk_pnt &inLocationPnt,
2705  const Dtk_InfoPtr &inInfos,
2707  const Dtk_Double64 &inAngle = 0.0, const Dtk_Double64 &inOffSet = 0.0,
2708  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
2709  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
2710 
2715 
2718 
2721 
2722  Dtk_Oriented2dBBox GetOuterBoundingBox(const Dtk_bool inIncludeSymbolGeometry) const;
2728 
2734 
2740 
2746 
2752 
2758 
2764 
2770 
2776 
2782 
2788 
2793 
2798 
2803 
2808 
2813 
2818 
2823 
2828 
2833 
2838 
2843 
2848 
2853 
2858 
2863 
2866 
2872  const Dtk_pnt &inNewLocation,
2873  const Dtk_anchor_type &inLocationAnchorType);
2874 
2880 
2885 
2892 
2897  void Translate(const Dtk_dir &inTranslationDir);
2898 
2903  void ProcessSymbolInfos(Dtk_tab< Dtk_pnt >& outPnts, Dtk_Double64& outCircleRadius) const;
2904 
2907  void SetSymbolColor(Dtk_Int32 inColorId) const;
2908 
2911  void GetSymbolColor(Dtk_Int32& outColorId) const;
2912 
2913 
2917  void AddAssociatedGeometries( Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries );
2918 
2922 };
2923 
2932 {
2933 public :
2935  SymbolNone = 0,
3001  SymbolStakeWeld
3002  };
3004  {
3005  switch( inEnum )
3006  {
3007  case SymbolNone : return L"SymbolNone";
3008  case SymbolSquareButtWeld : return L"SymbolSquareButtWeld";
3009  case SymbolSingeVButtWeld : return L"SymbolSingeVButtWeld";
3010  case SymbolSingleBevelButtWeld : return L"SymbolSingleBevelButtWeld";
3011  case SymbolFlareVButtWeld : return L"SymbolFlareVButtWeld";
3012  case SymbolFlareBevelButtWeld : return L"SymbolFlareBevelButtWeld";
3013  case SymbolSingleUButtWeld : return L"SymbolSingleUButtWeld";
3014  case SymbolSingleJButtWeld : return L"SymbolSingleJButtWeld";
3015  case SymbolFilletWeld : return L"SymbolFilletWeld";
3016  case SymbolSpotWeld : return L"SymbolSpotWeld";
3017  case SymbolBackWeld : return L"SymbolBackWeld";
3018  case SymbolSteepFlankedSingleBevelButtWeld : return L"SymbolSteepFlankedSingleBevelButtWeld";
3019  case SymbolSteepFlankedSingleVWeld : return L"SymbolSteepFlankedSingleVWeld";
3020  case SymbolPlugWeld : return L"SymbolPlugWeld";
3021  case SymbolRemovableBackingStripUsed : return L"SymbolRemovableBackingStripUsed";
3022  case SymbolPermanentBackingStripUsed : return L"SymbolPermanentBackingStripUsed";
3023  case SymbolSurfacingWeld : return L"SymbolSurfacingWeld";
3024  case SymbolSeamWeld : return L"SymbolSeamWeld";
3025  case SymbolFlangeEdge : return L"SymbolFlangeEdge";
3026  case SymbolStickWeld : return L"SymbolStickWeld";
3027  case SymbolFlangeCorner : return L"SymbolFlangeCorner";
3028  case SymbolVFlareWeld : return L"SymbolVFlareWeld";
3029  case SymbolFlareBevelWeld : return L"SymbolFlareBevelWeld";
3030  case SymbolScarfWeld : return L"SymbolScarfWeld";
3031  case SymbolStudWeld : return L"SymbolStudWeld";
3032  case SymbolANSIEdgeWeld : return L"SymbolANSIEdgeWeld";
3033  case SymbolISOEdgeWeld : return L"SymbolISOEdgeWeld";
3034  case SymbolSurfaceJointWeld : return L"SymbolSurfaceJointWeld";
3035  case SymbolInclinedJointWeld : return L"SymbolInclinedJointWeld";
3036  case SymbolMeltThroughWeld: return L"SymbolMeltThroughWeld";
3037  case SymbolSolderedJointWeld: return L"SymbolSolderedJointWeld";
3038  case SymbolFoldJointWeld: return L"SymbolFoldJointWeld";
3039  case SymbolKGrooveWeld: return L"SymbolKGrooveWeld";
3040  case SymbolStakeWeld: return L"SymbolFoldJointWeldSymbolStakeWeld";
3041  default : return L"Unknown";
3042  }
3043  }
3044 
3046  ComplementarySymbolNone = 0,
3056  ComplementarySymbolFilletWeldWithSmoothBlendedFace
3057  };
3058 
3060  {
3061  WeldTextUndefinedType = 0,
3072  WeldTextWeldSymbol
3073  };
3074 
3076  {
3077  switch( inEnum )
3078  {
3079  case ComplementarySymbolNone : return L"ComplementarySymbolNone";
3080  case ComplementarySymbolWeldWithFlatFace : return L"ComplementarySymbolWeldWithFlatFace";
3081  case ComplementarySymbolWeldWithConvexFace : return L"ComplementarySymbolWeldWithConvexFace";
3082  case ComplementarySymbolWeldWithConcaveFace : return L"ComplementarySymbolWeldWithConcaveFace";
3083  case ComplementarySymbolFlushFinishedWeld : return L"ComplementarySymbolFlushFinishedWeld";
3084  case ComplementarySymbolFilletWeldWithSmoothBlendedFace : return L"ComplementarySymbolFilletWeldWithSmoothBlendedFace";
3085  default : return L"Unknown";
3086  }
3087  }
3088 
3090  FinishSymbolNone = 0,
3106  FinishSymbolUnspecified
3107  };
3109  {
3110  switch( inEnum )
3111  {
3112  case FinishSymbolNone : return L"FinishSymbolNone";
3113  case FinishSymbolChip : return L"FinishSymbolChip";
3114  case FinishSymbolFlush : return L"FinishSymbolFlush";
3115  case FinishSymbolGrind : return L"FinishSymbolGrind";
3116  case FinishSymbolHammer : return L"FinishSymbolHammer";
3117  case FinishSymbolMachine : return L"FinishSymbolMachine";
3118  case FinishSymbolRoll : return L"FinishSymbolRoll";
3119  case FinishSymbolPeening : return L"FinishSymbolPeening";
3120  case FinishSymbolUnspecified : return L"FinishSymbolUnspecified";
3121  default : return L"Unknown";
3122  }
3123  }
3124 
3125 protected:
3126  // Weld Symbol Terminology :
3127  //
3128  // OTHER SIDE
3129  // ------------
3130  // ARROW SIDE \
3131  // _\|
3132  //
3133  struct Dtk_Handle; // Not defined here
3134  Dtk_Handle *_Private; // Handle
3135  enum { _typeID = DTK_TYPE_WELDING };
3136 
3139 
3141  Dtk_Welding(const Dtk_pnt &inLocation,
3142  Dtk_CompositeText inMiddleRightText,
3143  const Dtk_bool inFieldWeldActivated,
3144  const Dtk_Char8 inIndentLineFlag,
3145  const Dtk_bool inTailActivated,
3146  const Dtk_bool inReverseTailAndField,
3147  const Dtk_InfoPtr &inInfos,
3148  Dtk_tab<Dtk_LeaderPtr> inLeaders,
3149  const Dtk_Double64 inAngle,
3150  const Dtk_Double64 inOffset,
3151  const Dtk_anchor_type inAnchorType,
3152  const Dtk_justication_type inJustification);
3153 
3155  Dtk_Welding(const Dtk_pnt &inLocation,
3156  const Dtk_InfoPtr &inInfos,
3158  const Dtk_Double64 inAngle = 0.0,
3159  const Dtk_Double64 inOffset = 0.0,
3160  const Dtk_anchor_type inAnchor_type = DTK_ANCHOR_BOTTOM_LEFT,
3161  const Dtk_justication_type inJustification = DTK_JUSTIFY_LEFT);
3162 
3167 
3170  inline virtual Dtk_Object* Clone() { return new Dtk_Welding(*this); }
3171 private:
3172  void _Init();
3173  void _Copy(const Dtk_Welding& s);
3174  void _Reset();
3175  friend class Dtk_SmartPtr<Dtk_Welding>;
3176  friend class Dtk_Symbol;
3177 public:
3180 
3183 public:
3186 
3206  static Dtk_WeldingPtr Create(const Dtk_pnt &inLocation,
3207  Dtk_CompositeText inTailText,
3208  const Dtk_bool inFieldWeldActivated,
3209  const Dtk_Char8 inIndentLineFlag,
3210  const Dtk_bool inTailActivated,
3211  const Dtk_bool inReverseTailAndField,
3212  const Dtk_InfoPtr &inInfos,
3213  Dtk_tab<Dtk_LeaderPtr> inLeaders,
3214  const Dtk_Double64 inAngle,
3215  const Dtk_Double64 inOffset,
3216  const Dtk_anchor_type inAnchorType,
3217  const Dtk_justication_type inJustification);
3218 
3228  static Dtk_WeldingPtr Create(const Dtk_pnt &inLocation,
3229  const Dtk_InfoPtr &inInfos,
3231  const Dtk_Double64 inAngle = 0.0,
3232  const Dtk_Double64 inOffset = 0.0,
3233  const Dtk_anchor_type inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
3234  const Dtk_justication_type inJustification = DTK_JUSTIFY_LEFT);
3235 
3237  static Dtk_WeldingPtr Create(const Dtk_Welding &in);
3240 
3243 
3244  //Dtk_Annotation interface
3246  Dtk_pnt (&inTabPoints)[DTK_NB_ANCHOR_TYPES]) const;
3248  Dtk_pnt (&inTabPoints)[DTK_NB_ANCHOR_TYPES]);
3249 
3252 
3256  void AddAssociatedGeometries( Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries);
3257 
3261  void AddAssociatedGeometry( Dtk_EntityPtr inAssociatedGeometry );
3262 
3265  void SetOtherSideTexts( std::unordered_map <Dtk_UInt8, Dtk_CompositeText>& inTexts );
3266 
3271 
3275 
3278  void SetArrowSideTexts( std::unordered_map <Dtk_UInt8, Dtk_CompositeText>& inTexts );
3279 
3284 
3288 
3292 
3296 
3300 
3303  void AddArrowSideAssociatedGeometry( Dtk_EntityPtr inAssociatedGeometry );
3304 
3308 
3312 
3316 
3319  void AddOtherSideAssociatedGeometry( Dtk_EntityPtr inAssociatedGeometry );
3320 
3323  std::unordered_map <Dtk_UInt8, Dtk_CompositeText> GetArrowSideAllTexts() const;
3324 
3327  std::unordered_map <Dtk_UInt8, Dtk_CompositeText> GetOtherSideAllTexts() const;
3328 
3339  const WeldingSymbolEnum inWeldingSymbol,
3340  Dtk_Text inNumWeldsText,
3341  Dtk_Text inAngleText,
3342  const ComplementarySymbolEnum inContourSymbol,
3343  Dtk_Text inFinishSymbolText,
3344  Dtk_Text inSizeText,
3345  Dtk_Text inLengthText,
3346  Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries);
3347 
3358  const WeldingSymbolEnum inWeldingSymbol,
3359  Dtk_Text inNumWeldsText,
3360  Dtk_Text inAngleText,
3361  const ComplementarySymbolEnum inContourSymbol,
3362  Dtk_Text inFinishSymbolText,
3363  Dtk_Text inSizeText,
3364  Dtk_Text inLengthText,
3365  Dtk_tab< Dtk_EntityPtr > inAssociatedGeometries);
3366 
3369  void SetTailText( Dtk_CompositeText inTailText);
3370 
3373  void SetArrowSideSizeText( Dtk_CompositeText inArrowSideSizeText);
3374 
3377  void SetOtherSideSizeText( Dtk_CompositeText inOtherSideSizeText);
3378 
3381  void SetFieldWeldFlag(const Dtk_bool inFieldWeldFlag);
3382 
3388  void SetIndentLineFlag(const Dtk_Char8 inIndentLineFlag = -1);
3389 
3392  void SetWeldTailActivated(const Dtk_bool inTailActivated = DTK_FALSE);
3393 
3398  void SetReverseTailAndFieldFlag(const Dtk_bool inReverseTailAndField = DTK_TRUE);
3399 
3403 
3409 
3414 
3419 
3420  //ArrowSide - BottomLine - Accessors
3421 
3425 
3429 
3433 
3437 
3441 
3445 
3449 
3453 
3456 
3457  //OtherSide - _TopLine - Accessors
3461 
3465 
3469 
3473 
3477 
3481 
3485 
3489 
3492 
3496 
3499  void SetBrazingOtherSide( const Dtk_bool inBrazing = DTK_TRUE );
3500 
3504 
3507  void SetBrazingArrowSide( const Dtk_bool inBrazing = DTK_TRUE );
3508 
3512 
3516 
3520 
3527  const Dtk_bool inIncludeWeldBodyGeometries = DTK_TRUE,
3528  const Dtk_bool inIncludeOtherSideGeometries = DTK_TRUE,
3529  const Dtk_bool inIncludeArrowSideGeometries = DTK_TRUE) const;
3530 
3536  const Dtk_anchor_type &inLocationAnchorType);
3537 
3543 
3548 
3555 
3559  Dtk_Char8 FinishSymbolToDtk_Text( const FinishSymbolEnum inFinishSymbol) const;
3560 
3563 
3570 
3576 
3578 
3581  void SetArrowSideDepthText( Dtk_CompositeText inArrowSideDepthText );
3582 
3586 
3589  void SetArrowSideClearanceText( Dtk_CompositeText inArrowSideClearanceText );
3590 
3594 
3597  void SetArrowSideSecondFilletSizeText( Dtk_CompositeText inArrowSideSecondFilletSizeText );
3598 
3602 
3605  void SetArrowSideSecondFilletLengthText( Dtk_CompositeText inArrowSideSecondFilletLengthText );
3606 
3610 
3613  void SetArrowSideOpeningText( Dtk_CompositeText inArrowSideOpeningText );
3614 
3618 
3621  void SetArrowSideWeldSymbolText( Dtk_CompositeText inArrowSideWeldSymbolText );
3622 
3626 
3630 
3632 
3635  void SetOtherSideDepthText( Dtk_CompositeText inOtherSideDepthText );
3636 
3640 
3643  void SetOtherSideClearanceText( Dtk_CompositeText inOtherSideClearanceText );
3644 
3648 
3651  void SetOtherSideSecondFilletSizeText( Dtk_CompositeText inOtherSideSecondFilletSizeText );
3652 
3656 
3659  void SetOtherSideSecondFilletLengthText( Dtk_CompositeText inOtherSideSecondFilletLengthText );
3660 
3664 
3667  void SetOtherSideOpeningText( Dtk_CompositeText inOtherSideOpeningText );
3668 
3672 
3675  void SetOtherSideWeldSymbolText( Dtk_CompositeText inOtherSideWeldSymbolText );
3676 
3680 
3684 };
3685 
3693 {
3694 public:
3696  {
3697  Unknown = 0,
3698  Point = 1,
3699  Linear = 2,
3700  Rectangular = 3,
3701  Circular = 4,
3702  Annular = 5,
3703  Spherical = 6,
3704  Cylindrical = 7,
3705  Arbitrary = 8,
3706 
3707  NumTypes
3708 
3709  };
3711  {
3712  switch( inEnum )
3713  {
3714  default:
3715  case Unknown: return L"Unknown";
3716  case Point: return L"Point";
3717  case Linear: return L"Linear";
3718  case Rectangular: return L"Rectangular";
3719  case Circular: return L"Circular";
3720  case Annular: return L"Annular";
3721  case Spherical: return L"Spherical";
3722  case Cylindrical: return L"Cylindrical";
3723  case Arbitrary: return L"Arbitrary";
3724  }
3725  }
3726 
3728  {
3729  NonMovable = 0,
3730  Movable = 1
3731  };
3733  {
3734  switch( inEnum )
3735  {
3736  default:
3737  case NonMovable: return L"NonMovable";
3738  case Movable: return L"Movable";
3739  }
3740  }
3741 
3743  {
3744  DiameterValue = 0,
3745  InnerDiameterValue = 1,
3746  OuterDiameterValue = 2,
3747  WidthValue = 3,
3748  HeightValue = 4,
3749  StartPointValue = 5,
3750  EndPointValue = 6,
3751  AreaValue = 7,
3752  NumValues
3753  };
3754 
3756  {
3757  switch (inEnum)
3758  {
3759  default:
3760  case DiameterValue: return L"DiameterValue";
3761  case InnerDiameterValue: return L"InnerDiameterValue";
3762  case OuterDiameterValue: return L"OuterDiameterValue";
3763  case WidthValue: return L"WidthValue";
3764  case HeightValue: return L"HeightValue";
3765  case StartPointValue: return L"StartPointValue";
3766  case EndPointValue: return L"EndPointValue";
3767  case AreaValue: return L"AreaValue";
3768  }
3769  }
3770 
3771 protected:
3772  struct Dtk_Handle; // Not defined here
3773  Dtk_Handle *_Private; // Handle
3774  enum
3775  {
3776  _typeID = DTK_TYPE_DATUM_TARGET
3777  };
3778 
3781 
3783  Dtk_DatumTarget(const Dtk_DatumTarget& inToBeCopied);
3786 
3789  Dtk_CompositeText inBottomText, const Dtk_pnt& inLocationPnt,
3790  const Dtk_InfoPtr& inInfos,
3792  const Dtk_Double64& inAngle = 0.0, const Dtk_Double64& inOffSet = 0.0,
3793  const Dtk_bool& inHasFrame = DTK_TRUE,
3794  const Dtk_anchor_type& inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
3795  const Dtk_justication_type& inJustificationType = DTK_JUSTIFY_LEFT);
3796  inline virtual Dtk_Object* Clone() { return new Dtk_DatumTarget(*this); }
3797 
3800 private:
3801  void _Init();
3802  void _Copy(const Dtk_DatumTarget& s);
3803  void _Reset();
3804  friend class Dtk_SmartPtr<Dtk_DatumTarget>;
3805 public:
3808 
3811 
3814 
3819 
3833  Dtk_CompositeText inBottomText, const Dtk_pnt &inLocationPnt,
3834  const Dtk_InfoPtr &inInfos,
3836  const Dtk_Double64 &inAngle = 0.0, const Dtk_Double64 &inOffSet = 0.0,
3837  const Dtk_bool &inHasFrame = DTK_TRUE,
3838  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
3839  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
3840 
3845 
3849 
3854 
3859 
3866  Dtk_tab<Dtk_CurvePtr> inMovableGeom );
3867 
3872 
3877 
3882 
3886  void SetOptionnalTopTextLeader( const Dtk_LeaderPtr & inLeader );
3887 
3892 
3897 
3902 
3907 
3911  const Dtk_CompositeText &TopText() const;
3912 
3917 
3922  const Dtk_bool& HasFrame() const;
3923 
3927  void EnableFrame();
3928 
3933 
3937  void SetFrame( Dtk_Frame inFrame );
3938 
3942  const Dtk_Frame &GetFrame() const;
3943 
3948 
3950 
3951  //Dtk_Annotation interface
3956 
3961  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
3962 
3965  {
3966  return DTK_TYPE_DATUM_TARGET;
3967  }
3968 
3974  const Dtk_anchor_type &inLocationAnchorType);
3975 
3981 
3988 
3993 
3997 
4001 
4009  void Translate(const Dtk_dir &inTranslationDir);
4010 
4013 
4018 
4023 };
4024 
4034 {
4035 protected:
4054 
4055  // Color of Border Top
4057  // Color of Border Bottom
4059  // Color of Border Left
4061  // Color of Border Right
4063  // Blanked Status of Border Top
4065  // Blanked Status of Border Bottom
4067  // Blanked Status of Border Left
4069  // Blanked Status of Border Right
4073 
4074  enum
4075  {
4076  _typeID = DTK_TYPE_CELL
4077  };
4078 
4079  void _InitC();
4080  void _ResetC();
4081  void _CopyC(const Dtk_OneCell &cell);
4082 public:
4085  //Dtk_OneCell(const double &h, const double &w);
4086 
4091 
4094  Dtk_bool HasText() const {return _HasText;}
4095 
4097  Dtk_Int32 DtkDynamicType(const int& inId);
4098 
4101 
4106 
4110 
4113  void setAnchor(const Dtk_Size_t& inNumberOfAnchor);
4114 
4118 
4121  void setJustification(const Dtk_justication_type & inNewJustification);
4122 
4126 
4129  void setnbCells_Left_Right(const Dtk_Size_t &inNewVal);
4130 
4134 
4137  void setnbCells_Top_Bottom(const Dtk_Size_t& inNewVal);
4138 
4142 
4146  const Dtk_CompositeText& GetText() const;
4147 
4151 
4154  void setHeight(const double &inHeight);
4155 
4159 
4162  void setWidth(const double &inWidth);
4163 
4167 
4170  void set_min_Height(const double &inHeight);
4171 
4175 
4178  void set_min_Width(const double &min_Width);
4179 
4181  void Delete_Text();
4182 
4186 
4190 
4191 
4194  void SetBorderTopColor(const Dtk_Int32 & inBorderTopColor);
4195  void SetBorderTopColor(const Dtk_RGB & inBorderTopColor);
4196 
4200 
4203  void SetBorderBottomColor(const Dtk_Int32 & inBorderBottomColor);
4204  void SetBorderBottomColor(const Dtk_RGB & inBorderBottomColor);
4205 
4209 
4212  void SetBorderLeftColor(const Dtk_Int32 & inBorderLeftColor);
4213  void SetBorderLeftColor(const Dtk_RGB & inBorderLeftColor);
4214 
4218 
4221  void SetBorderRightColor(const Dtk_Int32 & inBorderRightColor);
4222  void SetBorderRightColor(const Dtk_RGB & inBorderRightColor);
4223 
4227 
4228 
4231  void SetBorderTopBlanked(const Dtk_Int32 & inBorderTopBlanked);
4232 
4236 
4239  void SetBorderBottomBlanked(const Dtk_Int32 & inBorderBottomBlanked);
4240 
4244 
4247  void SetBorderLeftBlanked(const Dtk_Int32 & inBorderLeftBlanked);
4248 
4252 
4255  void SetBorderRightBlanked(const Dtk_Int32 & inBorderRightBlanked);
4256 
4260 
4263  void AddAdditionnalGeometries( Dtk_tab<Dtk_EntityPtr> inAdditionnalGeometries);
4264 
4268 
4269 };
4270 
4281 {
4282 protected:
4293  enum
4294  {
4295  _typeID = DTK_TYPE_TABLE
4296  };
4299 
4301  Dtk_Table(const Dtk_Table &tab);
4302 
4304  Dtk_Table(const Dtk_Int32 &inNumRows,
4305  const Dtk_Int32 &inNumCols,
4306  const Dtk_pnt &inLocationPnt = Dtk_pnt(0,0,0),
4307  const Dtk_Double64 &inAngle = 0.0,
4308  const Dtk_InfoPtr &infos = NULL,
4310  const Dtk_Double64 &inOffSet = 0.0,
4311  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
4312  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
4313 
4316 
4317  inline virtual Dtk_Object* Clone() { return new Dtk_Table(*this); }
4318  const Dtk_OneCell * operator[](const Dtk_Size_t &inPos) const;
4320  void _CheckRowCol(const Dtk_Size_t inRow, const Dtk_Size_t inCol) const;
4321 private:
4322  void _InitT();
4323  void _Copy(const Dtk_Table &tab);
4324  void _Reset();
4325  friend class Dtk_SmartPtr<Dtk_Table>;
4326 public:
4327 
4330 
4333 
4335  static Dtk_TablePtr Create(const Dtk_Table& in);
4336 
4348  static Dtk_TablePtr Create(const Dtk_Int32 &inNumRows,
4349  const Dtk_Int32 &inNumCols,
4350  const Dtk_pnt &inLocationPnt = Dtk_pnt(0,0,0),
4351  const Dtk_Double64 &inAngle = 0.0,
4352  const Dtk_InfoPtr &infos = NULL,
4354  const Dtk_Double64 &inOffSet = 0.0,
4355  const Dtk_anchor_type &inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
4356  const Dtk_justication_type &inJustificationType = DTK_JUSTIFY_LEFT);
4357 
4361 
4365 
4369  inline Dtk_OneCell& getCell( const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
4370  {
4371 #ifdef _DEBUG_DTK
4372  _CheckRowCol( inRow, inCol);
4373 #endif
4374  return operator[](inRow)[inCol];
4375  }
4376  inline const Dtk_OneCell& getCell( const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
4377  {
4378 #ifdef _DEBUG_DTK
4379  _CheckRowCol( inRow, inCol);
4380 #endif
4381  return operator[](inRow)[inCol];
4382  }
4383 
4384 
4385 
4386 
4387 
4392  void Set_Texts(const Dtk_Size_t &inRowIdx, const Dtk_Size_t &inColIdx,
4393  Dtk_CompositeText inText);
4394 
4397  const Dtk_Size_t& Cell_Line(const Dtk_Size_t inPos) const;
4398 
4403 
4406  const Dtk_Size_t& Cell_Col(const Dtk_Size_t inPos) const;
4407 
4412 
4413 
4417 
4421 
4424 
4431  const Dtk_CompositeText& Text(const Dtk_Size_t &inRow,
4432  const Dtk_Size_t &inCol) const;
4433 
4434  Dtk_CompositeText& Text(const Dtk_Size_t &inRow, const Dtk_Size_t &inCol);
4435 
4440  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const ;
4441 
4447  const Dtk_anchor_type &inLocationAnchorType);
4448 
4454 
4460 
4465 
4469 
4472 };
4473 
4481 class Dtk_Grid : public Dtk_Annotation //Dtk_2dEntity
4482 {
4483 protected:
4484  struct Dtk_Handle; // Not defined here
4485  Dtk_Handle *_Private; // Handle
4486  enum
4487  {
4488  _typeID = DTK_TYPE_GRID
4489  };
4490 
4491 public:
4493  {
4496  Always
4497  };
4498 
4500  {
4503  Local
4504  };
4505 
4506 protected:
4509  _Private( nullptr )
4510  {
4511  };
4512 
4514  Dtk_Grid(const Dtk_Grid &grid);
4515 
4516  Dtk_Grid(const Dtk_Oriented2dBBox &inUVBBox,
4517  const Dtk_Double64 &inUSpacing,
4518  const Dtk_Double64 &inVSpacing,
4519  const Dtk_Int32 &inUMinorPerMajor,
4520  const Dtk_Int32 &inVMinorPerMajor,
4521  //style
4522  const Dtk_RGB &inLineColor,
4523  const Dtk_FontLineType &inMajorLineStyle,
4524  const Dtk_FontLineType &inMinorLineStyle,
4525  const Dtk_Double64 &inMajorLineWidth,
4526  const Dtk_Double64 &inMinorLineWidth,
4527  const Dtk_bool &inDisplayGridOpt,
4528  const Dtk_bool &inDisplayOnTopOpt,
4529  const Dtk_bool &inDisplayMajorLinesOpt,
4530  const ShowLabelOption &inShowLabelOpt,
4531  const OriginReferenceOption &inOriginReferenceOpt,
4532  const Dtk_Double64 &inConceptionUnit);
4533 
4536 
4537  inline virtual Dtk_Object* Clone() { return new Dtk_Grid(*this); }
4538 
4539 private:
4540  void _Init();
4541  void _Copy(const Dtk_Grid &grid);
4542  void _Reset();
4543  friend class Dtk_SmartPtr<Dtk_Grid>;
4544 
4545 
4546  Dtk_Double64 GetConceptionUnit() const;
4547  Dtk_bool GetDrawLabelsInOriginUnitOption() const;
4548 public:
4549 
4552 
4555 
4557  static Dtk_GridPtr Create(const Dtk_Grid& in);
4558 
4571  static Dtk_GridPtr Create(const Dtk_Oriented2dBBox &inUVBBox,
4572  const Dtk_Double64 &inUSpacing,
4573  const Dtk_Double64 &inVSpacing,
4574  const Dtk_Int32 &inUMinorPerMajor = 1,
4575  const Dtk_Int32 &inVMinorPerMajor = 1,
4576  //style
4577  const Dtk_RGB &inLineColor = Dtk_RGB(),
4578  const Dtk_FontLineType &inMajorLineStyle = DTK_NO_PATTERN,
4579  const Dtk_FontLineType &inMinorLineStyle = DTK_NO_PATTERN,
4580  const Dtk_Double64 &inMajorLineWidth = 1.0,
4581  const Dtk_Double64 &inMinorLineWidth = 1.0,
4582  const Dtk_bool &inDisplayGridOpt = DTK_TRUE,
4583  const Dtk_bool &inDisplayOnTopOpt = DTK_TRUE,
4584  const Dtk_bool &inDisplayMajorLinesOpt = DTK_FALSE,
4585  const ShowLabelOption &inShowLabelOpt = Dtk_Grid::Always,
4586  const OriginReferenceOption &inOriginReferenceOpt = Dtk_Grid::Local,
4587  const Dtk_Double64 &inConceptionUnit = 1.0);
4588 
4592 
4596 
4600 
4604 
4608 
4612 
4616 
4620 
4624 
4630 
4636 
4642 
4648 
4654 
4655 
4658 
4663 
4668  Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
4669 
4675  const Dtk_anchor_type &inLocationAnchorType);
4676 
4682 
4688 
4692  //Dtk_ErrorStatus SetRotationAngle(const Dtk_Double64 &inRotationAngle);
4693 
4696  //Dtk_ErrorStatus ProcessTextsPlacement();
4697 
4700 
4704 
4708 };
4709 
4710 
4711 
4717 {
4718 public:
4721  LinearDimension = 0,
4741  LengthDimension
4742  };
4744  BasicTypeNone = 0,
4748  BasicTypeOblong
4749  };
4750 
4752  ShowDualValueNone = 0,
4755  ShowDualValueSydeBySide
4756  };
4757 protected:
4758  struct Dtk_Handle; // Not defined here
4759  Dtk_Handle *_Private; // Handle
4760  enum {
4761  _typeID = DTK_TYPE_DIMENSION
4762  };
4765 
4768 
4773 
4775  Dtk_Dimension(const DimensionTypeEnum &inDimensionType,
4776  Dtk_CompositeText inTexts);
4778 
4779  inline virtual Dtk_Object* Clone() { return new Dtk_Dimension(*this); }
4780 
4781 private:
4782  void _Init();
4783  void _Copy(const Dtk_Dimension &s);
4784  void _Reset();
4785  friend class Dtk_SmartPtr<Dtk_Dimension>;
4786 public:
4787  // Downcasting
4788 
4791 
4794 
4797 
4802 
4806  static Dtk_DimensionPtr Create(const DimensionTypeEnum &inDimensionType,
4807  Dtk_CompositeText inTexts);
4808 
4816  SetAsDeprecated( "2025.4", "Use Dtk_ErrorStatus Dtk_Leader::SetExtensionLine(const Dtk_PolylinePtr &) and Dtk_ErrorStatus AddLeader( const Dtk_LeaderPtr& leader ) instead" )
4817  Dtk_ErrorStatus AddLeaderWithExtensionLine(
4818  const Dtk_LeaderPtr &inLeader,
4819  Polyline_detk* const &inExtensionLine);
4820 
4826  SetAsDeprecated( "2025.4", "Use Dtk_ErrorStatus Dtk_Leader::SetExtensionLine(const Dtk_PolylinePtr &) and Dtk_ErrorStatus AddLeader( const Dtk_LeaderPtr& leader ) instead" )
4827  Dtk_ErrorStatus AddLeaderWithExtensionLine(const Dtk_LeaderPtr &inLeader,
4828  const Dtk_tab<Dtk_pnt> &inExtensionLinePnts);
4829 
4833  Dtk_ErrorStatus AddLeader( const Dtk_LeaderPtr& leader );
4834 
4836  type_detk get_type_detk() const
4837  {
4838  return DTK_TYPE_DIMENSION;
4839  }
4840 
4845 
4848  const Dtk_CompositeText& GetTexts() const;
4849 
4853 
4857  SetAsDeprecated( "2025.4", "Use Dtk_LeaderPtr GetNumLeaders() and Dtk_ErrorStatus Dtk_Leader::GetExtensionLine() instead" )
4858  Dtk_Size_t GetNumExtensionLines() const;
4859 
4863  Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) const;
4864 
4869  SetAsDeprecated( "2025.4", "Use Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) and Dtk_ErrorStatus Dtk_Leader::GetExtensionLine() instead" )
4870  Dtk_CurvePtr GetExtensionLineAsCurve(const Dtk_Size_t &inPos) const;
4871 
4874  DimensionTypeEnum GetDimensionType() const;
4875 
4881  SetAsDeprecated( "2025.4", "Use Dtk_LeaderPtr GetLeader(const Dtk_Size_t &inPos) and Dtk_ErrorStatus Dtk_Leader::GetExtensionLine() instead" )
4882  Dtk_ErrorStatus ConvertExtensionLineToGeometries(
4883  const Dtk_Size_t &inExtLinePos,
4884  Dtk_tab<Dtk_CurvePtr> &outGeomsArray) const;
4885 
4888  Dtk_Size_t GetNumExtraGeometries() const;
4889 
4893  Dtk_CurvePtr GetExtraGeometryAsCurve(const Dtk_Size_t &inPos) const;
4894 
4897  void SetBasicDimensionType(const BasicDimensionTypeEnum& inBasicDimensionTypeEnum) const;
4898 
4902  BasicDimensionTypeEnum& GetBasicDimensionType() const ;
4903 
4906  void SetBasicDimensionType(const BasicDimensionTypeEnum& inBasicDimensionTypeEnum, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements) const;
4907 
4911  BasicDimensionTypeEnum& GetBasicDimensionType(Dtk_tab< Dtk_CurvePtr >& inRelatedGeomElements) const ;
4912 
4916  const BasicDimensionTypeEnum& BasicDimensionType() const;
4917 
4921  BasicDimensionTypeEnum& BasicDimensionType();
4922 
4926  const ShowDualValueTypeEnum& ShowDualValueType() const;
4927 
4931  ShowDualValueTypeEnum& ShowDualValueType();
4932 
4933  Dtk_ErrorStatus GetTextVerticalOffSet(double& outOffSet);
4934  Dtk_ErrorStatus GetTextRefPoint(Dtk_pnt& outRefPnt);
4935 
4938 
4942  Dtk_bool IsFakeDimension() const;
4943 
4947  void SetFakeDimensionStatus(const Dtk_bool inIsFakeDimension);
4948 
4952  void SetFrameType( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements);
4953 
4957  void GetFrame(Dtk_Frame& outFrame) const;
4958 
4959 
4961  void ClearLeader();
4962 
4963 };
4964 
4972 {
4973 protected:
4974  struct Dtk_Handle; // Not defined here
4975  Dtk_Handle *_Private; // Handle
4976  enum {
4977  _typeID = DTK_TYPE_REFERENCE
4978  };
4981  const Dtk_Oriented2dBBox& inOuterBBox);
4982 
4987 
4990 
4993  const DTK_FDT_MODIFIER &inMaterialModifier);
4994 
4996  void _ReplaceFirstMaterialModifer(const Dtk_Size_t &inReferencePos,
4997  const DTK_FDT_MODIFIER &inMaterialModifier);
4998  inline virtual Dtk_Object* Clone() { return new Dtk_ReferenceBlock(*this); }
4999 
5000 private:
5001  void _Init();
5002  void _Copy(const Dtk_ReferenceBlock &s);
5003  void _Reset();
5004  friend class Dtk_SmartPtr<Dtk_ReferenceBlock>;
5005 public:
5006 
5013  const DTK_FDT_MODIFIER &inMaterialModifier = DTK_FDT_MODIFIER_NONE,
5014  const Dtk_FdtPtr &inLinkedFdt = NULL);
5015 
5020  Dtk_ErrorStatus AddReference( Dtk_string inFullTextWithMaterialCondition,
5021  const Dtk_FdtPtr &inLinkedFdt);
5022 
5025 
5028 
5029 // //! \DtkInternal
5030 // void _PropagateOrientation(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
5031 
5034  const Dtk_Oriented2dBBox& inInnerBBox,
5035  const Dtk_Oriented2dBBox& inOuterBBox);
5036 
5041 
5046  //static Dtk_ReferenceBlockPtr Create(
5047  // const Dtk_Text &inFullTextWithMaterialCondition,
5048  // const Dtk_FdtPtr &fdt);
5049  //
5055  //static Dtk_ReferenceBlockPtr Create(const Dtk_Text &inLabel,
5056  // const DTK_FDT_MODIFIER &inMaterialModifier = DTK_FDT_MODIFIER_NONE,
5057  // const Dtk_FdtPtr &inLinkedFdt = Dtk_FdtPtr(NULL));
5058 
5063 
5068  const Dtk_string& GetReferenceLabel(const Dtk_Size_t &inReferencePos) const;
5069 
5074 
5079 
5083  DTK_FDT_MODIFIER GetMaterialModifier(const Dtk_Size_t &inReferencePos) const;
5084 
5087  Dtk_FdtPtr GetLinkedtFdt(const Dtk_Size_t &inReferencePos) const;
5088 
5092 
5099  const Dtk_pnt &inNewLocation,
5100  const Dtk_anchor_type &inLocationAnchorType=DTK_ANCHOR_BOTTOM_LEFT,
5101  const Dtk_Double64 &inOffSet = 0.0);
5102 
5108  Dtk_pnt (&outTabPoints)[DTK_NB_ANCHOR_TYPES],
5109  const Dtk_Double64 &inOffSet = 0.0) const;
5110 
5114 
5117  void Translate(const Dtk_dir &inTranslationDir);
5118 
5121 
5123 
5126  void SetOuterBoundingBox(const Dtk_Oriented2dBBox& inOuterBBox) const;
5127 
5128 
5131  void SetInnerBoundingBox(const Dtk_Oriented2dBBox& inInnerBBox);
5132 
5134 
5135 };
5136 
5145 {
5146 protected:
5147  struct Dtk_Handle; // Not defined here
5148  Dtk_Handle *_Private; // Handle
5149  enum {
5150  _typeID = DTK_TYPE_REFERENCE_FRAME
5151  };
5152 
5155 
5160 
5163  inline virtual Dtk_Object* Clone() { return new Dtk_ReferenceFrame(*this); }
5164 
5167 private:
5168  void _Init();
5169  void _Reset();
5170  void _Copy(const Dtk_ReferenceFrame &s);
5171  friend class Dtk_SmartPtr<Dtk_ReferenceFrame>;
5172 
5173 public:
5176 
5179 
5182 
5187 
5192  const Dtk_ReferenceBlockPtr & inFirstReferenceBlock);
5193 
5198 
5203  const Dtk_ReferenceBlockPtr & inReferenceBlock);
5204 
5205 // //! \DtkInternal
5206 // void _PropagateOrientation(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
5207 
5211 
5217  const Dtk_Double64& inOffSet = 0.0) const;
5218 
5225  const Dtk_pnt &inNewLocation,
5226  const Dtk_anchor_type &inLocationAnchorType,
5227  const Dtk_Double64 &inOffSet = 0.0);
5228 
5234  Dtk_ReferenceBlockPtr& Reference(const Dtk_Size_t &inReferencePos);
5235 
5242  const Dtk_Size_t &inReferencePos) const;
5243 
5248 
5253 
5258 
5263 
5268 
5273 
5274  void Translate(const Dtk_dir& inTranslationDir);
5275 
5277 };
5278 
5287 {
5288 protected:
5289  struct Dtk_Handle; // Not defined here
5290  Dtk_Handle *_Private; // Handle
5291  enum {
5292  _typeID = DTK_TYPE_TOL_SPEC
5293  };
5296 
5298  Dtk_ToleranceSpecification( Dtk_Text inFullTextWithMaterialCondition,
5299  const Dtk_ReferenceFramePtr
5300  &inReferenceFrame = Dtk_ReferenceFrame::Create());
5301 
5306 
5309  inline virtual Dtk_Object* Clone() { return new Dtk_ToleranceSpecification(*this); }
5310 
5311 private:
5312  void _Init();
5313  void _Copy(const Dtk_ToleranceSpecification &s);
5314  void _Reset();
5316 public:
5317  // Downcasting
5318 
5321 
5324 
5327 
5333  Dtk_Text inFullTextWithMaterialCondition,
5334  const Dtk_ReferenceFramePtr &inReferenceFrame = Dtk_ReferenceFrame::Create());
5335 
5340 
5345 
5351 
5360  Dtk_ReferenceBlockPtr& Reference( const Dtk_Size_t &inReferencePos );
5361 
5370  const Dtk_ReferenceBlockPtr& Reference( const Dtk_Size_t &inReferencePos ) const;
5371 
5380 
5389 
5398 
5407 
5416 
5425 
5428 
5431 
5432 
5439  Dtk_tab<Dtk_CurvePtr> &outGeoms);
5440 
5446  const Dtk_Int32& ignoreadd = 0) const;
5447 
5453  const Dtk_Int32& ignoreadd=0);
5454 
5455 
5462  const Dtk_bool inIncludeReferenceFrame = DTK_TRUE,
5463  const Dtk_bool InIncludeIndicators = DTK_TRUE ) const;
5464 
5466  SetAsDeprecated( "2021.1", "Use SetMainValue mehod to alter MainValue instead." )
5467  Dtk_ErrorStatus SetOuterBoundingBox(const Dtk_Oriented2dBBox& inOuterBBox);
5468 
5471  SetAsDeprecated( "2021.1", "Use SetMainValue mehod to alter MainValue instead." )
5472  Dtk_ErrorStatus SetInnerBoundingBox(const Dtk_Oriented2dBBox& inInnerBBox);
5473 
5474  Dtk_ErrorStatus GetOuterBoundingBoxWithOutRefFrame(Dtk_Oriented2dBBox& outOuterBBox) const;
5475 
5478  SetAsDeprecated( "2021.1", "Use SetMainValue mehod to alter MainValue instead." )
5479  Dtk_ErrorStatus SetOuterBoundingBoxWithOutRefFrame(const Dtk_Oriented2dBBox& inOuterBBox) ;
5480 
5485  Dtk_ErrorStatus SetAnchorPoint(const Dtk_pnt &inNewLocation,
5486  const Dtk_anchor_type &inLocationAnchorType);
5487 
5491  Dtk_ErrorStatus SetXAxis(const Dtk_dir &dir);
5492 
5496  Dtk_ErrorStatus SetYAxis(const Dtk_dir &dir);
5497 
5500  const Dtk_CompositeText& GetMainValue() const;
5501 
5503  void SetMainValue( Dtk_CompositeText inNewMainValue );
5504 
5508  const Dtk_ReferenceFramePtr& ReferenceFrame() const;
5509 
5513  Dtk_ReferenceFramePtr& ReferenceFrame();
5514 
5517  void AddIndicator( const Dtk_FCFFeatureIndicatorPtr& inIndicator );
5518 
5521  Dtk_Size_t GetNumIndicators() const;
5522 
5527  const Dtk_FCFFeatureIndicatorPtr& GetIndicator( const Dtk_Size_t inIndicatorIndex ) const;
5528 
5533  Dtk_FCFFeatureIndicatorPtr& GetIndicator( const Dtk_Size_t inIndicatorIndex );
5534 
5537  DTK_FDT_MODIFIER GetMaterialModifier() const;
5538 
5541  Dtk_bool HasFreeStateModifier() const;
5542 
5545  Dtk_dir GetXAxis() const;
5546 
5549  Dtk_dir GetYAxis() const;
5550 
5553 
5557  void Translate(const Dtk_dir &inTranslationDir);
5558 };
5559 
5568 {
5569 protected:
5570  struct Dtk_Handle; // Not defined here
5571  Dtk_Handle *_Private; // Handle
5572  enum {
5573  _typeID = DTK_TYPE_GEOM_TOL
5574  };
5575 
5578 
5583  inline virtual Dtk_Object* Clone() { return new Dtk_GeometricalTolerance(*this); }
5586 private:
5587  void _Init();
5588  void _Reset();
5589  void _Copy(const Dtk_GeometricalTolerance &s);
5590  friend class Dtk_SmartPtr<Dtk_GeometricalTolerance>;
5591 public:
5592 
5595 
5598 
5601 
5604 
5607 
5610  const Dtk_GeometricalTolerance &in);
5613  Dtk_GeometricalTolerance&& in );
5614 
5617  const Dtk_GeometricalTolerance &in);
5621 
5626  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
5627 
5633  const Dtk_bool& inProcessAddtionnalTexts) const;
5634 
5640  const Dtk_pnt &inNewLocation,
5641  const Dtk_anchor_type& inLocationAnchorType);
5642 
5649  const Dtk_anchor_type &inLocationAnchorType,
5650  const Dtk_bool &inProcessAddtionnalTexts);
5651 
5657 
5664 
5669 
5675 
5681 
5687  const Dtk_Size_t &inPos) const;
5688 
5694  const Dtk_Size_t &inPos) const;
5695 
5702  const Dtk_Size_t& inPos);
5703 
5711 
5715 
5720  const Dtk_ToleranceSpecificationContainerPtr &inTolSpecCont);
5721 
5722 // //! \DtkInternal
5723 // void IPropagateOrientation();
5724 
5726  const Dtk_bool& inProcessAddtionnalTexts,
5727  Dtk_Oriented2dBBox& outOuterBBox) const;
5728 
5729  void Translate(const Dtk_dir& inTranslationDir);
5730 
5733  void SetLetteringColor(const Dtk_RGB &inLetteringColor);
5734 
5737  const Dtk_RGB& GetLetteringColor() const ;
5738 
5741  void SetFrameColor(const Dtk_RGB &inFrameColor);
5742 
5745  const Dtk_RGB& GetFrameColor() const ;
5746 
5747 };
5748 
5754 {
5755 public:
5757  {
5758  Unknown = 0,
5767  };
5768 protected:
5772  void _Init();
5774  void _Reset();
5775 public:
5776 
5782  const Dtk_Oriented2dBBox& inOuterBoundingBox,
5783  Dtk_tab< Dtk_CurvePtr > inRelatedGeometricalElts )
5784  {
5785  SetIndicatorTypeData( inIndicatorType,
5786  inOuterBoundingBox,
5787  std::move( inRelatedGeometricalElts ) );
5788  }
5789 
5792  {
5793  _Init();
5794  }
5796  Dtk_FCFFeatureIndicatorType( const Dtk_FCFFeatureIndicatorType & in ) : m_Type( in.m_Type ), m_RelatedGeomElements( in.m_RelatedGeomElements ), m_OuterBBox( in.m_OuterBBox )
5797  {
5798  }
5800  Dtk_FCFFeatureIndicatorType( Dtk_FCFFeatureIndicatorType&& in ) DTK_NOEXCEPT : m_Type( in.m_Type ), m_RelatedGeomElements( std::move( in.m_RelatedGeomElements ) ), m_OuterBBox( in.m_OuterBBox )
5801  {
5802  }
5803 
5806  {
5807  _Reset();
5808  }
5809 
5811  inline void Clear()
5812  {
5813  _Reset();
5814  }
5815 
5816 
5822  const Dtk_FCFFeatureIndicatorTypeEnum& inIndicatorType,
5823  const Dtk_Oriented2dBBox& inOuterBoundingBox,
5824  Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements )
5825  {
5826  m_Type = inIndicatorType;
5827  m_OuterBBox = inOuterBoundingBox;
5828  m_RelatedGeomElements = std::move( inRelatedGeomElements );
5829  }
5833  {
5834  return m_Type;
5835  }
5836 
5840 
5844  {
5845  return m_OuterBBox;
5846  }
5850  Dtk_ErrorStatus Translate( const Dtk_dir &inTranslateDir );
5851 
5856 
5859  {
5860  if( &in == this )
5861  {
5862  return *this;
5863  }
5864  _Reset();
5865  _Copy( in );
5866  return *this;
5867  }
5870  {
5871  if( &in == this )
5872  {
5873  return *this;
5874  }
5875  m_Type = in.m_Type;
5876  m_RelatedGeomElements = std::move( in.m_RelatedGeomElements );
5877  m_OuterBBox = in.m_OuterBBox;
5878 
5879  return *this;
5880  }
5881 };
5882 
5891 {
5892 protected:
5893  struct Dtk_Handle; // Not defined here
5894  Dtk_Handle *m_Private; // Handle
5895  enum
5896  {
5898  };
5899 
5902  {
5903  _Init();
5904  }
5905 
5908  {
5909  _Init();
5910  _Copy( in );
5911  }
5912 
5914  Dtk_FCFFeatureIndicator( Dtk_FCFFeatureIndicator&& in ) DTK_NOEXCEPT : Dtk_Object( std::move( in ) ), m_Private( in.m_Private )
5915  {
5916  in.m_Private = nullptr;
5917  }
5918 
5921  Dtk_Text inSymbol,
5922  Dtk_Text inDatumFeatureIdentifier );
5923  inline virtual Dtk_Object* Clone()
5924  {
5925  return new Dtk_FCFFeatureIndicator( *this );
5926  }
5927 
5930  {
5931  _Reset();
5932  }
5933 private:
5934  void _Init();
5935  void _Reset();
5936  void _Copy( const Dtk_FCFFeatureIndicator &s );
5937  friend class Dtk_SmartPtr<Dtk_FCFFeatureIndicator>;
5938 
5939 public:
5941  inline Dtk_Int32 DtkDynamicType( const Dtk_Int32 &inId )
5942  {
5943  if( inId == _typeID )
5944  return 1;
5945  return Dtk_Object::DtkDynamicType( inId );
5946  }
5949  {
5950  if( s->DtkDynamicType( _typeID ) )
5951  return static_cast< Dtk_FCFFeatureIndicator* >( s );
5952  return NULL;
5953  }
5954  inline void Clear()
5955  {
5956  _Reset();
5957  _Init();
5958  }
5959 
5962  {
5963  return new Dtk_FCFFeatureIndicator();
5964  }
5965 
5968  {
5969  return new Dtk_FCFFeatureIndicator( in );
5970  }
5973  {
5974  return new Dtk_FCFFeatureIndicator( std::move( in ) );
5975  }
5976 
5982  inline static Dtk_FCFFeatureIndicatorPtr Create( Dtk_FCFFeatureIndicatorType inFeatureIndicatorType,
5983  Dtk_Text inSymbol,
5984  Dtk_Text inDatumFeatureIdentifier )
5985  {
5986  return new Dtk_FCFFeatureIndicator( std::move( inFeatureIndicatorType ), std::move( inSymbol ), std::move( inDatumFeatureIdentifier ) );
5987  }
5988 
5993 
5999 
6000 
6004 
6007  const Dtk_Text& GetSymbol() const;
6008 
6012 
6018  const Dtk_pnt &inNewLocation,
6019  const Dtk_anchor_type &inLocationAnchorType );
6020 
6024  Dtk_ErrorStatus Translate( const Dtk_dir& inTranslationDir );
6025 
6030 
6034 
6041 
6042 
6043 };
6044 
6053 {
6054 public:
6055  enum TypeEnum {
6056  Typeunknown = 0,
6086  TypeAxisIntersection
6087  };
6088 protected:
6089  struct Dtk_Handle; // Not defined here
6090  Dtk_Handle *_Private; // Handle
6091  enum {
6092  _typeID = DTK_TYPE_GEOM_TOL
6093  };
6102  const TypeEnum &inTolSpecContType,
6103  const Dtk_Oriented2dBBox& inInnerTolTypeBBox,
6104  const Dtk_Oriented2dBBox& inOuterTolTypeBBox);
6105 
6108  inline virtual Dtk_Object* Clone() { return new Dtk_ToleranceSpecificationContainer(*this); }
6109 
6110 private:
6111  void _Init();
6112  void _Reset();
6115 public:
6116 
6117 
6121 
6124 
6131 
6136  const TypeEnum &inTolSpecContType,
6137  const Dtk_Oriented2dBBox& inInnerTolTypeBBox,
6138  const Dtk_Oriented2dBBox& inOuterTolTypeBBox );
6139 
6140 
6144 
6145 
6148  void SetToleranceTypeOuterBoundingBox(const Dtk_Oriented2dBBox& inOuterBBox ) const;
6149 
6153 
6156  void SetToleranceTypeInnerBoundingBox( const Dtk_Oriented2dBBox& inInnerBBox ) const;
6157 
6163  const Dtk_Size_t &inTolSpecPos,
6164  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
6165 
6170  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
6171 
6173  const Dtk_Size_t& inTolSpecPos,
6174  Dtk_Oriented2dBBox& outOuterBBox) const;
6175 
6176 // //! \DtkInternal
6177 // void _PropagateOrientation();
6178 
6182 
6189 
6194  const Dtk_ToleranceSpecificationPtr &inTolSpec);
6195 
6200  const Dtk_Size_t &inPos) const;
6201 
6207  const Dtk_Size_t &inPos,
6208  const Dtk_ToleranceSpecificationPtr &inNewTolSpec);
6209 
6214  Dtk_pnt (&outTabPnts)[DTK_NB_ANCHOR_TYPES],
6215  const Dtk_Int32 &ref_tol_spec_ind = -1) const;
6216 
6221 
6226 
6231 
6236 
6241  const Dtk_Text& TopText() const;
6242 
6247  const Dtk_Text& BottomText() const;
6248 
6253  const Dtk_Text& GetRightText() const;
6254 
6259  const Dtk_Text& GetLeftText() const;
6260 
6264 
6268 
6272 
6276 
6277 
6281 
6285 
6289 
6293 
6300  Dtk_CompositeText &outCompositeText,
6301  Dtk_tab<Dtk_CurvePtr> &outGeoms);
6302 
6307 
6312 
6313 // //! \DtkInternal
6314 // void _PropagateOrientation(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis);
6315 
6320  const Dtk_bool& ProcessAddtionnalTexts) const;
6321 
6328  const Dtk_pnt &inNewLocation,
6329  const Dtk_anchor_type &inLocationAnchorType,
6330  const Dtk_bool &inProcessAdditionnalTexts);
6331 
6337 
6340 
6344  void Translate(const Dtk_dir &inTranslationDir);
6345 
6347  const Dtk_bool& inProcessAddtionnalTexts,
6348  Dtk_Oriented2dBBox& outOuterBBox) const;
6349 };
6350 
6357 {
6358 public:
6359  enum TypeEnum {
6360  TypeUnknown = -1,
6361  TypeNote = 0,
6387  TypeArrow
6388  };
6389  static inline const Dtk_string TypeEnumToString(const TypeEnum& inEnum)
6390  {
6391  switch( inEnum )
6392  {
6393  case TypeNote: return L"TypeNote";
6394  case TypeDatum: return L"TypeDatum";
6395  case TypeBalloon: return L"TypeBalloon";
6396  case TypeDatumTarget: return L"TypeDatumTarget";
6397  case TypeRoughness: return L"TypeRoughness";
6398  case TypeDimension: return L"TypeDimension";
6399  case TypeFlagNote: return L"TypeFlagNote";
6400  case TypeGeometricalTolerance: return L"TypeGeometricalTolerance";
6401  case TypeAnnotationTable: return L"TypeAnnotationTable";
6402  case TypeCell: return L"TypeCell";
6403  case TypeTable: return L"TypeTable";
6404  case TypeCallout: return L"TypeCallout";
6405  case TypeWelding: return L"TypeWelding";
6406  case TypeCoordinateDimension: return L"TypeCoordinateDimension";
6407  case TypeGeom: return L"TypeGeom";
6408  case TypeAxis: return L"TypeAxis";
6409  case TypeAxisSystem: return L"TypeAxisSystem";
6410  case TypeCenterLine: return L"TypeCenterLine";
6411  case TypeCenterMark: return L"TypeCenterMark";
6412  case TypeGrid: return L"TypeGrid";
6413  case TypeHatching: return L"TypeHatching";
6414  case TypeFullBoltCircle: return L"TypeFullBoltCircle";
6415  case TypeCustomSymbol: return L"TypeCustomSymbol";
6416  case TypeHoleNote: return L"TypeHoleNote";
6417  case TypeUrl: return L"TypeUrl";
6418  case TypeArrow: return L"TypeArrow";
6419  default: return L"Unknown";
6420  }
6421  }
6422 
6423 protected:
6424  struct Dtk_Handle; // Not defined here
6425  Dtk_Handle *_Private; // Handle
6426  enum { _typeID = DTK_TYPE_SYMBOL };
6427 protected:
6428 
6430  Dtk_Symbol(const Dtk_Dimension &inToBeConverted,const Dtk_bool &inKeepLeaderAsLeader);
6431 
6433  Dtk_Symbol(Dtk_Table& inToBeConverted, const Dtk_bool& inTextAutoFlip = DTK_FALSE);
6434 
6437  const Dtk_GeometricalTolerance& inToBeConverteds,
6438  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6439 
6442  const Dtk_Roughness &inToBeConverted,
6443  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6444 
6447  const Dtk_DatumTarget &inToBeConverted,
6448  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6449 
6452  const Dtk_Welding &inToBeConverted,
6453  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6456  const Dtk_CompositeEntity &inToBeConverted,
6457  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6460  const Dtk_Grid &inGrid,
6461  const Dtk_bool &text_auto_flip = DTK_FALSE);
6462 
6464  Dtk_Symbol(const Dtk_Region &inRegion,
6465  const Dtk_bool &text_auto_flip);
6466 
6469 
6474 
6477  inline virtual Dtk_Object* Clone() { return new Dtk_Symbol(*this); }
6478 
6481 
6482 private:
6483  void _Init();
6484  void _Reset();
6485  void _Copy(const Dtk_Symbol &s);
6486  friend class Dtk_SmartPtr<Dtk_Symbol>;
6487 public:
6490 
6493 
6496 
6498  static Dtk_SymbolPtr Create( const Dtk_Symbol &in );
6501 
6507  const Dtk_pnt &inLocation,
6508  const Dtk_anchor_type &inLocationAnchorType);
6509 
6514  static Dtk_SymbolPtr Create( const Dtk_DimensionPtr &inToBeConverted ,
6515  const Dtk_bool &inKeepLeaderAsLeader = DTK_FALSE );
6516 
6522  const Dtk_DatumTargetPtr &inToBeConverted,
6523  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6524 
6530  const Dtk_GeometricalTolerancePtr &inToBeConverted,
6531  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6532 
6538  const Dtk_TablePtr &inToBeConverted,
6539  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6540 
6546  const Dtk_RoughnessPtr &inToBeConverted,
6547  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6548 
6554  const Dtk_GridPtr &inToBeConverted,
6555  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6556 
6562  const Dtk_RegionPtr &inToBeConverted,
6563  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6564 
6570  const Dtk_AnnotationPtr &inToBeConverted,
6571  const Dtk_bool &inTextAutoFlip = DTK_FALSE);
6572 
6579  const Dtk_2dEntityPtr &inToBeConverted,
6580  const Dtk_bool &inTextAutoFlip = DTK_FALSE,
6581  const Dtk_bool &inKeepLeaderAsLeader = DTK_FALSE );
6582 
6588  const Dtk_WeldingPtr &inToBeConverted,
6589  const Dtk_bool &inTextAutoFlip);
6590 
6596  const Dtk_CompositeEntityPtr &inToBeConverted,
6597  const Dtk_bool &inTextAutoFlip);
6598 
6603 
6608 
6612 
6616  Dtk_EntityPtr GetGeomElement( const Dtk_Size_t &inPos ) const;
6617 
6620 
6624  const Dtk_CompositeText& Texts()const;
6625 
6630 
6635 
6639  void SetFrameType( const Dtk_frame_type& inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements);
6640 
6644  void GetFrame(Dtk_Frame& outFrame) const;
6645 
6649  const TypeEnum& SymbolType()const;
6650 
6655 
6660 
6663 
6669  const Dtk_pnt &inNewLocation,
6670  const Dtk_anchor_type &inLocationAnchorType);
6671 
6676  Dtk_ErrorStatus SetLocation( const Dtk_pnt &inLocation );
6677 
6684 
6688  Dtk_ErrorStatus SetRotationAngle( const Dtk_Double64 &inRotationAngle );
6689 
6693 
6696  void MergeWithOtherSymbol(const Dtk_SymbolPtr &inSymbolToBeMerged);
6697 
6700 
6701 };
6702 
6708 class Dtk_Drawing : public Dtk_Entity
6709 {
6710 protected:
6711  struct Dtk_Handle; // Not defined here
6712  Dtk_Handle *_Private; // Handle
6713  enum {
6714  _typeID = DTK_TYPE_DRAWING
6715  };
6716 
6717 private:
6718 
6720  Dtk_Drawing(const Dtk_Drawing & in);
6723 
6725  Dtk_Drawing();
6726 
6728  ~Dtk_Drawing();
6729  inline virtual Dtk_Object* Clone() { return new Dtk_Drawing(*this); }
6730 
6731 private:
6732  void _Init();
6733  void _Copy(const Dtk_Drawing &s);
6734  void _Reset();
6735  friend class Dtk_SmartPtr<Dtk_Drawing>;
6736 
6737 public:
6740 
6743 
6746 
6748  static Dtk_DrawingPtr Create(const Dtk_Drawing &in);
6751 
6754  {
6755  return DTK_TYPE_DRAWING;
6756  }
6757 
6761  Dtk_ErrorStatus AddView(const Dtk_ViewPtr &inViewtoBeAdded);
6762 
6765 
6770  Dtk_ErrorStatus AddView(const Dtk_ViewPtr& inView, const Dtk_pnt& inOrigin);
6771 
6777 
6782  const Dtk_ViewPtr& GetView(const Dtk_Size_t &inPos)const;
6783 
6788 
6792  const Dtk_Double64 &Width() const;
6793 
6798 
6802  const Dtk_Double64 &Height() const;
6803 
6807 
6810  SetAsDeprecated( "2025.4", "Please remove calls to this function, it will always return 0." )
6811  Dtk_Size_t GetNum2dEntities() const;
6812 
6815  Dtk_Size_t GetNumOrigins() const;
6816 
6821  Dtk_pnt& GetOrigin(const Dtk_Size_t &inPos);
6822 
6827  const Dtk_pnt& GetOrigin(const Dtk_Size_t &inPos) const;
6828 
6833  SetAsDeprecated( "2025.4", "Please remove calls to this function, it will always return a null object." )
6834  Dtk_2dEntityPtr& Get2dEntity(const Dtk_Size_t &inPos);
6835 
6840  SetAsDeprecated( "2025.4", "Please remove calls to this function, it will always return a null object." )
6841  const Dtk_2dEntityPtr& Get2dEntity(const Dtk_Size_t &inPos) const ;
6842 
6845 };
6846 
6852 {
6853 public:
6855  {
6856  DefaultDisplay = 0,
6858  WireframeDisplay = 1,
6860  WithHiddenDisplay = 2,
6862  NoHiddenDisplay = 3,
6864  ShadingDisplay = 4,
6866  ShadingWithEdgeDisplay = 5
6867  };
6868 
6869 protected:
6870  struct Dtk_Handle; // Not defined here
6871  Dtk_Handle *_Private; // Handle
6872  enum
6873  {
6874  _typeID = DTK_TYPE_VIEW_DISPLAY
6875  };
6876 
6885  inline virtual Dtk_Object* Clone()
6886  {
6887  return new Dtk_ViewDisplay( *this );
6888  }
6891 private:
6892  void _Init();
6893  void _Copy( const Dtk_ViewDisplay &s );
6894  void _Reset();
6895  friend class Dtk_SmartPtr<Dtk_ViewDisplay>;
6896 public:
6899 
6902 
6905  {
6906  return DTK_TYPE_VIEW_DISPLAY;
6907  }
6908 
6911 
6916 
6917 
6920 
6926  Dtk_ErrorStatus GetVisibleEdgesLineStyle( Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor ) const;
6927 
6932  void SetVisibleEdgesLineStyle( Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor );
6933 
6939  Dtk_ErrorStatus GetHiddenEdgesLineStyle( Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor ) const;
6940 
6945  void SetHiddenEdgesLineStyle( Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor );
6946 
6952  Dtk_ErrorStatus GetTangentEdgesLineStyle( Dtk_FontLineType &outLineFont, Dtk_Double64 &outLineWidth, Dtk_RGB &outLineColor ) const;
6953 
6958  void SetTangentEdgesLineStyle( Dtk_FontLineType inLineFont, Dtk_Double64 inLineWidth, Dtk_RGB inLineColor );
6959 
6960 
6961 };
6962 
6963 
6969 class Dtk_View : public Dtk_Entity
6970 {
6971 public:
6973  {
6974  // Unspecified view type.
6975  NoTypeView = 0,
6976  // View focused on a specific area of a model.
6977  DetailView = 1,
6978  // View representing a section of a model.
6979  SectionView = 2,
6980  // View showing a model with a portion removed to save space on the drawing.
6981  BrokenView = 4,
6982  // Dtk_View containing the title block area of a sheet.
6983  TitleBlockView = 8,
6984  // Dtk_View containing entities on sheet that are not related to any view of a 3D model.
6985  SheetView = 16
6986  };
6987 protected:
6988  struct Dtk_Handle; // Not defined here
6989  Dtk_Handle *_Private; // Handle
6990  enum {
6991  _typeID = DTK_TYPE_VIEW
6992  };
6993 
6996 
6998  Dtk_View(const Dtk_View &s);
7001  inline virtual Dtk_Object* Clone() { return new Dtk_View(*this); }
7004 private:
7005  void _Init();
7006  void _Copy(const Dtk_View &s);
7007  void _Reset();
7008  friend class Dtk_SmartPtr<Dtk_View>;
7009 public:
7012 
7015 
7018  {
7019  return DTK_TYPE_VIEW;
7020  }
7021 
7024 
7026  static Dtk_ViewPtr Create(const Dtk_View &in);
7028  static Dtk_ViewPtr Create( Dtk_View&& in );
7029 
7034 
7039  const Dtk_tab<Dtk_2dEntityPtr> &in2DEntitiesArray);
7040 
7045 
7050 
7054 
7059 
7065 
7070 
7074 
7081 
7085 
7090 
7095 
7100  Dtk_tab<Dtk_BodyPtr> inBodyArray);
7101 
7105 
7109  Dtk_BodyPtr GetBody(const Dtk_Size_t &inPos) const;
7110 
7111 
7115 
7119 
7124 
7129  const Dtk_tab<Dtk_picturePtr> &inPicturesArray );
7130 
7134 
7138  Dtk_picturePtr GetPicture( const Dtk_Size_t &inPos ) const;
7139 
7151  Dtk_OLEObjectPtr GetOLEObject( const Dtk_Size_t & inIndex ) const;
7152 
7153 
7157  const Dtk_Double64& Scale() const;
7158 
7163 
7167  const Dtk_Double64& Angle() const;
7168 
7173 
7178 
7183 
7191  const Dtk_pnt &inLocation,const Dtk_dir &inRefAxis,
7192  const Dtk_dir &inNormalAxis);
7193 
7194 
7196  void SetClippingBoundary(const Dtk_CompositeEntityPtr &inBoundary) const;
7197 
7200 
7202  bool IsView( ViewType typeView );
7203 
7205  void AddView( ViewType typeView );
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 
7674 class Dtk_Boundary : public Dtk_Object
7675 {
7676 protected:
7677  struct Dtk_Handle; // Not defined here
7678  Dtk_Handle *_Private; // Handle
7679  enum
7680  {
7681  _typeID = DTK_TYPE_BOUNDARY
7682  };
7683 
7684 public:
7685 
7692  Dtk_PolylinePtr simplifiedRepresentation );
7693 
7698 
7701 
7704 
7707 
7709 
7714 
7717 
7725 };
7726 
7734 class Dtk_Hatching : public Dtk_Entity
7735 {
7736 protected:
7737  struct Dtk_Handle; // Not defined here
7738  Dtk_Handle *_Private; // Handle
7739  enum {
7740  _typeID = DTK_TYPE_HATCHING
7741  };
7744 
7746 
7749 
7750  inline virtual Dtk_Object* Clone() { return new Dtk_Hatching(*this); }
7751 
7752 private:
7753  void _Init();
7754  void _Copy(const Dtk_Hatching &s);
7755  void _Reset();
7756  friend class Dtk_SmartPtr<Dtk_Hatching>;
7757  void __GeneratePatternGeometries( const Dtk_HatchingPattern& inHatchingPattern, const Dtk_Oriented2dBBox& BoundariesBBox, Dtk_tab< Dtk_EntityPtr >& inoutResultEntities );
7758 public:
7759 
7760 
7763 
7766 
7769 
7771 
7774 
7777 
7783 
7786  void AddBoundary( Dtk_Boundary boundary );
7787 
7791 
7795 
7798  void SetApplyScaleOnPattern( bool inApply = true );
7799 
7805  Dtk_tab< Dtk_EntityPtr > GeneratePatternGeometries(const Dtk_dir& inXRefDir = Dtk_dir(1., 0., 0.), const Dtk_dir& inNormalDir = Dtk_dir(0., 0., 1.) );
7806 };
7807 
7808 
7814 {
7815 protected:
7816  struct Dtk_Handle; // Not defined here
7817  Dtk_Handle *_Private; // Handle
7818  enum {
7819  _typeID = DTK_TYPE_COMPOSITE_ENTITY
7820  };
7821 
7824 
7829 
7830  inline virtual Dtk_Object* Clone() { return new Dtk_CompositeEntity(*this); }
7833 private:
7834  void _Init();
7835  void _Copy(const Dtk_CompositeEntity &s);
7836  void _Reset();
7837  friend class Dtk_SmartPtr<Dtk_CompositeEntity>;
7838 public:
7840  void Clear();
7841 
7844 
7847 
7850  {
7852  }
7853 
7856 
7861 
7870 
7875  void AddEntities(const Dtk_tab<Dtk_EntityPtr>& inEltArray);
7876 
7883 
7888  void AddPictures( const Dtk_tab<Dtk_picturePtr>& inEltArray );
7889 
7893 
7897  Dtk_EntityPtr GetEntity( const Dtk_Size_t& inPos ) const;
7898 
7902 
7906  Dtk_picturePtr GetPicture( const Dtk_Size_t& inPos ) const;
7907 
7909  Dtk_tab< Dtk_2dEntityPtr >& out2dEntities,
7910  Dtk_tab< Dtk_EntityPtr >& outGeometricalEntities,
7911  Dtk_tab< Dtk_picturePtr >& outPictures ) const;
7914 };
7915 
7916 
7926 {
7927 public:
7929  {
7935  UnknownType
7936  };
7937 protected:
7938  struct Dtk_Handle; // Not defined here
7939  Dtk_Handle *_Private; // Handle
7940  enum
7941  {
7942  _typeID = DTK_TYPE_REGION
7943  };
7946  Dtk_HatchingPattern &inHatchingPattern,
7947  Dtk_tab< Dtk_EntityPtr > inGeometries);
7948 
7950 
7953 
7954  inline virtual Dtk_Object* Clone() { return new Dtk_Region(*this); }
7955 
7956 private:
7957  void _Init();
7958  void _Copy(const Dtk_Region &s);
7959  void _Reset();
7960  friend class Dtk_SmartPtr<Dtk_Region>;
7961 public:
7962 
7963 
7966 
7969 
7972  Dtk_HatchingPattern &inHatchingPattern,
7973  Dtk_tab< Dtk_EntityPtr > inGeometries);
7974 
7976 
7979 
7982 
7986 
7991  Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const;
7992 
7998  const Dtk_anchor_type &inLocationAnchorType);
7999 
8005 
8011 
8015 
8021 
8027 
8033 
8039 
8045 
8051 
8057 
8063 
8069 
8075 
8080 
8081 
8082 };
8083 
8084 
8085 #endif
Dtk_OneCell::_BorderTopColor
Dtk_RGB _BorderTopColor
Definition: util_draw_dtk.hpp:4056
Dtk_Leader::LeaderTerminatorTypeEnumToString
static Dtk_string LeaderTerminatorTypeEnumToString(const LeaderTerminatorTypeEnum &inEnum)
Definition: util_draw_dtk.hpp:2012
Dtk_FCFFeatureIndicator::Clear
void Clear()
Definition: util_draw_dtk.hpp:5954
DTK_ALIGN_CENTER
@ DTK_ALIGN_CENTER
Definition: util_draw_dtk.hpp:110
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:2997
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:4072
Dtk_Font::FontTypeEnum
FontTypeEnum
Definition: util_draw_dtk.hpp:183
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:112
Dtk_Symbol::TypeHatching
@ TypeHatching
Definition: util_draw_dtk.hpp:6382
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:4729
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 (of ordered polylines). The first boundary (this->...
Dtk_OneCell::_text
Dtk_CompositeText _text
Definition: util_draw_dtk.hpp:4045
Dtk_TextStyle::Ratio
Dtk_Double64 & Ratio()
Retrieves the text ratio - get/set -.
Dtk_Symbol::TypeWelding
@ TypeWelding
Definition: util_draw_dtk.hpp:6373
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:3089
Dtk_OneCell::_BorderBottomBlanked
Dtk_Int32 _BorderBottomBlanked
Definition: util_draw_dtk.hpp:4066
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:1824
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:291
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:616
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:80
Dtk_Grid::WCS
@ WCS
Definition: util_draw_dtk.hpp:4502
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:7931
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:1743
Dtk_Text::SetOuterXYAxis
void SetOuterXYAxis(const Dtk_dir &inXAxis, const Dtk_dir &inYAxis)
Sets the outer bounding box orientation.
Dtk_Welding::ComplementarySymbolFlushFinishedWeld
@ ComplementarySymbolFlushFinishedWeld
Definition: util_draw_dtk.hpp:3054
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:5309
Dtk_CompositeText::SetInnerXYAxis
Dtk_ErrorStatus SetInnerXYAxis(const Dtk_dir &inXaxis, const Dtk_dir &inYaxis)
Sets the inner bounding box X and Y axes for the Dtk_CompositeText and included Dtk_Texts.
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:55
Dtk_Dimension::CumulatedDimension
@ CumulatedDimension
Definition: util_draw_dtk.hpp:4735
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:135
Dtk_Oriented2dBBox::GetTopRightPoint
Dtk_pnt GetTopRightPoint() const
Retrieves the top right point - Read Only -.
Definition: util_draw_dtk.hpp:609
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:5982
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:2991
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:2570
Dtk_Region
This is the Region class. The region that designates areas of your model for special purposes,...
Definition: util_draw_dtk.hpp:7926
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:3696
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:77
Dtk_ToleranceSpecificationContainer::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6089
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_Region boundaries as geometries.
Dtk_Annotation
This is abstract Dtk_Annotation class.
Definition: util_draw_dtk.hpp:2398
Dtk_Leader::ApplicationZone::_ApplicationZoneType
ApplicationZoneEnum _ApplicationZoneType
Definition: util_draw_dtk.hpp:1843
DTK_FRAME_TYPE_FLAG_LEFT
@ DTK_FRAME_TYPE_FLAG_LEFT
Definition: util_draw_dtk.hpp:141
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:644
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:169
Dtk_Dimension::ShowDualValueFractional
@ ShowDualValueFractional
Definition: util_draw_dtk.hpp:4754
Dtk_HatchingPattern::_offset
Dtk_Double64 _offset
Definition: util_draw_dtk.hpp:7577
Dtk_Region::ArbitraryType
@ ArbitraryType
Definition: util_draw_dtk.hpp:7934
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_Boundary::get_type_detk
type_detk get_type_detk() const
Dtk_Leader::TerminatorTypeDoubleCrossArrow
@ TerminatorTypeDoubleCrossArrow
Definition: util_draw_dtk.hpp:2009
Dtk_Table::nbRows
Dtk_Size_t nbRows
Number of lines.
Definition: util_draw_dtk.hpp:4286
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:7017
Dtk_FCFFeatureIndicator::Create
static Dtk_FCFFeatureIndicatorPtr Create(const Dtk_FCFFeatureIndicator &in)
Calls copy constructor to allocate a new object.
Definition: util_draw_dtk.hpp:5967
Dtk_Leader::ArrowHead::GetType
const LeaderTerminatorTypeEnum GetType() const
Definition: util_draw_dtk.hpp:2125
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:557
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:5791
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:277
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:262
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:5923
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:4717
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:6885
Dtk_Boundary::Dtk_Boundary
Dtk_Boundary(const Dtk_Boundary &in)
Copy constructor.
Dtk_ToleranceSpecificationContainer::~Dtk_ToleranceSpecificationContainer
~Dtk_ToleranceSpecificationContainer()
Destructor.
Dtk_TextStyle::JustificationLeft
@ JustificationLeft
Definition: util_draw_dtk.hpp:289
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:65
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:5781
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:5972
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:1965
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:143
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:152
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:156
Dtk_Text::GetOuterBoundingBox
Dtk_Oriented2dBBox & GetOuterBoundingBox()
Dtk_Welding::FinishSymbolHammer
@ FinishSymbolHammer
Definition: util_draw_dtk.hpp:3098
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:250
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:733
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:3755
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:4423
DTK_JUSTIFY_LEFT
@ DTK_JUSTIFY_LEFT
Definition: util_draw_dtk.hpp:117
Dtk_Symbol::TypeAxis
@ TypeAxis
Definition: util_draw_dtk.hpp:6376
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:57
Dtk_Grid::OriginReferenceOption
OriginReferenceOption
Definition: util_draw_dtk.hpp:4500
DTK_FRAME_TYPE_POLYGON
@ DTK_FRAME_TYPE_POLYGON
Definition: util_draw_dtk.hpp:172
Dtk_OneCell::nbCells_Left_Right
Dtk_Int32 nbCells_Left_Right
Number of adjacent cells to the left or right.
Definition: util_draw_dtk.hpp:4049
Dtk_Welding::SetBrazingOtherSide
void SetBrazingOtherSide(const Dtk_bool inBrazing=DTK_TRUE)
Sets the Brazing flag for the OtherSide.
Dtk_Boundary::operator=
Dtk_Boundary & operator=(const Dtk_Boundary &in)
Copy assignment operator.
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:1114
Dtk_Text::SetInnerBoundingBox
Dtk_ErrorStatus SetInnerBoundingBox(const Dtk_Oriented2dBBox &innerBoundingBox)
Sets the inner bounding box.
Dtk_Welding::SymbolPlugWeld
@ SymbolPlugWeld
Definition: util_draw_dtk.hpp:2961
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:6852
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:1999
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:6368
Dtk_HatchingStyle_Hatching
@ Dtk_HatchingStyle_Hatching
Definition: util_draw_dtk.hpp:7564
Dtk_Region::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7938
Dtk_Leader::ArrowHead::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the ApplicationZone giving a translation vector.
Definition: util_draw_dtk.hpp:2149
Dtk_Welding
This is the Welding Symbol class.
Definition: util_draw_dtk.hpp:2932
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:471
Dtk_Leader::ArrowHead::m_Infos
Dtk_InfoPtr m_Infos
Definition: util_draw_dtk.hpp:2061
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:4064
DTK_FDT_MODIFIER_NONE
@ DTK_FDT_MODIFIER_NONE
Definition: util_draw_dtk.hpp:59
Dtk_TextStyle::AttributeStrikethrough
@ AttributeStrikethrough
Definition: util_draw_dtk.hpp:279
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:145
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:4657
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:1112
Dtk_Grid
Represents the grids.
Definition: util_draw_dtk.hpp:4482
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:4493
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:2644
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:3743
Dtk_Roughness::RoughModeEnum
RoughModeEnum
Definition: util_draw_dtk.hpp:2577
Dtk_Grid::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4537
Dtk_Welding::WeldTextSecondFilletSize
@ WeldTextSecondFilletSize
Definition: util_draw_dtk.hpp:3069
Dtk_ToleranceSpecification
This is the geometrical tolerance specification. It is part of the Dtk_ToleranceSpecificationContaine...
Definition: util_draw_dtk.hpp:5287
Dtk_OneCell::GetBorderRightColor
const Dtk_RGB & GetBorderRightColor()
Gets BorderRightColor of Right border.
Dtk_CompositeText::SetInnerXAxis
Dtk_ErrorStatus SetInnerXAxis(const Dtk_dir &inXAxis)
Sets the inner bounding box X Axis for the Dtk_CompositeText and included Dtk_Texts.
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:2238
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_CompositeText::GetInnerBoundingBox
const Dtk_Oriented2dBBox GetInnerBoundingBox() const
Processes the inner bounding box.
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:87
Dtk_CompositeText::Reverse
Dtk_ErrorStatus Reverse()
Reverses the Dtk_CompositeText and included Dtk_Texts.
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:147
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:6662
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:4731
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:3796
Dtk_ToleranceSpecification::operator=
Dtk_ToleranceSpecification & operator=(const Dtk_ToleranceSpecification &in)
Copy assignment operator.
Dtk_Roughness::ApplyToBasicSurface
@ ApplyToBasicSurface
Definition: util_draw_dtk.hpp:2572
Dtk_Oriented2dBBox::BottomLeftPoint
Dtk_pnt BottomLeftPoint() const
Retrieves the bottom left point - Read Only -.
Definition: util_draw_dtk.hpp:542
Dtk_ToleranceSpecificationContainer::TypeFlatness
@ TypeFlatness
Definition: util_draw_dtk.hpp:6060
Dtk_Roughness::ModeMultiDirectional
@ ModeMultiDirectional
Definition: util_draw_dtk.hpp:2580
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:967
DTK_FRAME_TYPE_FLAG_RIGHT
@ DTK_FRAME_TYPE_FLAG_RIGHT
Definition: util_draw_dtk.hpp:139
Dtk_Symbol::TypeFullBoltCircle
@ TypeFullBoltCircle
Definition: util_draw_dtk.hpp:6383
Dtk_OneCell::min_Height
Dtk_Double64 min_Height
The original height before mergers.
Definition: util_draw_dtk.hpp:4041
Dtk_justication_type
Dtk_justication_type
Definition: util_draw_dtk.hpp:115
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:4058
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:730
Dtk_FCFFeatureIndicator::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Definition: util_draw_dtk.hpp:5941
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:4047
Dtk_Symbol
This is the general symbol class. It's basically composed of Dtk_CompositeText and geometrical elemen...
Definition: util_draw_dtk.hpp:6357
DTK_TYPE_REGION
@ DTK_TYPE_REGION
Definition: define.h:561
Dtk_Welding::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:3170
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:3052
Dtk_DatumTarget::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:3964
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:3102
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:939
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:316
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:5893
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:1931
Dtk_Region::RectangularType
@ RectangularType
Definition: util_draw_dtk.hpp:7930
Dtk_Symbol::GetNumGeometricalElements
Dtk_Size_t GetNumGeometricalElements() const
Retrieves the geometrical elements number - read only -.
Dtk_Welding::SymbolFlangeEdge
@ SymbolFlangeEdge
Definition: util_draw_dtk.hpp:2971
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:3068
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:3065
Dtk_TextStyle::TextJustificationEnumToString
static Dtk_string TextJustificationEnumToString(const TextJustificationEnum &inEnum)
Definition: util_draw_dtk.hpp:296
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:119
Dtk_ViewDisplay::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:6904
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:1920
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:476
DTK_FDT_MODIFIER
DTK_FDT_MODIFIER
This is the several tolerances modifiers list.
Definition: util_draw_dtk.hpp:54
Dtk_Welding::SymbolSquareButtWeld
@ SymbolSquareButtWeld
Definition: util_draw_dtk.hpp:2937
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:3094
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:6386
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:53
DTK_ALIGN_RIGHT
@ DTK_ALIGN_RIGHT
Definition: util_draw_dtk.hpp:108
Dtk_Hatching
This is the Hatching class. The hatching fills a closed area delimited by boundaries....
Definition: util_draw_dtk.hpp:7735
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:5754
Dtk_ReferenceBlock::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:4974
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:97
Dtk_Leader::TerminatorTypeTriangle
@ TerminatorTypeTriangle
Definition: util_draw_dtk.hpp:1981
Dtk_Leader::TerminatorTypeCircle
@ TerminatorTypeCircle
Definition: util_draw_dtk.hpp:1967
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:6988
Dtk_2dEntity::get_type_detk
virtual type_detk get_type_detk() const =0
Dtk_Size_t
size_t Dtk_Size_t
Definition: define.h:715
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:6108
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:5811
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:934
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:92
Dtk_ToleranceSpecificationContainer::TypeStraightness
@ TypeStraightness
Definition: util_draw_dtk.hpp:6058
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:4044
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:7001
Dtk_Leader::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:2190
Dtk_Oriented2dBBox::SetYLocalVector
void SetYLocalVector(const Dtk_dir &inNewYVector)
Sets the Y local vector.
Definition: util_draw_dtk.hpp:652
Dtk_Welding::WeldTextDepth
@ WeldTextDepth
Definition: util_draw_dtk.hpp:3067
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:173
Dtk_Roughness::GetBottomRightText
Dtk_Text GetBottomRightText() const
Gets the bottom-right text - read only -.
Dtk_Welding::WeldTextNum
@ WeldTextNum
Definition: util_draw_dtk.hpp:3064
Dtk_FCFFeatureIndicatorType::m_Type
Dtk_FCFFeatureIndicatorTypeEnum m_Type
Definition: util_draw_dtk.hpp:5769
Dtk_Camera::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:7381
Dtk_Region::AnnularType
@ AnnularType
Definition: util_draw_dtk.hpp:7932
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:98
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:193
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:3062
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:1110
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:5948
Dtk_FCFFeatureIndicator::~Dtk_FCFFeatureIndicator
~Dtk_FCFFeatureIndicator()
Destructor.
Definition: util_draw_dtk.hpp:5929
Dtk_DatumTarget::Dtk_DatumTarget
Dtk_DatumTarget()
Dtk_Dimension::BasicDimensionTypeEnum
BasicDimensionTypeEnum
Definition: util_draw_dtk.hpp:4743
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_CompositeText::SetInnerYAxis
Dtk_ErrorStatus SetInnerYAxis(const Dtk_dir &axis_dir)
Sets the inner bounding box Y Axis for the Dtk_CompositeText and included Dtk_Texts.
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:76
Dtk_TextStyle::_font_style
FontStyleEnum _font_style
Font Style type (Regular, Italic, etc...)
Definition: util_draw_dtk.hpp:312
Dtk_Symbol::TypeRoughness
@ TypeRoughness
Definition: util_draw_dtk.hpp:6365
Dtk_GeometricalTolerance::Dtk_GeometricalTolerance
Dtk_GeometricalTolerance(Dtk_GeometricalTolerance &&s) DTK_NOEXCEPT
Dtk_Roughness::ModeParticular
@ ModeParticular
Definition: util_draw_dtk.hpp:2586
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:2963
Dtk_Frame::_Init
void _Init()
Definition: util_draw_dtk.hpp:910
Dtk_OneCell::_BorderLeftBlanked
Dtk_Int32 _BorderLeftBlanked
Definition: util_draw_dtk.hpp:4068
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:322
Dtk_Welding::GetReverseTailAndFieldFlag
Dtk_bool GetReverseTailAndFieldFlag() const
Tells if the Field/Tail are reversed.
Dtk_Welding::SymbolFlareBevelWeld
@ SymbolFlareBevelWeld
Definition: util_draw_dtk.hpp:2979
Dtk_Leader
This class graphically represents leader of annotations. It is part of Dtk_Annotation and Dtk_Dimens...
Definition: util_draw_dtk.hpp:1817
Dtk_Drawing
This is the drawing class. It basically contains a Dtk_View array.
Definition: util_draw_dtk.hpp:6709
Dtk_CompositeText::ConvertToDtk_string
Dtk_string ConvertToDtk_string() const
Merges the Dtk_CompositeText to Dtk_string.
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:1832
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:5163
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:945
Dtk_TextStyle::FontStyleEnum
FontStyleEnum
Definition: util_draw_dtk.hpp:252
Dtk_OneCell::_BorderRightColor
Dtk_RGB _BorderRightColor
Definition: util_draw_dtk.hpp:4062
Dtk_Welding::GetLengthTextArrowSide
Dtk_Text GetLengthTextArrowSide() const
Retrieves the ArrowSide Length Dtk_Text.
Dtk_Welding::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:3133
Dtk_View::IsView
bool IsView(ViewType typeView)
Checks if the view is of a given type.
Dtk_Oriented2dBBox::GetBottomCenterPoint
Dtk_pnt GetBottomCenterPoint() const
Retrieves the bottom center point - Read Only -.
Definition: util_draw_dtk.hpp:571
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:185
Dtk_Symbol::Dtk_Symbol
Dtk_Symbol(const Dtk_GeometricalTolerance &inToBeConverteds, const Dtk_bool &inTextAutoFlip=DTK_FALSE)
DTK_FALSE
#define DTK_FALSE
Definition: define.h:731
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:149
Dtk_FCFFeatureIndicatorType::m_RelatedGeomElements
Dtk_tab< Dtk_CurvePtr > m_RelatedGeomElements
Definition: util_draw_dtk.hpp:5770
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:6389
Dtk_Leader::ArrowHead::ArrowHead
ArrowHead()
Default constructor.
Definition: util_draw_dtk.hpp:2103
DTK_TYPE_SYMBOL
@ DTK_TYPE_SYMBOL
Definition: define.h:411
Dtk_CompositeEntity::Dtk_CompositeEntity
Dtk_CompositeEntity(const Dtk_CompositeEntity &s)
Dtk_Oriented2dBBox::Dtk_Oriented2dBBox
Dtk_Oriented2dBBox(const Dtk_pnt &inBottomLeft, const Dtk_Double64 &inXLength, const Dtk_Double64 inYLength, const Dtk_dir &inRefAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inNormalAxis=Dtk_dir(0, 0, 1))
Full featured constructor.
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:728
Dtk_Welding::SymbolSteepFlankedSingleBevelButtWeld
@ SymbolSteepFlankedSingleBevelButtWeld
Definition: util_draw_dtk.hpp:2957
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:5961
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:2865
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:3710
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:5796
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:2158
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:4053
Dtk_CompositeText::Clear
void Clear()
DTK_ANCHOR_MIDDLE_CENTER
@ DTK_ANCHOR_MIDDLE_CENTER
Definition: util_draw_dtk.hpp:95
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:3100
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:7816
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:5821
Dtk_Leader::ApplicationZone::Clear
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:1879
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:6379
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:550
Dtk_Grid::Local
@ Local
Definition: util_draw_dtk.hpp:4503
Dtk_Oriented2dBBox::_Reset
void _Reset()
Definition: util_draw_dtk.hpp:501
Dtk_Font::_ID
Dtk_Size_t _ID
Font ID.
Definition: util_draw_dtk.hpp:195
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:2138
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:6384
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:702
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:4508
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:4060
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:2934
Dtk_TextStyle::_char_height
Dtk_Double64 _char_height
Height of each char in the text.
Definition: util_draw_dtk.hpp:318
Dtk_Leader::ArrowHead::m_ArrowLocation
Dtk_pnt m_ArrowLocation
Definition: util_draw_dtk.hpp:2063
Dtk_Oriented2dBBox::GetYLength
Dtk_Double64 GetYLength() const
Retrieves the Y length - Read Only -.
Definition: util_draw_dtk.hpp:623
Dtk_Dimension::LinearRadiusDimension
@ LinearRadiusDimension
Definition: util_draw_dtk.hpp:4733
Dtk_Symbol::TypeHoleNote
@ TypeHoleNote
Definition: util_draw_dtk.hpp:6385
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:1876
Dtk_Unit
Dtk_Unit
Definition: util_draw_dtk.hpp:73
Dtk_View::AddView
void AddView(ViewType typeView)
Set the view as being of a given type.
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:256
Dtk_Roughness::GetMiddleRightText
Dtk_Text GetMiddleRightText() const
Gets the middle-right text - read only -.
Dtk_Leader::TerminatorTypeFilledTriangle
@ TerminatorTypeFilledTriangle
Definition: util_draw_dtk.hpp:1983
Dtk_Symbol::TypeCoordinateDimension
@ TypeCoordinateDimension
Definition: util_draw_dtk.hpp:6374
Dtk_Dimension::DistanceDimension
@ DistanceDimension
Definition: util_draw_dtk.hpp:4739
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_Boundary::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
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:2989
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:1995
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:91
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:4290
Dtk_Symbol::TypeRegion
@ TypeRegion
Definition: util_draw_dtk.hpp:6381
Dtk_Region::CylindricalType
@ CylindricalType
Definition: util_draw_dtk.hpp:7933
Dtk_DatumTarget
This is the Datum Target.
Definition: util_draw_dtk.hpp:3693
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:4737
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:4972
Dtk_Val
Definition: dtk_val.hpp:67
Dtk_Welding::SymbolFlangeCorner
@ SymbolFlangeCorner
Definition: util_draw_dtk.hpp:2975
Dtk_ReferenceBlock::operator=
Dtk_ReferenceBlock & operator=(const Dtk_ReferenceBlock &in)
Full featured constructor.
Dtk_Drawing::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:6711
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:936
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:661
Dtk_Roughness
This is the Roughness class.
Definition: util_draw_dtk.hpp:2555
Dtk_TextStyle::StyleItalic
@ StyleItalic
Definition: util_draw_dtk.hpp:258
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:1969
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:2048
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:4725
Dtk_Dimension::BasicTypeFlagRight
@ BasicTypeFlagRight
Definition: util_draw_dtk.hpp:4747
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:2107
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:6424
Dtk_FCFFeatureIndicatorType::operator=
Dtk_FCFFeatureIndicatorType & operator=(const Dtk_FCFFeatureIndicatorType &in)
Copy assignment operator.
Definition: util_draw_dtk.hpp:5858
Dtk_Welding::ComplementarySymbolEnumToString
static Dtk_string ComplementarySymbolEnumToString(const ComplementarySymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3075
Dtk_ReferenceFrame::Dtk_ReferenceFrame
Dtk_ReferenceFrame(const Dtk_ReferenceBlockPtr &ref)
Dtk_FCFFeatureIndicatorType::CollectionPlane
@ CollectionPlane
Definition: util_draw_dtk.hpp:5762
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:328
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:472
Dtk_Symbol::TypeAnnotationTable
@ TypeAnnotationTable
Definition: util_draw_dtk.hpp:6369
Dtk_FCFFeatureIndicator::Dtk_FCFFeatureIndicator
Dtk_FCFFeatureIndicator()
Definition: util_draw_dtk.hpp:5901
DTK_FRAME_TYPE_SYMMETRICAL_SET
@ DTK_FRAME_TYPE_SYMMETRICAL_SET
Definition: util_draw_dtk.hpp:162
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:181
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:7849
DTK_TYPE_BOUNDARY
@ DTK_TYPE_BOUNDARY
Definition: define.h:623
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:2967
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:2981
Dtk_ToleranceSpecificationContainer::TypeCylindricity
@ TypeCylindricity
Definition: util_draw_dtk.hpp:6064
DTK_ALIGN_NONE
@ DTK_ALIGN_NONE
Definition: util_draw_dtk.hpp:104
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:2003
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:129
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:131
Dtk_FCFFeatureIndicatorType::m_OuterBBox
Dtk_Oriented2dBBox m_OuterBBox
Definition: util_draw_dtk.hpp:5771
Dtk_Boundary::operator=
Dtk_Boundary & operator=(Dtk_Boundary &&in) DTK_NOEXCEPT
Move assignment operator.
Dtk_Text::InnerXAxis
Dtk_dir & InnerXAxis()
Retrieves the inner bounding box XAxis - get/set -.
Dtk_Leader::TerminatorTypeBottomFillArrow
@ TerminatorTypeBottomFillArrow
Definition: util_draw_dtk.hpp:2007
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:5145
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:2091
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:2400
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:314
Dtk_TextStyle::Ratio
const Dtk_Double64 & Ratio() const
Retrieves the text ratio - Read Only -.
Dtk_Welding::WeldTextSecondFilletLength
@ WeldTextSecondFilletLength
Definition: util_draw_dtk.hpp:3070
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:2939
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:324
DTK_INDIFFERENT_HIERARCHY
@ DTK_INDIFFERENT_HIERARCHY
Definition: util_draw_dtk.hpp:67
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:121
Dtk_OneCell::get_min_Height
Dtk_Double64 get_min_Height()
Gets the original height.
Dtk_Leader::TerminatorTypeSlash
@ TerminatorTypeSlash
Definition: util_draw_dtk.hpp:1975
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:7750
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:1113
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:4758
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:3772
Dtk_Region::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:7975
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:924
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:2185
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:7814
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:473
Dtk_CompositeText::operator[]
Dtk_Text & operator[](Dtk_Size_t inPos)
Access operator - get/set -.
Dtk_Welding::FinishSymbolGrind
@ FinishSymbolGrind
Definition: util_draw_dtk.hpp:3096
Dtk_Boundary
This is the Boundary class. The boundary defines the curves that delimit a closed area.
Definition: util_draw_dtk.hpp:7675
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:4284
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:630
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:106
Dtk_Roughness::ModeParallel
@ ModeParallel
Definition: util_draw_dtk.hpp:2590
Dtk_Leader::ArrowHead::operator=
ArrowHead & operator=(const ArrowHead &in)
Copy assignment operator.
Definition: util_draw_dtk.hpp:2167
Dtk_Annotation::~Dtk_Annotation
virtual ~Dtk_Annotation()
Destructor.
Dtk_TextStyle::TextJustificationEnum
TextJustificationEnum
Definition: util_draw_dtk.hpp:287
DTK_UNIT_M
@ DTK_UNIT_M
Definition: util_draw_dtk.hpp:78
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:726
DTK_ANCHOR_TOP_RIGHT
@ DTK_ANCHOR_TOP_RIGHT
Definition: util_draw_dtk.hpp:93
Dtk_Boundary::DtkDynamicCast
static Dtk_Boundary * DtkDynamicCast(Dtk_Object *)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Leader::ArrowHead::SetType
void SetType(const LeaderTerminatorTypeEnum inTerminatorType)
Definition: util_draw_dtk.hpp:2126
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:1888
util_ent_dtk.hpp
DTK_FDT_MODIFIER_MAX_MATERIAL
@ DTK_FDT_MODIFIER_MAX_MATERIAL
Definition: util_draw_dtk.hpp:56
Dtk_CompositeText::SetOuterXYAxis
Dtk_ErrorStatus SetOuterXYAxis(const Dtk_dir &inXaxis, const Dtk_dir &inYaxis)
Sets the outer bounding box X and Y axes for the Dtk_CompositeText and included Dtk_Texts.
Dtk_Leader::GetInfo
Dtk_InfoPtr & GetInfo()
Retrieves the infos.
Dtk_Welding::SymbolFilletWeld
@ SymbolFilletWeld
Definition: util_draw_dtk.hpp:2951
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:90
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:690
Dtk_Grid::Absolute
@ Absolute
Definition: util_draw_dtk.hpp:4501
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:604
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:310
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:2983
Dtk_Fdt::Create
static Dtk_FdtPtr Create(Dtk_Fdt &&inToBeMoved)
Calls move constructor to allocate a new object.
Dtk_View
This class is used to represent a drawing view of a 3D model. It can also be used to represent parts ...
Definition: util_draw_dtk.hpp:6970
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:6362
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:1989
Dtk_Symbol::TypeGeom
@ TypeGeom
Definition: util_draw_dtk.hpp:6375
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:79
Dtk_ToleranceSpecificationContainer::TypeSymmetry
@ TypeSymmetry
Definition: util_draw_dtk.hpp:6080
Dtk_Welding::WeldTextSize
@ WeldTextSize
Definition: util_draw_dtk.hpp:3066
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:5570
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:2965
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:2124
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:1900
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:4719
Dtk_Hatching::AddBoundary
void AddBoundary(Dtk_Boundary boundary)
Adds a boundary to the hatching area.
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:2133
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:1979
Dtk_ReferenceFrame::Translate
void Translate(const Dtk_dir &inTranslationDir)
Dtk_Char8
char Dtk_Char8
Definition: define.h:700
Dtk_Oriented2dBBox::GetMiddleCenterPoint
Dtk_pnt GetMiddleCenterPoint() const
Retrieves the middle center point - Read Only -.
Definition: util_draw_dtk.hpp:578
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:5147
Dtk_Leader::ArrowHead::GetInfo
Dtk_InfoPtr & GetInfo()
Definition: util_draw_dtk.hpp:2123
Dtk_Leader::ApplicationZone::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the ApplicationZone giving a translation vector.
Definition: util_draw_dtk.hpp:1911
Dtk_Welding::SymbolVFlareWeld
@ SymbolVFlareWeld
Definition: util_draw_dtk.hpp:2977
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:6084
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:1860
Dtk_Leader::ArrowHead::~ArrowHead
~ArrowHead()
Destructor.
Definition: util_draw_dtk.hpp:2105
Dtk_FCFFeatureIndicatorType::~Dtk_FCFFeatureIndicatorType
~Dtk_FCFFeatureIndicatorType()
Destructor.
Definition: util_draw_dtk.hpp:5805
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:4037
Dtk_Symbol::TypeCell
@ TypeCell
Definition: util_draw_dtk.hpp:6370
Dtk_Oriented2dBBox::YLocalVector
Dtk_dir YLocalVector() const
Retrieves the Y local vector - Read Only -.
Definition: util_draw_dtk.hpp:637
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:167
Dtk_Oriented2dBBox::GetBottomRightPoint
Dtk_pnt GetBottomRightPoint() const
Retrieves the bottom right point - Read Only -.
Definition: util_draw_dtk.hpp:594
error_dtk.hpp
Dtk_ToleranceSpecificationContainer::TypeCircularRunout
@ TypeCircularRunout
Definition: util_draw_dtk.hpp:6082
Dtk_Welding::SymbolSolderedJointWeld
@ SymbolSolderedJointWeld
Definition: util_draw_dtk.hpp:2995
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:285
Dtk_Drawing::GetNumViews
Dtk_Size_t GetNumViews() const
Retrieves the views number - read only -.
Dtk_Leader::TerminatorTypeSquare
@ TerminatorTypeSquare
Definition: util_draw_dtk.hpp:1971
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:2561
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:4998
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:6367
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_Boundary::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Frame::Clear
void Clear()
Clear elements.
Definition: util_draw_dtk.hpp:948
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:4034
Dtk_Oriented2dBBox::YLocalVector
Dtk_dir & YLocalVector()
Retrieves the Y local vector.
Definition: util_draw_dtk.hpp:740
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:4753
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:6371
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:2993
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:4051
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:320
DTK_FRAME_TYPE_NONE
@ DTK_FRAME_TYPE_NONE
Definition: util_draw_dtk.hpp:125
Dtk_OneCell::GetBorderBottomBlanked
Dtk_Int32 GetBorderBottomBlanked()
Gets BorderBottomBlanked of Bottom border.
Dtk_Dimension::AngularDimension
@ AngularDimension
Definition: util_draw_dtk.hpp:4723
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:4779
Dtk_ToleranceSpecificationContainer::TypeParallelism
@ TypeParallelism
Definition: util_draw_dtk.hpp:6074
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:326
Dtk_Oriented2dBBox::_YLength
Dtk_Double64 _YLength
Definition: util_draw_dtk.hpp:474
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:2999
Dtk_Roughness::SetTopLeftText
Dtk_ErrorStatus SetTopLeftText(Dtk_Text inText)
Sets the top-left text.
Dtk_Grid::None
@ None
Definition: util_draw_dtk.hpp:4494
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:2122
Dtk_FCFFeatureIndicatorType::_Init
void _Init()
DTK_FRAME_TYPE_ELLIPSE
@ DTK_FRAME_TYPE_ELLIPSE
Definition: util_draw_dtk.hpp:151
DTK_UNKNOWN
@ DTK_UNKNOWN
Definition: util_draw_dtk.hpp:64
DTK_FRAME_TYPE_PARALLELOGRAM
@ DTK_FRAME_TYPE_PARALLELOGRAM
Definition: util_draw_dtk.hpp:166
Dtk_ToleranceSpecificationContainer
This is the tolerance specification container. It is part of the Dtk_GeometricalTolerance....
Definition: util_draw_dtk.hpp:6053
Dtk_Leader::Dtk_Leader
Dtk_Leader(const Dtk_Leader &in)
Dtk_TextStyle::JustificationNone
@ JustificationNone
Definition: util_draw_dtk.hpp:294
Dtk_Boundary::Dtk_Boundary
Dtk_Boundary(Dtk_Boundary &&in) DTK_NOEXCEPT
Move constructor.
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:2557
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:94
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:83
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:2973
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:7929
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:2082
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:6363
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:260
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:3060
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:6380
Dtk_Table::Dtk_Table
Dtk_Table()
Default constructor.
Dtk_ToleranceSpecificationContainer::TypeSurfaceProfile
@ TypeSurfaceProfile
Definition: util_draw_dtk.hpp:6068
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:7954
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:1997
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:3104
DTK_FRAME_TYPE_NOTA
@ DTK_FRAME_TYPE_NOTA
Definition: util_draw_dtk.hpp:158
Dtk_Text::VerticalMirroring
@ VerticalMirroring
Definition: util_draw_dtk.hpp:1115
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:5757
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:3071
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:6870
Dtk_2dEntity::_Reset
void _Reset()
Dtk_pnt
This is a mathematical point class.
Definition: dtk_pnt.hpp:20
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:63
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:996
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:2943
Dtk_DatumTarget::ProcessCenterPoint
Dtk_pnt ProcessCenterPoint() const
Retrieves the center point - read only -.
Dtk_CompositeText::ReplaceTexts
void ReplaceTexts(const Dtk_tab< Dtk_Text > &inTexts)
Replaces all the included Dtk_Texts by the given ones.
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:191
Dtk_CompositeText::SetOuterYAxis
Dtk_ErrorStatus SetOuterYAxis(const Dtk_dir &axis_dir)
Sets the outer bounding box Y Axis for the Dtk_CompositeText and included Dtk_Texts.
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:1525
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:5766
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:44
Dtk_Welding::SymbolSingleBevelButtWeld
@ SymbolSingleBevelButtWeld
Definition: util_draw_dtk.hpp:2941
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:6062
util_stl_dtk.hpp
Dtk_TextStyle::AttributeOverline
@ AttributeOverline
Definition: util_draw_dtk.hpp:281
Dtk_TextStyle::JustificationRight
@ JustificationRight
Definition: util_draw_dtk.hpp:293
Dtk_Boundary::_Private
Dtk_Handle * _Private
Definition: util_draw_dtk.hpp:7677
Dtk_Welding::GetArrowSideSizeText
Dtk_CompositeText GetArrowSideSizeText() const
Retrieves the ArrowSideSizeText Dtk_CompositeText.
Dtk_ToleranceSpecificationContainer::TypeConcentricity
@ TypeConcentricity
Definition: util_draw_dtk.hpp:6078
Dtk_Oriented2dBBox::GetTopCenterPoint
Dtk_pnt GetTopCenterPoint() const
Retrieves the top center point - Read Only -.
Definition: util_draw_dtk.hpp:586
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:906
Dtk_Dimension::DiameterDimension
@ DiameterDimension
Definition: util_draw_dtk.hpp:4727
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:2059
Dtk_Leader::ArrowHead::_Copy
void _Copy(const ArrowHead &s)
Definition: util_draw_dtk.hpp:2074
Dtk_Leader::TerminatorTypeTopOpenArrow
@ TerminatorTypeTopOpenArrow
Definition: util_draw_dtk.hpp:2001
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:5869
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:2005
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:6372
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:2588
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:100
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:184
Dtk_Welding::SymbolSingleUButtWeld
@ SymbolSingleUButtWeld
Definition: util_draw_dtk.hpp:2947
Dtk_Text::GetOuterBoundingBox
const Dtk_Oriented2dBBox & GetOuterBoundingBox() const
Processes the outer bounding box.
Dtk_Annotation::Dtk_Annotation
Dtk_Annotation()
Default constructor.
Dtk_Boundary::GetExactRepresentation
dtk::Span< Dtk_CurvePtr > GetExactRepresentation() const
Retrieves all curves linked together that makes a boundary.
DTK_UNIT_RADIAN
@ DTK_UNIT_RADIAN
Definition: util_draw_dtk.hpp:84
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:1961
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:2128
Dtk_ToleranceSpecificationContainer::GetToleranceSpecificationOuterBoundingBox
Dtk_ErrorStatus GetToleranceSpecificationOuterBoundingBox(const Dtk_Size_t &inTolSpecPos, Dtk_Oriented2dBBox &outOuterBBox) const
Dtk_Welding::SymbolSpotWeld
@ SymbolSpotWeld
Definition: util_draw_dtk.hpp:2953
Dtk_Camera::GetZoomFitMode
const Dtk_Camera::ZoomFitModeEnum & GetZoomFitMode() const
Retrieves the zoom fit mode - read only -.
Dtk_CompositeText::CreateFrameAsGeometry
Dtk_ErrorStatus CreateFrameAsGeometry(Dtk_tab< Dtk_CurvePtr > &outGeoms) const
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:2582
DTK_NO_PATTERN
@ DTK_NO_PATTERN
Definition: util_ent_dtk.hpp:45
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:74
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:1119
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:2949
Dtk_Leader::ApplicationZone::_RelatedGeomElements
Dtk_tab< Dtk_CurvePtr > _RelatedGeomElements
Definition: util_draw_dtk.hpp:1844
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:84
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:2566
Dtk_TextStyle::~Dtk_TextStyle
~Dtk_TextStyle()
Destructor.
Dtk_Leader::TerminatorTypeCircleCenter
@ TerminatorTypeCircleCenter
Definition: util_draw_dtk.hpp:1991
Dtk_GeometricalTolerance
This is the geometrical tolerance. It's basically composed by one - or more - Dtk_ToleranceSpecifica...
Definition: util_draw_dtk.hpp:5568
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:503
Dtk_ToleranceSpecificationContainer::TypePerpendicularity
@ TypePerpendicularity
Definition: util_draw_dtk.hpp:6072
Dtk_Leader::ApplicationZone::ApplicationZone
ApplicationZone()
Default constructor.
Definition: util_draw_dtk.hpp:1870
Dtk_Roughness::Create
static Dtk_RoughnessPtr Create()
Calls default constructor to allocate a new object.
Dtk_CompositeText::SetOuterXAxis
Dtk_ErrorStatus SetOuterXAxis(const Dtk_dir &inXAxis)
Sets the outer bounding box X Axis for the Dtk_CompositeText and included Dtk_Texts.
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:5907
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:4745
Dtk_CompositeText::SetOuterAnchorPoint
Dtk_ErrorStatus SetOuterAnchorPoint(const Dtk_pnt &inNewLocationPnt, const Dtk_anchor_type &inNewAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_Int32 &inStartingGetText=-1, const Dtk_Int32 &inNumGetTexts=-1, const Dtk_Int32 &inStartingSetText=-1, const Dtk_Int32 &inNumSetTexts=-1)
Set the Dtk_CompositeText outer anchor point.
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:275
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:4376
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:4496
Dtk_Leader::ApplicationZone::_Copy
void _Copy(const ApplicationZone &s)
Definition: util_draw_dtk.hpp:1849
Dtk_Table::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:4317
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:160
Dtk_Roughness::ModeRadial
@ ModeRadial
Definition: util_draw_dtk.hpp:2584
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_CompositeText::GetInfo
const Dtk_InfoPtr & GetInfo() const
Retrieves the infos.
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:4039
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:2955
Dtk_Oriented2dBBox::_Copy
void _Copy(const Dtk_Oriented2dBBox &s)
Definition: util_draw_dtk.hpp:492
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:5891
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:1845
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:154
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:5289
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:6359
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:330
Dtk_ToleranceSpecificationContainer::TypeEnum
TypeEnum
Definition: util_draw_dtk.hpp:6055
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::operator+
friend Dtk_CompositeText operator+(const Dtk_Text &s1, const Dtk_Text &s2)
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:601
Dtk_ToleranceSpecificationContainer::GetLeftText
const Dtk_Text & GetLeftText() const
OBSOLETE Retrieves the Dtk_ToleranceSpecificationContainer left-text as Dtk_Text - read only -.
Dtk_ViewDisplay::Dtk_ViewDisplay
Dtk_ViewDisplay()
Dtk_Welding::ComplementarySymbolEnum
ComplementarySymbolEnum
Definition: util_draw_dtk.hpp:3045
Dtk_CompositeText::SetInnerAnchorPoint
Dtk_ErrorStatus SetInnerAnchorPoint(const Dtk_pnt &inNewLocationPnt, const Dtk_anchor_type &inNewAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_Int32 &inStartingGetText=-1, const Dtk_Int32 &inNumGetTexts=-1, const Dtk_Int32 &inStartingSetText=-1, const Dtk_Int32 &inNumSetTexts=-1)
Set the Dtk_CompositeText inner anchor point.
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:1955
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:4495
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:85
Dtk_Welding::WeldTextAngle
@ WeldTextAngle
Definition: util_draw_dtk.hpp:3063
Dtk_Frame::_RelatedGeomElements
Dtk_tab< Dtk_CurvePtr > _RelatedGeomElements
Definition: util_draw_dtk.hpp:909
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:5914
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:1985
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:133
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:170
Dtk_Leader::ApplicationZone::ApplicationZoneEnum
ApplicationZoneEnum
Definition: util_draw_dtk.hpp:1827
Dtk_Welding::SymbolFlareBevelButtWeld
@ SymbolFlareBevelButtWeld
Definition: util_draw_dtk.hpp:2945
Dtk_Font::FontOpentype
@ FontOpentype
Definition: util_draw_dtk.hpp:187
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:2064
Dtk_Region::Dtk_Region
Dtk_Region(const Dtk_Region &s)
Dtk_Oriented2dBBox::_BottomLeftPnt
Dtk_pnt _BottomLeftPnt
Definition: util_draw_dtk.hpp:470
Dtk_Hatching::GetBoundaries
dtk::Span< Dtk_Boundary > GetBoundaries() const
Retrieves the hatching area boundaries as a span. The first boundary is the outer boundary.
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:99
Dtk_OneCell::HasText
Dtk_bool HasText() const
Definition: util_draw_dtk.hpp:4094
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:7737
Dtk_OneCell::SetBorderBottomBlanked
void SetBorderBottomBlanked(const Dtk_Int32 &inBorderBottomBlanked)
Sets BorderBottomBlanked of Bottom border.
Dtk_Symbol::TypeAxisSystem
@ TypeAxisSystem
Definition: util_draw_dtk.hpp:6377
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_CompositeText::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the Dtk_CompositeText and included Dtk_Texts.
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:2065
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:96
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:5832
dtkNoError
@ dtkNoError
Definition: error_dtk.hpp:147
Dtk_tab::push_back
void push_back(const T &x)
Inserts an element at the end of the array.
Definition: util_stl_dtk.hpp:416
Dtk_Leader::ArrowHead::_Init
void _Init()
Definition: util_draw_dtk.hpp:2067
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:4070
Dtk_Leader::TerminatorTypeXCross
@ TerminatorTypeXCross
Definition: util_draw_dtk.hpp:1987
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:4369
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:127
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:2062
dtk::Span
Definition: span.hpp:15
Dtk_Symbol::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:6477
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:1741
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:1897
Dtk_Welding::FinishSymbolEnumToString
static Dtk_string FinishSymbolEnumToString(const FinishSymbolEnum &inEnum)
Definition: util_draw_dtk.hpp:3108
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:1942
Dtk_tab::clear
void clear(int no_delete=0)
Resets the Dtk_tab content.
Definition: util_stl_dtk.hpp:352
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:930
DTK_FDT_MODIFIER_REGARDLESS_OF_FEATURE_SIZE
@ DTK_FDT_MODIFIER_REGARDLESS_OF_FEATURE_SIZE
Definition: util_draw_dtk.hpp:58
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:908
Dtk_Boundary::GetSimplifiedRepresentation
const Dtk_PolylinePtr & GetSimplifiedRepresentation() const
Retrieves a simplified representation of the boundary as a polyline. Useful for simple display.
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:6070
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:3003
DTK_FRAME_TYPE_TRIANGLE
@ DTK_FRAME_TYPE_TRIANGLE
Definition: util_draw_dtk.hpp:137
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_CompositeText::AddText
void AddText(Dtk_Text inText)
Adds a Dtk_Text to the Dtk_CompositeText.
Dtk_ReferenceBlock::SetOuterBoundingBox
void SetOuterBoundingBox(const Dtk_Oriented2dBBox &inOuterBBox) const
Set the outer Bounding Box.
Dtk_Symbol::TypeCenterLine
@ TypeCenterLine
Definition: util_draw_dtk.hpp:6378
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:6366
Dtk_GeometricalTolerance::Clone
virtual Dtk_Object * Clone()
Definition: util_draw_dtk.hpp:5583
DTK_UNIT_FOOT
@ DTK_UNIT_FOOT
Definition: util_draw_dtk.hpp:81
DTK_FRAME_TYPE_HEXAGON
@ DTK_FRAME_TYPE_HEXAGON
Definition: util_draw_dtk.hpp:171
Dtk_Welding::SymbolSteepFlankedSingleVWeld
@ SymbolSteepFlankedSingleVWeld
Definition: util_draw_dtk.hpp:2959
Dtk_HatchingPattern::_angle
Dtk_Double64 _angle
Definition: util_draw_dtk.hpp:7578
DTK_WITHOUT_HIERARCHY
@ DTK_WITHOUT_HIERARCHY
Definition: util_draw_dtk.hpp:66
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:273
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:1973
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_CompositeText::GetWrappingWidth
const Dtk_Double64 & GetWrappingWidth() const
Retrieves the wrapping width.
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:4292
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_CompositeText::Translate
Dtk_ErrorStatus Translate(const Dtk_dir &inTranslateDir)
Translates the Dtk_CompositeText giving a translation vector.
Dtk_Leader::TerminatorTypeDoubleOpenArrow
@ TerminatorTypeDoubleOpenArrow
Definition: util_draw_dtk.hpp:1993
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:468
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:4288
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:2985
Dtk_TextStyle::StyleRegular
@ StyleRegular
Definition: util_draw_dtk.hpp:254
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.
span.hpp
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:4281
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:2969
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_Boundary::Dtk_Boundary
Dtk_Boundary(dtk::Span< Dtk_CurvePtr const > exactRepresentation, Dtk_PolylinePtr simplifiedRepresentation)
Construct a boundary provided both its exact representation as curves, as well as a simplified repres...
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:6973
Dtk_Welding::ComplementarySymbolWeldWithConvexFace
@ ComplementarySymbolWeldWithConvexFace
Definition: util_draw_dtk.hpp:3050
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:525
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:283
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:3251
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:4484
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:14
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:6364
Dtk_DatumTarget::GetDatumTargetMovableStatus
Dtk_DatumTarget::DatumTargetMovableStatusEnum GetDatumTargetMovableStatus() const
Gets the Movable status of the Dtk_DatumTarget.
Dtk_CompositeText::SetWrappingWidth
void SetWrappingWidth(const Dtk_Double64 &inWrappingWidth)
Sets the wrapping width.
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:7830
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:3092
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:1963
Dtk_OneCell::min_Width
Dtk_Double64 min_Width
The original width before mergers.
Definition: util_draw_dtk.hpp:4043
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:124
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:5764
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:1977
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:4751
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:2595
Dtk_Leader::GetApplicationZoneType
Dtk_Leader::ApplicationZone::ApplicationZoneEnum GetApplicationZoneType() const
Retrieves the Frame - read only -.
Dtk_DatumTarget::DatumTargetMovableStatusEnum
DatumTargetMovableStatusEnum
Definition: util_draw_dtk.hpp:3728
DTK_FRAME_TYPE_FLAG_RIGHT_TRIANGLE
@ DTK_FRAME_TYPE_FLAG_RIGHT_TRIANGLE
Definition: util_draw_dtk.hpp:168
Dtk_Boundary::~Dtk_Boundary
~Dtk_Boundary()
Destructor.
Dtk_Dimension::BasicTypeCircle
@ BasicTypeCircle
Definition: util_draw_dtk.hpp:4746
Dtk_GeometricalTolerance::get_type_detk
type_detk get_type_detk() const
Definition: util_draw_dtk.hpp:5600
Dtk_Welding::ComplementarySymbolWeldWithFlatFace
@ ComplementarySymbolWeldWithFlatFace
Definition: util_draw_dtk.hpp:3048
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:6753
Dtk_Frame::SetFrameData
void SetFrameData(const Dtk_frame_type &inFrameType, Dtk_tab< Dtk_CurvePtr > inRelatedGeomElements)
Set Frame informations.
Definition: util_draw_dtk.hpp:958
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:5800
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_CompositeText::GetOuterBoundingBox
const Dtk_Oriented2dBBox GetOuterBoundingBox(Dtk_bool inIncludeInvisible=DTK_TRUE) const
Processes the outer bounding box.
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:564
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:914
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:2183
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:103
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:6076
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:6855
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:5760
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:164
Dtk_DatumTarget::DatumTargetMovableStatusEnumToString
static Dtk_string DatumTargetMovableStatusEnumToString(const DatumTargetMovableStatusEnum &inEnum)
Definition: util_draw_dtk.hpp:3732
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:5843
Dtk_Entity
Definition: util_ent_dtk.hpp:353
Dtk_ToleranceSpecificationContainer::TypeLineProfile
@ TypeLineProfile
Definition: util_draw_dtk.hpp:6066
Dtk_Welding::SetArrowSideWeldingSymbol
void SetArrowSideWeldingSymbol(WeldingSymbolEnum inWeldingSymbol)
Set the WeldingSymbol of the ArrowSide.
Dtk_Welding::SymbolISOEdgeWeld
@ SymbolISOEdgeWeld
Definition: util_draw_dtk.hpp:2987
Dtk_Welding::AddOtherSideAssociatedGeometry
void AddOtherSideAssociatedGeometry(Dtk_EntityPtr inAssociatedGeometry)
Add an AssociatedGeometry of the OtherSide.
Dtk_Leader::TerminatorTypeOpenArrow
@ TerminatorTypeOpenArrow
Definition: util_draw_dtk.hpp:1959
Dtk_Font::FontPostscript
@ FontPostscript
Definition: util_draw_dtk.hpp:186