DATAKIT API  V2025.3
util_ent_dtk.hpp
Go to the documentation of this file.
1 #ifndef _UTIL_ENT_DTK_HPP_
2 #define _UTIL_ENT_DTK_HPP_
3 
9 #include "util/error_dtk.hpp"
11 #include "util/util_ptr_dtk.hpp"
12 #include "util_stl_dtk.hpp"
13 #include "def/define.h"
14 #include "dtk/config.hpp"
15 #include <iosfwd>
16 #include "util/dtk_val.hpp"
17 
18 class Dtk_Entity;
19 class Dtk_material;
20 class Dtk_MetaData;
21 
22 template <class T> class Dtk_SmartPtr;
23 
25 
28  DTK_PT_CROSS, // a cross which looks like a "X"
29  DTK_PT_PLUS, // a cross which looks like a "+"
30  DTK_PT_CONCENTRIC, // an unfilled circle
31  DTK_PT_COINCIDENT, // two unfilled concentric circles
32  DTK_PT_FULLCIRCLE, // a filled circle
33  DTK_PT_FULLSQUARE, // a filled square
34  DTK_PT_STAR, // a star which is the union of a 2D marker CROSS, a 2D marker PLUS and a 2D marker DOT
35  DTK_PT_DOT, // a dot
36  DTK_PT_SMALLDOT, // a small dot whose size is one pixel
37  DTK_PT_BIGFULLCIRCLE, // a big filled circle
38  DTK_PT_BIGFULLSQUARE, // a big filled square
39  DTK_PT_SQUARE, // an unfilled square
40  DTK_PT_UP_TRIANGLE, // a triangle pointing up
41  DTK_PT_DIAMOND // a square rotated by 90 degrees
42 };
43 
48  // ________________________________
50  // _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
52  // ________ _ _ _________ _ _ _____
54  // ________ _ _________ _ _________
56  // ................................
58  // ___ ___ ___ ___ ___ ___ ___ ___
60  // ___ . ___ . ___ . ___ . ___ . __
62  // --'\,-----'\,-----'\,-----'\,---
65 };
66 
67 extern int dtk_AddColorInTable(const Dtk_RGB&);
68 
69 class Dtk_Object;
70 template <class T>
71 class Dtk_SmartPtr;
72 class Dtk_Val;
73 struct Dtk_string_compare;
74 class Dtk_Info;
75 
76 //class Dtk_Connector;
77 //class Dtk_ConnectorPart;
78 
79 //typedef Dtk_SmartPtr<Dtk_Connector> Dtk_ConnectorPtr;
80 //typedef Dtk_SmartPtr<Dtk_ConnectorPart> Dtk_ConnectorPartPtr;
81 //
82 //typedef Dtk_tab<Dtk_ConnectorPtr> Dtk_ConnectorTab;
83 //typedef Dtk_tab<Dtk_ConnectorPartPtr> Dtk_ConnectorPartTab;
84 
85 class Dtk_UUID;
86 class Dtk_pnt;
87 class Dtk_dir;
88 class Dtk_RGB;
89 class Dtk_string;
90 
91 
92 
93 
94 
95 
97 {
98  bool operator()(const Dtk_string& s1, const Dtk_string& s2) const
99  {
100  return s1.cmp(s2) < 0;
101  }
102 };
103 
105 {
106  bool operator()(const Dtk_string& s1, const Dtk_string& s2) const
107  {
108  return s1.icmp(s2) < 0;
109  }
110 };
117 class Dtk_Info : public Dtk_Object
118 {
119 
120 protected:
121  enum { _typeID = DTK_TYPE_INFO };
122  struct Dtk_Handle; // Not defined here
123  Dtk_Handle *_Private; // Handle
125  void _init();
126  void _copy(const Dtk_Info& s);
127  void _reset();
129  Dtk_Info(const Dtk_Info& s);
131  friend class Dtk_SmartPtr<Dtk_Info>;
132  virtual Dtk_Object* Clone() { return new Dtk_Info(*this); }
133 public:
135  {
141  };
142 
143  //downcasting
144  int DtkDynamicType(const Dtk_Int32& inId);
146 
151 
153 
155  Dtk_Val const * FindAttribute(const Dtk_string& name) const; // If not found, returns nullptr.
156  Dtk_ErrorStatus ListAttributes(const Dtk_string& substring, Dtk_tab<Dtk_string>& tab_keys) const;
160 
175  Dtk_ErrorStatus SetColor( const int&R, const int&G, const int&B );// {return SetColorId( dtk_AddColorInTable( Dtk_RGB( R, G, B ) ) ); }
176  Dtk_ErrorStatus SetColor( const Dtk_RGB & inColor );// {return SetColorId( dtk_AddColorInTable( inColor ) ); }
177 
178 
184  Dtk_ErrorStatus SetCurveThickNess(const Dtk_Int32 &inCurveThickNess);
188  Dtk_ErrorStatus SetCurveLineTypeDefinitionId( const Dtk_ID & inLineTypeDefinitionId );
190  Dtk_ErrorStatus SetCurveLineType(const Dtk_Int32 &inCurveLineType);
193  Dtk_ErrorStatus SetInfiniteGeometryFlag(const Dtk_Int32 &inInfiniteGeometryFlag);
194  Dtk_ErrorStatus SetRefEntityFlag( const Dtk_Int32 &inRefEntityFlag );
195  Dtk_ErrorStatus SetMandatoryFlag(const enum MandatoryFlag &inMandatoryFlag);
200  //Deprecated use AddRenderInfos and AddMaterialInfos methods instead
206 
207 
208  int GetActivationFlag() const;
209  int GetFlexibleFlag() const;
211  int GetDefaultChildIndex() const;
213  int GetUse() const;
214  int GetAddedItemFlag() const;
215  int GetHierarchy() const;
217  int GetFontId() const;
218  int GetFormFlag() const;
219  int GetMatId() const;
220  int GetSubordFlag() const;
221  int GetId() const;
222  int GetViewId() const;
224 
238  Dtk_RGB GetColor() const;
239  int GetColorId() const;
240 
246 
250  int GetLayer() const;
251 
258  int GetBlankedStatus() const;
259 
261  int GetCurveThickNess() const;
262 
267 
271 
275 
279 
283 
286  enum MandatoryFlag GetMandatoryFlag() const;
287 
288 
290  int GetRefEntityFlag() const;
291  Dtk_UUID GetUuid() const;
293 
294  //Deprecated use GetRenderInfos() and GetPhysicalMaterialInfos() methods instead.
296 
301 
306 
310 
314 
317 
318 
323 
329  void SetIsUpToDate( const Dtk_bool isUpToDate );
330 
331 
332  friend std::ostream& operator<<(std::ostream& o,const Dtk_Info& d);
333  virtual Dtk_Size_t GetSize() const;
334  virtual Dtk_ErrorStatus _Store(void*);
335 };
336 
337 
338 class Dtk_Entity : public Dtk_Object
339 {
340 protected:
341  struct Dtk_Handle; // Not defined here
342  Dtk_Handle *_Private; // Handle
344  void _init();
345  void _copy(const Dtk_Entity& s);
346  void _reset();
347 
348  virtual Dtk_Object* Clone() = 0;
349  friend class Dtk_SmartPtr<Dtk_Entity>;
350 public:
356 
357  virtual ~Dtk_Entity();
360  const Dtk_ID& GetID() const;
361 
362  virtual enum type_detk get_type_detk() const=0;
363 
364  //downcasting
365  int DtkDynamicType(const int& inId);
367 
370  //virtual Dtk_status Transform(const Dtk_transfo& inTransfo)=0;
372  friend std::ostream& operator<<(std::ostream& o,const Dtk_Entity& d);
373 
374  virtual Dtk_ErrorStatus _Store(void*);
375  virtual Dtk_Size_t GetSize() const;
376 
377  virtual void PrepareTransfo ();
378 };
379 
381 
382 class Dtk_LayerInfosSet;
383 class Dtk_ColorInfosSet;
385 class Dtk_AxisSystem;
386 class Dtk_ModelDisplay;
387 class Dtk_Constraint;
396 
397 
398 
399 
404 {
405 protected:
406  struct Dtk_Handle; // Not defined here
407  Dtk_Handle *_Private; // Handle
409 
410  Dtk_LayerFilterInfos(const Dtk_Size_t inNumLayers, Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersActivatedByDefault = DTK_FALSE);
413  void _Init(const Dtk_Size_t inNumLayers);
414  void _Copy(const Dtk_LayerFilterInfos &s);
415  void _Reset();
416  friend class Dtk_SmartPtr< Dtk_LayerFilterInfos >;
417  friend class Dtk_LayerInfosSet;
418 public:
421 
424 
427 
430  void SelectLayer(const Dtk_Size_t inNumLayer);
431 
434  void SelectLayers(const Dtk_tab< Dtk_Size_t >& inNumLayers);
435 
438  void UnselectLayer(const Dtk_Size_t inLayerPos);
439 
442  void UnselectLayers(const Dtk_tab< Dtk_Size_t >& inNumLayers);
443 
444 
448  Dtk_bool IsLayerSelected(const Dtk_Size_t inLayerPos) const;
449 
452  void GetSelectedLayers(Dtk_tab< Dtk_Size_t >& outSelectedLayers) const;
453 
456  void GetName(Dtk_string& outLayerFilterName) const;
457 
460  void GetDescription(Dtk_string& outLayerFilterDescription) const;
461 };
462 
468 {
469 public:
470 protected:
471  struct Dtk_Handle; // Not defined here
472  Dtk_Handle *_Private; // Handle
475  Dtk_LayerInfosSet(const Dtk_Size_t inNumLayers);
476 
479  virtual Dtk_Object* Clone() { return new Dtk_LayerInfosSet(*this); }
480 
483 private:
484  void _Init(const Dtk_Size_t inNumLayers);
485  void _Copy(const Dtk_LayerInfosSet &s);
486  void _Reset();
487  friend class Dtk_SmartPtr<Dtk_LayerInfosSet>;
488 public:
491 
494 
497 
499  static Dtk_LayerInfosSetPtr Create(const Dtk_Size_t inNumLayers);
500 
507  Dtk_LayerFilterInfosPtr CreateLayerFilterInfos( Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersActivatedByDefault = DTK_FALSE, const Dtk_bool IsDefaultLayerFilter = DTK_FALSE);
508 
512 
516 
522  Dtk_ErrorStatus SetLayerName(const Dtk_Size_t inLayerPos, const Dtk_string& inLayerName);
523 
530  Dtk_ErrorStatus GetLayerName( const Dtk_Size_t inLayerPos, Dtk_string& outLayerName ) const;
531 
538  Dtk_ErrorStatus GetLayerNameById( const Dtk_ID inLayerID, Dtk_string& outLayerName ) const;
539 
545 
550  Dtk_ErrorStatus GetDefaultLayer(Dtk_Size_t& outDefaultLayer) const;
551 
556  Dtk_ErrorStatus GetDefaultLayerFilter(Dtk_Size_t& outDefaultLayerFilter) const;
557 
562 
568  Dtk_ErrorStatus SetLayerID(const Dtk_Size_t inLayerPos, const Dtk_ID& inLayerID);
569 
575  Dtk_ErrorStatus GetLayerID(const Dtk_Size_t inLayerPos, Dtk_ID& outLayerID) const;
576 
577 };
578 
579 
585 {
586 public:
587 protected:
588  struct Dtk_Handle; // Not defined here
589  Dtk_Handle *_Private; // Handle
592  Dtk_ColorInfosSet(const Dtk_Size_t inNumColors);
593 
596  virtual Dtk_Object* Clone() { return new Dtk_ColorInfosSet(*this); }
597 
600 private:
601  void _Init(const Dtk_Size_t inNumColors);
602  void _Copy(const Dtk_ColorInfosSet &s);
603  void _Reset();
604  friend class Dtk_SmartPtr<Dtk_ColorInfosSet>;
605 public:
608 
611 
614 
616  static Dtk_ColorInfosSetPtr Create(const Dtk_Size_t inNumColors);
617 
621 
627  Dtk_Size_t AddColor(const Dtk_ID inColorReadId, const Dtk_string& inColorName,const Dtk_RGB& inColorDef);
628 
629 
635  Dtk_ErrorStatus SetColorName(const Dtk_Size_t inColorPos, const Dtk_string& inColorName);
636 
643  Dtk_ErrorStatus GetColorName(const Dtk_Size_t inColorPos, Dtk_string& outColorName) const;
644 
651  Dtk_ErrorStatus GetColorNameById(const Dtk_ID inColorReadId, Dtk_string& outColorName) const;
652 
658 
663  Dtk_ErrorStatus GetDefaultColor(Dtk_Int32& outDefaultColor) const;
664 
670  Dtk_ErrorStatus SetColorID(const Dtk_Size_t inColorPos, const Dtk_ID& inColorReadID);
671 
677  Dtk_ErrorStatus GetColorID(const Dtk_Size_t inColorPos, Dtk_ID& outColorReadID) const;
678 
684  Dtk_ErrorStatus GetColorDefinition(const Dtk_Size_t inColorPos, Dtk_RGB& outColorDef) const;
685 
686 };
687 
693 class Dtk_Preview;
695 
696 
697 class Dtk_Preview: public Dtk_Object
698 {
699 public:
700  //downcasting
701  int DtkDynamicType(const int& inId);
703 
704  //constructors
706  static Dtk_PreviewPtr Create(const char* inStream,const Dtk_Int32 inSizeStream);
707  char *GetStream();
710  void SetType(preview_type_detk inPreviewType);
711 
712 protected:
714  Dtk_Preview(const char* inStream,const Dtk_Int32 inSizeStream);
715  virtual ~Dtk_Preview();
716  struct Dtk_Handle;
717  Dtk_Handle *_Private;
718  void _Init();
719  void _Copy(const Dtk_Preview& s);
720  void _Reset();
721  friend class Dtk_SmartPtr<Dtk_Preview>;
722 };
723 
724 
732 {
733 public:
734 
737 
738 
746  void SetName(const Dtk_string& in) ;
747 
750  const Dtk_transfo& GetMatrix() const;
751 
756  void SetMatrix(const Dtk_transfo& in) ;
757 
761  int GetIsVisible() const;
765  void SetIsVisible() ;
766 
770  int GetIsHidden() const;
774  void SetIsHidden() ;
775 
783  void SetDefaultStatus(Dtk_bool inDefaultStatus) ;
784 
785 
786 
789 
791  virtual void conv_ptr(Dtk_AxisSystem ** s){*s = this;}
792  int DtkDynamicType(const int& inId);
794 
797 
798 protected:
800  virtual ~Dtk_AxisSystem();
801  struct Dtk_Handle;
802  Dtk_Handle *_Private;
803  void _Init();
804  void _copy(const Dtk_AxisSystem& s);
805  void _reset();
806  inline virtual Dtk_Object* Clone() { return new Dtk_AxisSystem(*this); }
807  friend class Dtk_SmartPtr<Dtk_AxisSystem>;
808 
809 };
815 {
816 protected:
817  struct Dtk_Handle; // Not defined here
818  Dtk_Handle *_Private; // Handle
820 
823 
826 
829  const Dtk_CameraPtr& inCamera,
831  const Dtk_bool inIsActivated);
832 
833  inline virtual Dtk_Object* Clone() { return new Dtk_ModelDisplay(*this); }
834 
837 private:
838  void _Init();
839  void _Copy(const Dtk_ModelDisplay &s);
840  void _Reset();
841  friend class Dtk_SmartPtr<Dtk_ModelDisplay>;
842 
843 public:
845  {
855  };
863  };
864 
867 
870 
873 
880  const Dtk_CameraPtr& inCamera,
882  const Dtk_bool inIsActivated);
883 
886  const Dtk_CameraPtr& GetCamera() const;
887 
891 
895 
898 
901 
903  void SetIsStandardView() const;
904 
907 
910  void SetSectionInformation(const SectionTypeEnum& inSectionType, const Dtk_Int32& inIsLocked = DTK_FALSE, const Dtk_Double64& inThickness=0.0) const;
911 
926  void GetSectionInformation(SectionTypeEnum& outSectionType, Dtk_Int32& outIsLocked, Dtk_Double64& outThickness) const;
927 
930 
932  void GetVisibleLayers( Dtk_tab<Dtk_Int32> &outVisibleLayers )const;
933  void SetVisibleLayers( const Dtk_tab<Dtk_Int32> & inVisibleLayers );
934 
935 };
936 
937 
945 {
946 public:
947 
950 
951 
959 
960 
964  const Dtk_pnt& GetPosition(Dtk_bool & outHasPosition) const;
967  void SetPosition(const Dtk_pnt& in);
968 
969 
972 
974  virtual void conv_ptr(Dtk_ConstraintReference ** s) { *s = this; }
975  int DtkDynamicType(const int& inId);
977 
980 
981 protected:
984  struct Dtk_Handle;
985  Dtk_Handle *_Private;
986  void _Init();
988  void _Reset();
989  inline virtual Dtk_Object* Clone() { return new Dtk_ConstraintReference(*this); }
991 
992 };
993 
994 
1002 {
1003 public:
1005  {
1011  };
1013  {
1014  switch( inEnum )
1015  {
1016  case ValueTypeSame: return L"TypeSame";
1017  case ValueTypeOpposite: return L"TypeOpposite";
1018  case ValueTypeInternal: return L"TypeInternal";
1019  case ValueTypeExternal: return L"TypeExternal";
1020  default:
1021  case ValueTypeUndefined: return L"TypeUndefined";
1022  }
1023  }
1024 
1026  {
1033  };
1035  {
1036  switch( inEnum )
1037  {
1038  case ValueTypeAngle: return L"Angle";
1039  case ValueTypeDistance: return L"Distance";
1040  case ValueTypePosition: return L"Position";
1041  case ValueTypeRotation: return L"Rotation";
1042  case ValueTypeOrientation: return L"Orientation";
1043  default:
1044  case ValueTypeUnknown: return L"TypeUnknown";
1045  }
1046  }
1047 
1049  {
1050  public:
1053 
1054  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit);
1055  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue);
1056 
1063  private:
1064 
1065  };
1066 
1068  {
1114  TypeWidth
1115  };
1117  {
1118  switch (inEnum)
1119  {
1120  case TypeAlign: return L"TypeAlign";
1121  case TypeAngle: return L"TypeAngle";
1122  case TypeBond: return L"TypeBond";
1123  case TypeCam: return L"TypeCam";
1124  case TypeCenter: return L"TypeCenter";
1125  case TypeConcentric: return L"TypeConcentric";
1126  case TypeCoincidence: return L"TypeCoincidence";
1127  case TypeDistance: return L"TypeDistance";
1128  case TypeFit: return L"TypeFit";
1129  case TypeFix: return L"TypeFix";
1130  case TypeGear: return L"TypeGear";
1131  case TypeHinge: return L"TypeHinge";
1132  case TypeLimit: return L"TypeLimit";
1133  case TypeLinear: return L"TypeLinear";
1134  case TypeLinearCoupler: return L"TypeLinearCoupler";
1135  case TypeLock: return L"TypeLock";
1136  case TypeOrientAngle: return L"TypeOrientAngle";
1137  case TypeParallel: return L"TypeParallel";
1138  case TypePathMate: return L"TypePathMate";
1139  case TypePerpendicular: return L"TypePerpendicular";
1140  case TypeProfileCenter: return L"TypeProfileCenter";
1141  case TypeRackPinion: return L"TypeRackPinion";
1142  case TypeScrew: return L"TypeScrew";
1143  case TypeSlot: return L"TypeSlot";
1144  case TypeSymmetric: return L"TypeSymmetric";
1145  case TypeTangent: return L"TypeTangent";
1146  case TypeTouch: return L"TypeTouch";
1147  case TypeUniversalJoint: return L"TypeUniversalJoint";
1148  case TypeWidth: return L"TypeWidth";
1149  default:
1150  case TypeUnknown: return L"Unknown";
1151  }
1152  }
1153 
1156 
1157 
1159 
1167 
1172 
1176  const _ConstraintValue& GetConstraintValue( const Dtk_Size_t &index ) const;
1177 
1181  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue, Dtk_Int32& outEnableLowerLimit, Dtk_Double64& outLowerLimit, Dtk_Int32& outEnableUpperLimit, Dtk_Double64& outUpperLimit ) const;
1182  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue ) const;
1183 
1188 
1191  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit );
1192  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue );
1193 
1210 
1211 
1214 
1216  virtual void conv_ptr(Dtk_Constraint ** s) { *s = this; }
1217  int DtkDynamicType(const int& inId);
1219 
1222 
1223 protected:
1225  virtual ~Dtk_Constraint();
1226  struct Dtk_Handle;
1227  Dtk_Handle *_Private;
1228  void _Init();
1229  void _Copy(const Dtk_Constraint& s);
1230  void _Reset();
1231  inline virtual Dtk_Object* Clone() { return new Dtk_Constraint(*this); }
1232  friend class Dtk_SmartPtr<Dtk_Constraint>;
1233 
1234 };
1235 
1236 #endif
DTK_TYPE_COLOR_INFOS_SET
@ DTK_TYPE_COLOR_INFOS_SET
Definition: define.h:507
Dtk_Entity::Dtk_Entity
Dtk_Entity()
Dtk_Constraint::TypeFix
@ TypeFix
Definition: util_ent_dtk.hpp:1088
Dtk_LayerInfosSet::GetNumLayers
Dtk_Size_t GetNumLayers() const
Retrieves the number of layers.
Dtk_ConstraintReference::SetNodeConnector
void SetNodeConnector(const Dtk_NodeConnectorPtr &in)
Set the type of the Constraint .
Dtk_Info::GetFlexibleFlag
int GetFlexibleFlag() const
Dtk_Info::FindAttribute
Dtk_ErrorStatus FindAttribute(const Dtk_string &name, Dtk_Val &val) const
Dtk_ModelDisplay::Create
static Dtk_ModelDisplayPtr Create(const Dtk_CameraPtr &inCamera, const Dtk_EntityPtr &inClippingEntity, const Dtk_bool inIsActivated)
Full featured constructor.
Dtk_ConstraintReference::DtkDynamicCast
static Dtk_ConstraintReference * DtkDynamicCast(Dtk_Object *inObject)
DTK_TYPE_LAYER_INFOS_SET
@ DTK_TYPE_LAYER_INFOS_SET
Definition: define.h:503
Dtk_ModelDisplay::GetVisibleLayers
void GetVisibleLayers(Dtk_tab< Dtk_Int32 > &outVisibleLayers) const
Visible layer for Dtk_ModelDisplay.
Dtk_ConstraintReference::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:984
Dtk_pair
Definition: util_stl_dtk.hpp:919
Dtk_LayerFilterInfos::Dtk_LayerFilterInfos
Dtk_LayerFilterInfos(const Dtk_Size_t inNumLayers, Dtk_string inName=L"", Dtk_string inDescription=L"", const Dtk_bool inAreLayersActivatedByDefault=DTK_FALSE)
Dtk_Info::GetReferenceSet
Dtk_ErrorStatus GetReferenceSet(Dtk_tab< Dtk_string > &outArray, Dtk_Int32 inRemovePrefix=DTK_FALSE) const
Dtk_Entity::get_info
Dtk_InfoPtr get_info() const
Dtk_LayerInfosSetPtr
Dtk_SmartPtr< Dtk_LayerInfosSet > Dtk_LayerInfosSetPtr
Definition: util_ent_dtk.hpp:388
Dtk_ID
uint32_t Dtk_ID
Definition: define.h:689
Dtk_AxisSystem::SetMatrix
void SetMatrix(const Dtk_transfo &in)
Get the Matrix of the AxisSystem.
Dtk_Info::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:122
Dtk_transfo
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
Dtk_AxisSystem::GetIsVisible
int GetIsVisible() const
Get the visibility status.
Dtk_ColorInfosSet::GetDefaultColor
Dtk_ErrorStatus GetDefaultColor(Dtk_Int32 &outDefaultColor) const
Gets the default color number.
Dtk_Info::GetName
Dtk_string GetName() const
Retrieves the entity name.
Pdfw::inCamera
Dtk_CameraPtr inCamera
Definition: pdfw.hpp:654
Dtk_AxisSystemPtr
Dtk_SmartPtr< Dtk_AxisSystem > Dtk_AxisSystemPtr
Definition: util_ent_dtk.hpp:392
Dtk_LayerInfosSet::GetDefaultLayerFilter
Dtk_ErrorStatus GetDefaultLayerFilter(Dtk_Size_t &outDefaultLayerFilter) const
Gets the default layer filter number.
Dtk_Info::GetPhysicalMaterialInfos
Dtk_PhysicalMaterialInfosPtr GetPhysicalMaterialInfos() const
Retrieves the entity MaterialInfos.
Dtk_Constraint::_ConstraintValue
Definition: util_ent_dtk.hpp:1049
Dtk_Entity::GetID
const Dtk_ID & GetID() const
Get Internal UniqueID.
Dtk_Preview::~Dtk_Preview
virtual ~Dtk_Preview()
Dtk_Info::SetCurveThickNess
Dtk_ErrorStatus SetCurveThickNess(const Dtk_Int32 &inCurveThickNess)
Dtk_ModelDisplay::rendering_mode_wireframe_face_analysis
@ rendering_mode_wireframe_face_analysis
Definition: util_ent_dtk.hpp:851
Dtk_LayerInfosSet::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:471
Dtk_string::cmp
int cmp(const Dtk_WChar_t *s2) const
Dtk_Info::SetFormFlag
Dtk_ErrorStatus SetFormFlag(const Dtk_Int32 &inFormFlag)
Dtk_Info::GetBlankedStatus
int GetBlankedStatus() const
Retrieves the entity Blanked Status.
Dtk_ConstraintReference::Dtk_ConstraintReference
Dtk_ConstraintReference(const Dtk_ConstraintReference &p)
Dtk_LayerFilterInfos::GetSelectedLayers
void GetSelectedLayers(Dtk_tab< Dtk_Size_t > &outSelectedLayers) const
Retrieves all the selected layers into the layer filter.
Dtk_Info::GetAddedItemFlag
int GetAddedItemFlag() const
Dtk_Info::SetFlexibleFlag
Dtk_ErrorStatus SetFlexibleFlag(const Dtk_Int32 &inIsFlexible)
Dtk_Info::AddAttribute
Dtk_ErrorStatus AddAttribute(Dtk_string name, Dtk_Val val)
Dtk_ColorInfosSet::GetNumColors
Dtk_Size_t GetNumColors() const
Retrieves the number of colors.
Dtk_Info::GetInfiniteGeometryFlag
int GetInfiniteGeometryFlag() const
Dtk_Constraint::TypeSlot
@ TypeSlot
Definition: util_ent_dtk.hpp:1106
Dtk_Info
This is the generic Info class.
Definition: util_ent_dtk.hpp:118
Dtk_Info::SetName
Dtk_ErrorStatus SetName(Dtk_string inName)
Dtk_Constraint::_ConstraintValue::_ConstraintValue
_ConstraintValue()
Dtk_ConstraintReference::Dtk_ConstraintReference
Dtk_ConstraintReference()
Dtk_Constraint::SetValue
void SetValue(const ConstraintValueTypeEnum &inValueType, Dtk_Val &inValue)
Dtk_LayerFilterInfos::DtkDynamicCast
static Dtk_LayerFilterInfos * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ModelDisplay::GetSectionInformation
void GetSectionInformation(SectionTypeEnum &outSectionType, Dtk_Int32 &outIsLocked, Dtk_Double64 &outThickness) const
Get the type of the Section on the Dtk_Capture.
Dtk_Info::GetPointSymbolType
Dtk_PointType GetPointSymbolType() const
Retrieves the Symbol Type - for point only -.
Dtk_ColorInfosSet::~Dtk_ColorInfosSet
~Dtk_ColorInfosSet()
Destructor.
Dtk_Constraint::GetConstraintValue
const _ConstraintValue & GetConstraintValue(const Dtk_Size_t &index) const
Get the Dtk_Constraint::_ConstraintValue at the specified index.
Dtk_AxisSystem::~Dtk_AxisSystem
virtual ~Dtk_AxisSystem()
Dtk_Info::create
static Dtk_SmartPtr< Dtk_Info > create(const Dtk_Info &s)
Dtk_Info::GetColorId
int GetColorId() const
config.hpp
Dtk_Info::GetMandatoryFlag
enum MandatoryFlag GetMandatoryFlag() const
Retrieves the Mandatory Flag.
Dtk_Info::GetDefaultChildIndex
int GetDefaultChildIndex() const
Dtk_Constraint::TypeLinearCoupler
@ TypeLinearCoupler
Definition: util_ent_dtk.hpp:1093
Dtk_ModelDisplay::GetIsStandardView
Dtk_bool GetIsStandardView() const
Get DTK_TRUE if this Dtk_ModelDisplay is a Standard View , DTK_FALSE if it is a user defined view .
Dtk_LayerInfosSet::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:496
dtk_AddColorInTable
int dtk_AddColorInTable(const Dtk_RGB &)
Dtk_Constraint::ConstraintOrientationTypeEnum
ConstraintOrientationTypeEnum
Definition: util_ent_dtk.hpp:1005
Dtk_Preview::SetType
void SetType(preview_type_detk inPreviewType)
Dtk_LayerInfosSet::SetLayerID
Dtk_ErrorStatus SetLayerID(const Dtk_Size_t inLayerPos, const Dtk_ID &inLayerID)
Sets the LayerID giving its number.
Dtk_LayerFilterInfos::SelectLayer
void SelectLayer(const Dtk_Size_t inNumLayer)
Select the given layer number in the layer filter.
Dtk_Constraint::TypeWidth
@ TypeWidth
Definition: util_ent_dtk.hpp:1114
Dtk_LayerInfosSet::SetDefaultLayer
Dtk_ErrorStatus SetDefaultLayer(const Dtk_Size_t inDefaultLayer)
Sets the default layer number.
Dtk_AxisSystem::Dtk_AxisSystem
Dtk_AxisSystem()
DTK_TYPE_MODEL_DISPLAY
@ DTK_TYPE_MODEL_DISPLAY
Definition: define.h:485
Dtk_Constraint::TypeAlign
@ TypeAlign
Definition: util_ent_dtk.hpp:1071
Dtk_Constraint::conv_ptr
virtual void conv_ptr(Dtk_Constraint **s)
Definition: util_ent_dtk.hpp:1216
Dtk_AxisSystem::operator=
Dtk_AxisSystem & operator=(const Dtk_AxisSystem &p)
Dtk_Constraint::GetValuesTypes
Dtk_tab< ConstraintValueTypeEnum > GetValuesTypes() const
Get all types of values in the Constraint.
Dtk_Info::XYPlane
@ XYPlane
Definition: util_ent_dtk.hpp:137
Dtk_Entity::Dtk_Entity
Dtk_Entity(Dtk_Entity &&s) DTK_NOEXCEPT
Dtk_Info::GetCurveThickNessInMM
Dtk_Double64 GetCurveThickNessInMM() const
Retrieves the curve thickness - if exists and relevant -.
Dtk_ColorInfosSet::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Info::GetRefEntityFlag
int GetRefEntityFlag() const
DTK_TYPE_ENTITY
@ DTK_TYPE_ENTITY
Definition: define.h:466
Dtk_string_compare_case_insensitive
Definition: util_ent_dtk.hpp:105
Dtk_LayerFilterInfos::IsLayerSelected
Dtk_bool IsLayerSelected(const Dtk_Size_t inLayerPos) const
Tells if the asked layer is selected or not giving its number.
catiav5w::inTransfo
const Dtk_string const Dtk_transfo & inTransfo
Definition: catiav5w.hpp:619
Dtk_Info::GetPersistentName
Dtk_string GetPersistentName() const
Dtk_LayerFilterInfos::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:408
DTK_CENTERLINE
@ DTK_CENTERLINE
Definition: util_ent_dtk.hpp:55
Dtk_Constraint::Dtk_Constraint
Dtk_Constraint()
Dtk_Entity::operator<<
friend std::ostream & operator<<(std::ostream &o, const Dtk_Entity &d)
Dtk_PreviewPtr
Dtk_SmartPtr< Dtk_Preview > Dtk_PreviewPtr
Definition: util_ent_dtk.hpp:693
Dtk_Constraint::_ConstraintValue::_ValueUpper
Dtk_Double64 _ValueUpper
Definition: util_ent_dtk.hpp:1062
Dtk_Constraint::ValueTypeSame
@ ValueTypeSame
Definition: util_ent_dtk.hpp:1007
Dtk_Constraint::TypeSymmetric
@ TypeSymmetric
Definition: util_ent_dtk.hpp:1108
Dtk_Constraint::_Copy
void _Copy(const Dtk_Constraint &s)
DTK_PT_CROSS
@ DTK_PT_CROSS
Definition: util_ent_dtk.hpp:28
Dtk_Info::SetRenderInfosId
Dtk_ErrorStatus SetRenderInfosId(const Dtk_ID &inRenderId)
Dtk_Info::SetHierarchy
Dtk_ErrorStatus SetHierarchy(const Dtk_Int32 &inHierarchy)
Dtk_LayerFilterInfosPtr
Dtk_SmartPtr< Dtk_LayerFilterInfos > Dtk_LayerFilterInfosPtr
Definition: util_ent_dtk.hpp:391
Dtk_LayerFilterInfos::Dtk_LayerFilterInfos
Dtk_LayerFilterInfos(const Dtk_LayerFilterInfos &s)
Dtk_Info::AddRenderInfos
Dtk_ErrorStatus AddRenderInfos(const Dtk_RenderInfosPtr &inRender)
Dtk_Info::SetConfigurationName
Dtk_ErrorStatus SetConfigurationName(const Dtk_string &inName)
Dtk_Preview::GetStreamSize
Dtk_Int32 GetStreamSize()
Dtk_ConstraintReference::conv_ptr
virtual void conv_ptr(Dtk_ConstraintReference **s)
Definition: util_ent_dtk.hpp:974
Dtk_Info::DtkDynamicCast
static Dtk_Info * DtkDynamicCast(Dtk_Object *s)
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
DTK_PT_DOT
@ DTK_PT_DOT
Definition: util_ent_dtk.hpp:35
Dtk_Info::GetActiveChildren
Dtk_tab< Dtk_Int32 > GetActiveChildren() const
Dtk_ModelDisplay::rendering_mode_shaded_with_visible_edges
@ rendering_mode_shaded_with_visible_edges
Definition: util_ent_dtk.hpp:847
Dtk_ModelDisplay::rendering_mode_wireframe_with_all_edges
@ rendering_mode_wireframe_with_all_edges
Definition: util_ent_dtk.hpp:848
Dtk_Info::GetViewId
int GetViewId() const
DTK_PT_UNSPECIFIED
@ DTK_PT_UNSPECIFIED
Definition: util_ent_dtk.hpp:27
Dtk_Size_t
size_t Dtk_Size_t
Definition: define.h:712
Dtk_Info::GetColor
Dtk_RGB GetColor() const
Retrieves the entity color as Dtk_RGBA values.
Dtk_Constraint::TypeBond
@ TypeBond
Definition: util_ent_dtk.hpp:1075
Dtk_Info::operator<<
friend std::ostream & operator<<(std::ostream &o, const Dtk_Info &d)
Dtk_Info::GetActivationFlag
int GetActivationFlag() const
Dtk_Constraint::ValueTypeInternal
@ ValueTypeInternal
Definition: util_ent_dtk.hpp:1009
DTK_TYPE_AXIS_SYSTEM
@ DTK_TYPE_AXIS_SYSTEM
Definition: define.h:45
Dtk_ModelDisplay::~Dtk_ModelDisplay
~Dtk_ModelDisplay()
Destructor.
Dtk_LayerInfosSet::~Dtk_LayerInfosSet
~Dtk_LayerInfosSet()
Destructor.
Dtk_Constraint::ConstraintValueTypeEnumToString
static Dtk_string ConstraintValueTypeEnumToString(const ConstraintValueTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1034
DTK_PT_STAR
@ DTK_PT_STAR
Definition: util_ent_dtk.hpp:34
Dtk_AxisSystem::GetName
Dtk_string GetName() const
Get the Name of the AxisSystem.
Dtk_AxisSystem::Dtk_AxisSystem
Dtk_AxisSystem(const Dtk_AxisSystem &p)
Dtk_UUID
Definition: dtk_uuid.hpp:8
Dtk_ConstraintReference::~Dtk_ConstraintReference
virtual ~Dtk_ConstraintReference()
Dtk_Constraint::GetNumberOfConstraintReferences
Dtk_Size_t GetNumberOfConstraintReferences() const
Get the number of Dtk_ConstraintReference in the constraint.
dtk_metadata.hpp
Dtk_ModelDisplay::SetIsStandardView
void SetIsStandardView() const
Set if this Dtk_ModelDisplay is a Standard View other case it is a user defined view.
Dtk_ConstraintReference::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:989
Dtk_Constraint::TypeUnknown
@ TypeUnknown
Definition: util_ent_dtk.hpp:1069
Dtk_LayerInfosSet::Dtk_LayerInfosSet
Dtk_LayerInfosSet(const Dtk_Size_t inNumLayers)
Dtk_Info::Dtk_Info
Dtk_Info()
Dtk_AxisSystem::create
static Dtk_SmartPtr< Dtk_AxisSystem > create()
Dtk_Info::GetIsUpToDate
Dtk_bool GetIsUpToDate() const
Retrieves up to date state of current object.
Dtk_Constraint::ValueTypeExternal
@ ValueTypeExternal
Definition: util_ent_dtk.hpp:1010
Dtk_Info::SetMetaData
Dtk_ErrorStatus SetMetaData(Dtk_tab< Dtk_MetaDataPtr > &inArray)
DTK_BREAKLINE
@ DTK_BREAKLINE
Definition: util_ent_dtk.hpp:63
dtk_val.hpp
Dtk_LayerInfosSet::SetLayerName
Dtk_ErrorStatus SetLayerName(const Dtk_Size_t inLayerPos, const Dtk_string &inLayerName)
Sets the LayerName giving its number.
DTK_FALSE
#define DTK_FALSE
Definition: define.h:728
Dtk_bool
char Dtk_bool
Definition: define.h:725
Dtk_Info::RemoveAttribute
Dtk_ErrorStatus RemoveAttribute(const Dtk_string &name)
DTK_TYPE_INFO
@ DTK_TYPE_INFO
Definition: define.h:467
Dtk_LayerInfosSet::GetLayerID
Dtk_ErrorStatus GetLayerID(const Dtk_Size_t inLayerPos, Dtk_ID &outLayerID) const
Gets the LayerID giving its number.
Dtk_Info::create
static Dtk_SmartPtr< Dtk_Info > create(Dtk_Info &&s)
catiav5w::inBlankedStatus
const Dtk_string const Dtk_transfo const Dtk_bool inBlankedStatus
Definition: catiav5w.hpp:620
Dtk_AxisSystem::SetName
void SetName(const Dtk_string &in)
Set the Name of the AxisSystem.
Dtk_Info::_reset
void _reset()
Dtk_ConstraintReference::operator=
Dtk_ConstraintReference & operator=(const Dtk_ConstraintReference &p)
DTK_SOLIDLINE
@ DTK_SOLIDLINE
Definition: util_ent_dtk.hpp:49
Dtk_Entity::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:341
Dtk_ModelDisplay::rendering_mode_wireframe_with_only_visible_edges
@ rendering_mode_wireframe_with_only_visible_edges
Definition: util_ent_dtk.hpp:849
Dtk_Info::SetColorId
Dtk_ErrorStatus SetColorId(const Dtk_Int32 &inColorId)
Dtk_Constraint::ValueTypeOrientation
@ ValueTypeOrientation
Definition: util_ent_dtk.hpp:1032
Dtk_Constraint::SetConstraintType
void SetConstraintType(const ConstraintTypeEnum &in)
Set the type of the Constraint .
Dtk_Info::GetUuid
Dtk_UUID GetUuid() const
Dtk_Info::SetCurveLineTypeDefinitionId
Dtk_ErrorStatus SetCurveLineTypeDefinitionId(const Dtk_ID &inLineTypeDefinitionId)
Set Dtk_LineTypeDefinition of current object via it's id in Dtk_API table.
DTK_NUM_FONT_LINE_TYPES
@ DTK_NUM_FONT_LINE_TYPES
Definition: util_ent_dtk.hpp:64
Dtk_Info::GetCurveThickNess
int GetCurveThickNess() const
Dtk_LayerInfosSet::GetDefaultLayer
Dtk_ErrorStatus GetDefaultLayer(Dtk_Size_t &outDefaultLayer) const
Gets the default layer number.
Dtk_Constraint
This is the Dtk_Constraint class.
Definition: util_ent_dtk.hpp:1002
Dtk_Double64
double Dtk_Double64
Definition: define.h:699
Dtk_Constraint::_ConstraintValue::_ConstraintValue
_ConstraintValue(const ConstraintValueTypeEnum &inValueType, Dtk_Val &inValue, const Dtk_Int32 &inEnableLowerLimit, const Dtk_Double64 &inLowerLimit, const Dtk_Int32 &inEnableUpperLimit, const Dtk_Double64 &inUpperLimit)
Dtk_string::icmp
int icmp(const Dtk_WChar_t *s2) const
Dtk_ModelDisplay::SetRenderingMode
void SetRenderingMode(RenderingModeEnum inMode) const
Set the rendering mode shaded , shaded with edge , ...
Dtk_ConstraintReference::GetNodeConnector
const Dtk_NodeConnectorPtr & GetNodeConnector() const
Get the Dtk_NodeConnectorPtr of the ConstraintReference .
Dtk_Constraint::GetConstraintType
const ConstraintTypeEnum & GetConstraintType() const
Get the type of the Constraint .
Dtk_LayerFilterInfos::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:426
Dtk_ColorInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:596
Dtk_Constraint::DtkDynamicCast
static Dtk_Constraint * DtkDynamicCast(Dtk_Object *inObject)
Dtk_Constraint::DtkDynamicType
int DtkDynamicType(const int &inId)
Dtk_ModelDisplay::RenderingModeEnum
RenderingModeEnum
Definition: util_ent_dtk.hpp:845
Dtk_Entity::get_type_detk
virtual enum type_detk get_type_detk() const =0
Dtk_LayerFilterInfos::_Copy
void _Copy(const Dtk_LayerFilterInfos &s)
Dtk_Constraint::ValueTypeDistance
@ ValueTypeDistance
Definition: util_ent_dtk.hpp:1029
Dtk_Info::SetBlankedStatus
Dtk_ErrorStatus SetBlankedStatus(const Dtk_Int32 &inBlankedStatus)
Dtk_Info::Dtk_Info
Dtk_Info(const Dtk_Info &s)
Dtk_Constraint::ValueTypeAngle
@ ValueTypeAngle
Definition: util_ent_dtk.hpp:1028
Dtk_Entity::DtkDynamicCast
static Dtk_Entity * DtkDynamicCast(Dtk_Object *s)
Dtk_AxisSystem::_reset
void _reset()
Dtk_Info::SetInfiniteGeometryFlag
Dtk_ErrorStatus SetInfiniteGeometryFlag(const Dtk_Int32 &inInfiniteGeometryFlag)
util_draw_ptr_dtk.hpp
Dtk_Preview::_Copy
void _Copy(const Dtk_Preview &s)
Dtk_Info::SetAddedItemFlag
Dtk_ErrorStatus SetAddedItemFlag(const Dtk_Int32 &inAddedItem)
Dtk_Constraint::_ConstraintValue::_ConstraintValue
_ConstraintValue(const ConstraintValueTypeEnum &inValueType, Dtk_Val &inValue)
Dtk_AxisSystem::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:801
Dtk_Val
Definition: dtk_val.hpp:67
preview_type_detk
preview_type_detk
Definition: define.h:632
Dtk_Info::_Material
Dtk_MaterialPtr _Material
Definition: util_ent_dtk.hpp:124
Dtk_Info::GetMetaData
Dtk_ErrorStatus GetMetaData(Dtk_tab< Dtk_MetaDataPtr > &outArray) const
Dtk_Constraint::ValueTypeRotation
@ ValueTypeRotation
Definition: util_ent_dtk.hpp:1031
DTK_PT_UP_TRIANGLE
@ DTK_PT_UP_TRIANGLE
Definition: util_ent_dtk.hpp:40
Dtk_ColorInfosSet::SetDefaultColor
Dtk_ErrorStatus SetDefaultColor(const Dtk_Int32 inDefaultColor)
Sets the default color number.
Dtk_Info::SetCurveLineType
Dtk_ErrorStatus SetCurveLineType(const Dtk_Int32 &inCurveLineType)
Set line type of current object thanks to Dtk_FontLineType enumeration.
Dtk_Info::_Store
virtual Dtk_ErrorStatus _Store(void *)
Dtk_Constraint::GetConstraintReference
const Dtk_ConstraintReferencePtr & GetConstraintReference(const Dtk_Size_t &index) const
Get the Dtk_ConstraintReference at the specified index.
Dtk_Constraint::_ConstraintValue::~_ConstraintValue
~_ConstraintValue()
Dtk_Entity::DtkDynamicType
int DtkDynamicType(const int &inId)
Dtk_AxisSystem::SetIsVisible
void SetIsVisible()
Set the visibility status.
Dtk_ConstraintReference
This is the Dtk_ConstraintReference class.
Definition: util_ent_dtk.hpp:945
Dtk_Constraint::ConstraintOrientationTypeEnumToString
static Dtk_string ConstraintOrientationTypeEnumToString(const ConstraintOrientationTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1012
Dtk_ModelDisplay::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:819
Dtk_Constraint::_ConstraintValue::_ValueType
ConstraintValueTypeEnum _ValueType
Definition: util_ent_dtk.hpp:1057
Dtk_ModelDisplay::SectionPlane
@ SectionPlane
Definition: util_ent_dtk.hpp:857
Dtk_ColorInfosSet::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:590
Dtk_AxisSystem::_Init
void _Init()
DTK_PT_COINCIDENT
@ DTK_PT_COINCIDENT
Definition: util_ent_dtk.hpp:31
Dtk_AxisSystem::DtkDynamicType
int DtkDynamicType(const int &inId)
Dtk_LayerFilterInfos::_Init
void _Init(const Dtk_Size_t inNumLayers)
Dtk_LayerInfosSet
This is the Layer Info Set class. This is the main Layer Class. It gathers all information about laye...
Definition: util_ent_dtk.hpp:468
Dtk_Constraint::TypeTouch
@ TypeTouch
Definition: util_ent_dtk.hpp:1112
Dtk_ModelDisplay::rendering_mode_wireframe_partially_shade
@ rendering_mode_wireframe_partially_shade
Definition: util_ent_dtk.hpp:852
Dtk_Info::SetViewId
Dtk_ErrorStatus SetViewId(const Dtk_Int32 &inViewId)
Dtk_Info::SetPointSymbolType
Dtk_ErrorStatus SetPointSymbolType(const Dtk_PointType inPointSymbolType)
Dtk_ModelDisplay::rendering_mode_unknown
@ rendering_mode_unknown
Definition: util_ent_dtk.hpp:854
Dtk_AxisSystem::IsDefault
Dtk_bool IsDefault() const
Get the default status.
Dtk_ModelDisplay
This is the Dtk_ModelDisplay class. Please use the Dtk_ModelDisplayPtr class to handle it....
Definition: util_ent_dtk.hpp:815
DTK_DASHED
@ DTK_DASHED
Definition: util_ent_dtk.hpp:51
Dtk_ModelDisplay::GetRenderingMode
RenderingModeEnum GetRenderingMode() const
Get the rendering mode shaded , shaded with edge , ...
Dtk_Info::SetActiveChildren
Dtk_ErrorStatus SetActiveChildren(const Dtk_tab< Dtk_Int32 > &inIndices)
Dtk_Info::AddCurveLineTypeDefinition
Dtk_ErrorStatus AddCurveLineTypeDefinition(const Dtk_LineTypeDefinitionPtr &inLineTypeDefinition)
Add a Dtk_LineTypeDefinition to Dtk_API and set it to current object.
Dtk_ModelDisplay::rendering_mode_shaded_only
@ rendering_mode_shaded_only
Definition: util_ent_dtk.hpp:846
Dtk_ModelDisplay::Dtk_ModelDisplay
Dtk_ModelDisplay(const Dtk_CameraPtr &inCamera, const Dtk_EntityPtr &inClippingEntity, const Dtk_bool inIsActivated)
Dtk_Preview::DtkDynamicType
int DtkDynamicType(const int &inId)
Dtk_ModelDisplayPtr
Dtk_SmartPtr< Dtk_ModelDisplay > Dtk_ModelDisplayPtr
Definition: util_ent_dtk.hpp:393
Dtk_ModelDisplay::SectionBox
@ SectionBox
Definition: util_ent_dtk.hpp:860
Dtk_Constraint::TypeAngle
@ TypeAngle
Definition: util_ent_dtk.hpp:1073
Dtk_ModelDisplay::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:817
Dtk_Constraint::TypePerpendicular
@ TypePerpendicular
Definition: util_ent_dtk.hpp:1102
Dtk_Info::SetHierarchyColorFlag
Dtk_ErrorStatus SetHierarchyColorFlag(const Dtk_Int32 &inHierarchy)
Dtk_Info::SetActivationFlag
Dtk_ErrorStatus SetActivationFlag(const Dtk_Int32 &inActivation)
Dtk_LayerInfosSet::DtkDynamicCast
static Dtk_LayerInfosSet * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_ConstraintReference::SetPosition
void SetPosition(const Dtk_pnt &in)
Set the Position of the ConstraintReference .
Dtk_Constraint::TypeHinge
@ TypeHinge
Definition: util_ent_dtk.hpp:1090
Dtk_Constraint::TypeConcentric
@ TypeConcentric
Definition: util_ent_dtk.hpp:1080
Dtk_LayerInfosSet::GetNumLayerFilters
Dtk_Size_t GetNumLayerFilters() const
Retrieves the number of layer filters.
Dtk_Info::SetAdditionnalGeometryFlag
Dtk_ErrorStatus SetAdditionnalGeometryFlag(const Dtk_Int32 &inAdditionnalGeom)
DTK_PT_SMALLDOT
@ DTK_PT_SMALLDOT
Definition: util_ent_dtk.hpp:36
Dtk_LayerInfosSet::GetLayerFilterByPos
Dtk_LayerFilterInfosPtr GetLayerFilterByPos(const Dtk_Size_t inLayerFilterPos) const
Gets a layer filter giving its number.
Dtk_ModelDisplay::GetClippingEntity
Dtk_EntityPtr GetClippingEntity() const
Retrieves the Dtk_ModelDisplay clipping entity - read only -.
Dtk_AxisSystem::_copy
void _copy(const Dtk_AxisSystem &s)
Dtk_Constraint::TypeParallel
@ TypeParallel
Definition: util_ent_dtk.hpp:1099
Dtk_ModelDisplay::rendering_mode_static_wireframe
@ rendering_mode_static_wireframe
Definition: util_ent_dtk.hpp:850
Dtk_ModelDisplay::SectionUndefined
@ SectionUndefined
Definition: util_ent_dtk.hpp:862
Dtk_LayerInfosSet::Dtk_LayerInfosSet
Dtk_LayerInfosSet(const Dtk_LayerInfosSet &s)
Dtk_Info::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:132
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:687
DTK_DOTTED
@ DTK_DOTTED
Definition: util_ent_dtk.hpp:57
Dtk_ModelDisplay::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:872
Dtk_Info::AddLayer
Dtk_ErrorStatus AddLayer(const Dtk_Int32 &inLayer)
dtk_maindoc_ptr.hpp
Pdfw::inClippingEntity
Dtk_CameraPtr Dtk_EntityPtr inClippingEntity
Definition: pdfw.hpp:655
Dtk_ConstraintReference::_Init
void _Init()
Dtk_Constraint::GetValue
Dtk_ErrorStatus GetValue(const ConstraintValueTypeEnum &inValue, Dtk_Val &outValue) const
Dtk_Info::ListAttributes
Dtk_ErrorStatus ListAttributes(const Dtk_string &substring, Dtk_tab< Dtk_string > &tab_keys) const
Dtk_ModelDisplay::rendering_mode_studio
@ rendering_mode_studio
Definition: util_ent_dtk.hpp:853
Dtk_Constraint::ConstraintTypeEnumToString
static Dtk_string ConstraintTypeEnumToString(const ConstraintTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1116
Dtk_Info::GetUse
int GetUse() const
DTK_PT_CONCENTRIC
@ DTK_PT_CONCENTRIC
Definition: util_ent_dtk.hpp:30
DTK_TYPE_LAYER_FILTER_INFOS
@ DTK_TYPE_LAYER_FILTER_INFOS
Definition: define.h:504
Dtk_Constraint::ValueTypePosition
@ ValueTypePosition
Definition: util_ent_dtk.hpp:1030
Dtk_Preview
This is the Dtk_Preview class.
Definition: util_ent_dtk.hpp:698
Dtk_Info::NotMandatory
@ NotMandatory
Definition: util_ent_dtk.hpp:136
Dtk_Info::GetCurveLineTypeDefinition
Dtk_LineTypeDefinitionPtr GetCurveLineTypeDefinition() const
Retrieves the definition of the curve LineType - for curve entities -.
Dtk_Preview::_Init
void _Init()
DTK_PHANTOM
@ DTK_PHANTOM
Definition: util_ent_dtk.hpp:53
DTK_DOTTED_DASHED
@ DTK_DOTTED_DASHED
Definition: util_ent_dtk.hpp:61
Dtk_Constraint::TypeUniversalJoint
@ TypeUniversalJoint
Definition: util_ent_dtk.hpp:1113
Dtk_ColorInfosSet::GetColorDefinition
Dtk_ErrorStatus GetColorDefinition(const Dtk_Size_t inColorPos, Dtk_RGB &outColorDef) const
Gets the ColorID giving its number.
Dtk_Info::SetCurveThickNessInMM
Dtk_ErrorStatus SetCurveThickNessInMM(const Dtk_Double64 inCurveThickNessInMM)
Dtk_Info::GetLayer
int GetLayer() const
Retrieves the entity layer.
Dtk_Info::GetSize
virtual Dtk_Size_t GetSize() const
error_dtk.hpp
Dtk_Info::GetAdditionnalGeometryFlag
int GetAdditionnalGeometryFlag() const
Dtk_Entity::_reset
void _reset()
Dtk_Info::OriginPoint
@ OriginPoint
Definition: util_ent_dtk.hpp:140
Dtk_string_compare_case_insensitive::operator()
bool operator()(const Dtk_string &s1, const Dtk_string &s2) const
Definition: util_ent_dtk.hpp:106
Dtk_LayerFilterInfos::UnselectLayer
void UnselectLayer(const Dtk_Size_t inLayerPos)
Unselect the given layer number in the layer filter.
DTK_PT_FULLCIRCLE
@ DTK_PT_FULLCIRCLE
Definition: util_ent_dtk.hpp:32
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_Info::SetId
Dtk_ErrorStatus SetId(const Dtk_Int32 &inId)
Dtk_Constraint::TypeFit
@ TypeFit
Definition: util_ent_dtk.hpp:1086
Dtk_Info::GetRenderInfos
Dtk_RenderInfosPtr GetRenderInfos() const
Retrieves the entity RenderInfos of the entity.
Dtk_Info::GetHierarchyColorFlag
int GetHierarchyColorFlag() const
Dtk_Info::SetMandatoryFlag
Dtk_ErrorStatus SetMandatoryFlag(const enum MandatoryFlag &inMandatoryFlag)
DTK_PT_SQUARE
@ DTK_PT_SQUARE
Definition: util_ent_dtk.hpp:39
Dtk_Constraint::ConstraintValueTypeEnum
ConstraintValueTypeEnum
Definition: util_ent_dtk.hpp:1026
Dtk_Entity::_Store
virtual Dtk_ErrorStatus _Store(void *)
Dtk_Entity::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:343
Dtk_ConstraintReference::GetPosition
const Dtk_pnt & GetPosition(Dtk_bool &outHasPosition) const
Get the Position of the ConstraintReference .
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
Dtk_AxisSystem::DtkDynamicCast
static Dtk_AxisSystem * DtkDynamicCast(Dtk_Object *inObject)
Dtk_Preview::GetType
preview_type_detk GetType()
Dtk_Constraint::TypeCam
@ TypeCam
Definition: util_ent_dtk.hpp:1076
DTK_PT_PLUS
@ DTK_PT_PLUS
Definition: util_ent_dtk.hpp:29
Dtk_Info::GetHierarchy
int GetHierarchy() const
Dtk_Entity::GetSize
virtual Dtk_Size_t GetSize() const
Dtk_Entity::operator=
Dtk_Entity & operator=(const Dtk_Entity &s)
Dtk_Constraint::TypePathMate
@ TypePathMate
Definition: util_ent_dtk.hpp:1100
Dtk_ModelDisplay::SectionParallelePlane
@ SectionParallelePlane
Definition: util_ent_dtk.hpp:859
Dtk_Info::SetMatId
Dtk_ErrorStatus SetMatId(const Dtk_Int32 &inMatId)
Dtk_Info::SetPersistentName
Dtk_ErrorStatus SetPersistentName(Dtk_string inName)
Dtk_LayerFilterInfos::SelectLayers
void SelectLayers(const Dtk_tab< Dtk_Size_t > &inNumLayers)
Select the given layers in the layer filter.
Dtk_ModelDisplay::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:833
Dtk_Entity::_copy
void _copy(const Dtk_Entity &s)
Dtk_ConstraintReference::_Copy
void _Copy(const Dtk_ConstraintReference &s)
Dtk_LayerFilterInfos::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_Info::YZPlane
@ YZPlane
Definition: util_ent_dtk.hpp:138
Dtk_Constraint::GetValue
Dtk_ErrorStatus GetValue(const ConstraintValueTypeEnum &inValue, Dtk_Val &outValue, Dtk_Int32 &outEnableLowerLimit, Dtk_Double64 &outLowerLimit, Dtk_Int32 &outEnableUpperLimit, Dtk_Double64 &outUpperLimit) const
Get a Value of the Constraint .
Dtk_Info::GetProperties
Dtk_ErrorStatus GetProperties(Dtk_tab< Dtk_PropertiesPtr > &outArray) const
Dtk_Info::AddMaterial
Dtk_ErrorStatus AddMaterial(const Dtk_MaterialPtr &inMaterial)
Dtk_LayerInfosSet::CreateLayerFilterInfos
Dtk_LayerFilterInfosPtr CreateLayerFilterInfos(Dtk_string inName=L"", Dtk_string inDescription=L"", const Dtk_bool inAreLayersActivatedByDefault=DTK_FALSE, const Dtk_bool IsDefaultLayerFilter=DTK_FALSE)
Create a layer filter.
Dtk_ModelDisplay::GetCamera
const Dtk_CameraPtr & GetCamera() const
Retrieves the Dtk_ModelDisplay camera - read only -.
Dtk_ColorInfosSet::GetColorID
Dtk_ErrorStatus GetColorID(const Dtk_Size_t inColorPos, Dtk_ID &outColorReadID) const
Gets the ColorID giving its number.
Dtk_LayerInfosSet::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
Dtk_ModelDisplay::SetVisibleLayers
void SetVisibleLayers(const Dtk_tab< Dtk_Int32 > &inVisibleLayers)
Dtk_Entity::Clone
virtual Dtk_Object * Clone()=0
dtk_transfo.hpp
Dtk_Info::SetLayer
Dtk_ErrorStatus SetLayer(const Dtk_Int32 &inLayer)
Dtk_Info::GetMaterial
Dtk_MaterialPtr GetMaterial() const
Dtk_pnt
This is a mathematical point class.
Definition: dtk_pnt.hpp:22
Dtk_MaterialPtr
Dtk_SmartPtr< Dtk_material > Dtk_MaterialPtr
Definition: util_ent_dtk.hpp:22
Dtk_ColorInfosSetPtr
Dtk_SmartPtr< Dtk_ColorInfosSet > Dtk_ColorInfosSetPtr
Definition: util_ent_dtk.hpp:390
type_detk
type_detk
Definition: define.h:32
Dtk_Constraint::Dtk_Constraint
Dtk_Constraint(const Dtk_Constraint &p)
Dtk_ConstraintReference::_Reset
void _Reset()
Dtk_Info::SetColor
Dtk_ErrorStatus SetColor(const Dtk_RGB &inColor)
Dtk_Info::GetFormFlag
int GetFormFlag() const
DTK_PT_FULLSQUARE
@ DTK_PT_FULLSQUARE
Definition: util_ent_dtk.hpp:33
Dtk_Info::GetMatId
int GetMatId() const
Dtk_Constraint::ValueTypeOpposite
@ ValueTypeOpposite
Definition: util_ent_dtk.hpp:1008
Dtk_ColorInfosSet::AddColor
Dtk_Size_t AddColor(const Dtk_ID inColorReadId, const Dtk_string &inColorName, const Dtk_RGB &inColorDef)
Add Color definition.
Dtk_LayerInfosSet::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:473
Dtk_Constraint::GetConstraintReference
const Dtk_tab< Dtk_ConstraintReferencePtr > & GetConstraintReference() const
Get all ConstraintReferences of the Constraint.
Dtk_ModelDisplay::SectionTypeEnum
SectionTypeEnum
Definition: util_ent_dtk.hpp:856
Dtk_FontLineType
Dtk_FontLineType
This is a set of line styles.
Definition: util_ent_dtk.hpp:46
Dtk_LayerFilterInfos
Please use the Dtk_LayerFilterInfosPtr class to handle it...
Definition: util_ent_dtk.hpp:404
util_stl_dtk.hpp
Dtk_AxisSystem::GetMatrix
const Dtk_transfo & GetMatrix() const
Get the Matrix of the AxisSystem.
Dtk_Constraint::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:1213
Dtk_Info::ListAllAttributes
Dtk_ErrorStatus ListAllAttributes(Dtk_tab< Dtk_string > &tab_keys) const
Dtk_ConstraintReferencePtr
Dtk_SmartPtr< Dtk_ConstraintReference > Dtk_ConstraintReferencePtr
Definition: util_ent_dtk.hpp:395
Dtk_ColorInfosSet::Dtk_ColorInfosSet
Dtk_ColorInfosSet(const Dtk_Size_t inNumColors)
Dtk_ModelDisplay::SectionBody
@ SectionBody
Definition: util_ent_dtk.hpp:861
Dtk_Info::SetFontId
Dtk_ErrorStatus SetFontId(const Dtk_Int32 &inFontId)
Dtk_LayerFilterInfos::~Dtk_LayerFilterInfos
~Dtk_LayerFilterInfos()
Dtk_ConstraintReference::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:971
util_ptr_dtk.hpp
Dtk_ColorInfosSet::SetColorName
Dtk_ErrorStatus SetColorName(const Dtk_Size_t inColorPos, const Dtk_string &inColorName)
Sets the Color Name giving its number.
define.h
Dtk_Info::ListAllAttributesWithVal
Dtk_ErrorStatus ListAllAttributesWithVal(Dtk_tab< Dtk_pair< Dtk_string, Dtk_Val > > &tab) const
Dtk_LayerFilterInfos::GetName
void GetName(Dtk_string &outLayerFilterName) const
Retrieves layer filter name.
Dtk_Constraint::ValueTypeUndefined
@ ValueTypeUndefined
Definition: util_ent_dtk.hpp:1006
Dtk_Entity::PrepareTransfo
virtual void PrepareTransfo()
Dtk_LayerInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:479
Dtk_ConstraintReference::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Constraint::TypeProfileCenter
@ TypeProfileCenter
Definition: util_ent_dtk.hpp:1103
Dtk_Info::SetPhysicalMaterialInfosId
Dtk_ErrorStatus SetPhysicalMaterialInfosId(const Dtk_ID &inMaterialId)
DTK_TYPE_CONSTRAINT_REFERENCE
@ DTK_TYPE_CONSTRAINT_REFERENCE
Definition: define.h:609
Dtk_PointType
Dtk_PointType
Definition: util_ent_dtk.hpp:26
Dtk_Constraint::TypeOrientAngle
@ TypeOrientAngle
Definition: util_ent_dtk.hpp:1097
DTK_NO_PATTERN
@ DTK_NO_PATTERN
Definition: util_ent_dtk.hpp:47
DTK_LONG_DASHED
@ DTK_LONG_DASHED
Definition: util_ent_dtk.hpp:59
Dtk_Constraint::TypeDistance
@ TypeDistance
Definition: util_ent_dtk.hpp:1084
Dtk_tab< Dtk_string >
Dtk_Info::GetCurveLineType
Dtk_FontLineType GetCurveLineType() const
Retrieves the curve LineType - for curve entities -.
Dtk_Preview::DtkDynamicCast
static Dtk_Preview * DtkDynamicCast(Dtk_Object *s)
Dtk_Info::AddPhysicalMaterialInfos
Dtk_ErrorStatus AddPhysicalMaterialInfos(const Dtk_PhysicalMaterialInfosPtr &inMaterial)
Dtk_Preview::Dtk_Preview
Dtk_Preview()
DTK_PT_BIGFULLCIRCLE
@ DTK_PT_BIGFULLCIRCLE
Definition: util_ent_dtk.hpp:37
Dtk_LayerFilterInfos::UnselectLayers
void UnselectLayers(const Dtk_tab< Dtk_Size_t > &inNumLayers)
Unselect the given layers in the layer filter.
Dtk_ConstraintPtr
Dtk_SmartPtr< Dtk_Constraint > Dtk_ConstraintPtr
Definition: util_ent_dtk.hpp:394
Dtk_Info::GetConfigurationName
Dtk_string GetConfigurationName() const
Dtk_Constraint::GetNumberOfConstraintValues
Dtk_Size_t GetNumberOfConstraintValues()
Get the number of Dtk_Constraint::_ConstraintValue in the constraint.
Dtk_LayerFilterInfos::_Reset
void _Reset()
Dtk_ColorInfosSet
This is the Color Info Set class. This is the read color definition Class. It gathers all information...
Definition: util_ent_dtk.hpp:585
Dtk_AxisSystem::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:788
DTK_TYPE_CONSTRAINT
@ DTK_TYPE_CONSTRAINT
Definition: define.h:608
Dtk_ModelDisplay::IsActivated
Dtk_bool IsActivated() const
Tells if the Dtk_ModelDisplay is activated or not - read only -.
Dtk_Constraint::_ConstraintValue::_ValueLower
Dtk_Double64 _ValueLower
Definition: util_ent_dtk.hpp:1061
Dtk_Info::DtkDynamicType
int DtkDynamicType(const Dtk_Int32 &inId)
Dtk_Info::SetIsUpToDate
void SetIsUpToDate(const Dtk_bool isUpToDate)
Set if current object is up to date or not.
DTK_PT_BIGFULLSQUARE
@ DTK_PT_BIGFULLSQUARE
Definition: util_ent_dtk.hpp:38
Dtk_Constraint::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:1231
Dtk_Info::MandatoryFlag
MandatoryFlag
Definition: util_ent_dtk.hpp:135
Dtk_Constraint::_Init
void _Init()
Dtk_Entity::Transform
virtual Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)=0
Dtk_ColorInfosSet::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:588
Dtk_Constraint::~Dtk_Constraint
virtual ~Dtk_Constraint()
Dtk_Info::ZXPlane
@ ZXPlane
Definition: util_ent_dtk.hpp:139
Dtk_ColorInfosSet::Dtk_ColorInfosSet
Dtk_ColorInfosSet(const Dtk_ColorInfosSet &s)
Dtk_Info::GetBuildingInfosIds
Dtk_tab< Dtk_Int32 > GetBuildingInfosIds() const
Dtk_ColorInfosSet::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:613
Dtk_Info::SetBuildingInfosIds
Dtk_ErrorStatus SetBuildingInfosIds(const Dtk_tab< Dtk_Int32 > inBuildingInfos)
Dtk_Constraint::TypeCoincidence
@ TypeCoincidence
Definition: util_ent_dtk.hpp:1082
Dtk_ColorInfosSet::GetColorName
Dtk_ErrorStatus GetColorName(const Dtk_Size_t inColorPos, Dtk_string &outColorName) const
Gets the Color Name giving its number.
Dtk_Info::GetlayerList
Dtk_tab< Dtk_Int32 > GetlayerList() const
Dtk_ModelDisplay::SectionPlaneList
@ SectionPlaneList
Definition: util_ent_dtk.hpp:858
Dtk_string_compare::operator()
bool operator()(const Dtk_string &s1, const Dtk_string &s2) const
Definition: util_ent_dtk.hpp:98
Dtk_Info::SetRefEntityFlag
Dtk_ErrorStatus SetRefEntityFlag(const Dtk_Int32 &inRefEntityFlag)
Dtk_ColorInfosSet::SetColorID
Dtk_ErrorStatus SetColorID(const Dtk_Size_t inColorPos, const Dtk_ID &inColorReadID)
Sets the ColorID giving its number.
Dtk_Constraint::SetValue
void SetValue(const ConstraintValueTypeEnum &inValueType, Dtk_Val &inValue, const Dtk_Int32 &inEnableLowerLimit, const Dtk_Double64 &inLowerLimit, const Dtk_Int32 &inEnableUpperLimit, const Dtk_Double64 &inUpperLimit)
Set a Value of the Constraint .
Dtk_Object
Definition: dtk_object.hpp:8
Dtk_Constraint::_Reset
void _Reset()
Dtk_Constraint::Create
static Dtk_SmartPtr< Dtk_Constraint > Create()
Dtk_ColorInfosSet::DtkDynamicCast
static Dtk_ColorInfosSet * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_AxisSystem::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:806
Dtk_Info::GetPhysicalMaterialInfosId
Dtk_ID GetPhysicalMaterialInfosId() const
Retrieves the Id of MaterialInfos of the entity in The Dtk_API table.
Dtk_Constraint::TypeLimit
@ TypeLimit
Definition: util_ent_dtk.hpp:1091
Dtk_ModelDisplay::Dtk_ModelDisplay
Dtk_ModelDisplay()
DTK_PT_DIAMOND
@ DTK_PT_DIAMOND
Definition: util_ent_dtk.hpp:41
Dtk_ModelDisplay::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Constraint::ValueTypeUnknown
@ ValueTypeUnknown
Definition: util_ent_dtk.hpp:1027
Dtk_ConstraintReference::Create
static Dtk_SmartPtr< Dtk_ConstraintReference > Create()
Dtk_Info::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:121
Dtk_ConstraintReference::DtkDynamicType
int DtkDynamicType(const int &inId)
Dtk_Info::GetCurveLineTypeDefinitionId
Dtk_ID GetCurveLineTypeDefinitionId() const
Retrieves the Id of Dtk_LineTypeDefinition of the entity in The Dtk_API table.
Dtk_AxisSystem::conv_ptr
virtual void conv_ptr(Dtk_AxisSystem **s)
Definition: util_ent_dtk.hpp:791
Dtk_MetaData
This is the Dtk_MetaData Class. The Dtk_MetaDataPtr object is used to store any additional informatio...
Definition: dtk_metadata.hpp:23
Dtk_Info::GetRenderInfosId
Dtk_ID GetRenderInfosId() const
Retrieves the Id of RenderInfos of the entity in The Dtk_API table.
Dtk_Constraint::_ConstraintValue::_EnableLower
Dtk_Int32 _EnableLower
Definition: util_ent_dtk.hpp:1059
Dtk_LayerInfosSet::Create
static Dtk_LayerInfosSetPtr Create(const Dtk_Size_t inNumLayers)
Base constructor.
Dtk_Constraint::AddConstraintReference
void AddConstraintReference(const Dtk_ConstraintReferencePtr &in)
Add a ConstraintReference to this Constraint .
Dtk_Entity::~Dtk_Entity
virtual ~Dtk_Entity()
Dtk_ColorInfosSet::GetColorNameById
Dtk_ErrorStatus GetColorNameById(const Dtk_ID inColorReadId, Dtk_string &outColorName) const
Gets the Color Name giving the ID found iby infos->GetColorID().
Dtk_ModelDisplay::SetSectionInformation
void SetSectionInformation(const SectionTypeEnum &inSectionType, const Dtk_Int32 &inIsLocked=DTK_FALSE, const Dtk_Double64 &inThickness=0.0) const
Set the type of the Section on the Dtk_Capture.
Dtk_Info::SetDefaultChildIndex
Dtk_ErrorStatus SetDefaultChildIndex(const Dtk_Int32 &inIndex)
Dtk_Info::SetUuid
Dtk_ErrorStatus SetUuid(const Dtk_UUID &inUuid)
Dtk_Info::GetId
int GetId() const
Dtk_Preview::GetStream
char * GetStream()
Dtk_Constraint::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:1226
Dtk_Constraint::TypeTangent
@ TypeTangent
Definition: util_ent_dtk.hpp:1110
Dtk_ColorInfosSet::Create
static Dtk_ColorInfosSetPtr Create(const Dtk_Size_t inNumColors)
Base constructor.
dtk_rgb.hpp
Dtk_Constraint::TypeScrew
@ TypeScrew
Definition: util_ent_dtk.hpp:1105
Dtk_Info::_copy
void _copy(const Dtk_Info &s)
Dtk_Entity::operator=
Dtk_Entity & operator=(Dtk_Entity &&s) DTK_NOEXCEPT
Dtk_Info::GetFontId
int GetFontId() const
Dtk_LayerInfosSet::GetLayerNameById
Dtk_ErrorStatus GetLayerNameById(const Dtk_ID inLayerID, Dtk_string &outLayerName) const
Gets the LayerName giving the ID found iby infos->GetLayer().
Dtk_Info::SetUse
Dtk_ErrorStatus SetUse(const Dtk_Int32 &inUse)
Dtk_RGB
Definition: dtk_rgb.hpp:7
Dtk_Preview::_Reset
void _Reset()
Dtk_Info::SetColor
Dtk_ErrorStatus SetColor(const int &R, const int &G, const int &B)
Dtk_Preview::Dtk_Preview
Dtk_Preview(const char *inStream, const Dtk_Int32 inSizeStream)
Dtk_Info::create
static Dtk_SmartPtr< Dtk_Info > create()
Dtk_AxisSystem::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_Constraint::TypeGear
@ TypeGear
Definition: util_ent_dtk.hpp:1089
Dtk_LayerFilterInfos::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:406
Dtk_Preview::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:716
Dtk_ModelDisplay::DtkDynamicCast
static Dtk_ModelDisplay * DtkDynamicCast(Dtk_Object *s)
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Info::~Dtk_Info
~Dtk_Info()
Dtk_Info::GetSubordFlag
int GetSubordFlag() const
Dtk_Preview::Create
static Dtk_PreviewPtr Create(const Dtk_Preview &s)
Dtk_LayerInfosSet::GetLayerName
Dtk_ErrorStatus GetLayerName(const Dtk_Size_t inLayerPos, Dtk_string &outLayerName) const
Gets the LayerName giving its number.
Dtk_dir
This is a mathematical direction class.
Definition: dtk_dir.hpp:15
Dtk_ModelDisplay::Dtk_ModelDisplay
Dtk_ModelDisplay(const Dtk_ModelDisplay &s)
Dtk_Constraint::operator=
Dtk_Constraint & operator=(const Dtk_Constraint &p)
Dtk_Entity::Dtk_Entity
Dtk_Entity(const Dtk_Entity &s)
Dtk_Info::SetSubordFlag
Dtk_ErrorStatus SetSubordFlag(const Dtk_Int32 &inSubordFlag)
Dtk_string_compare
Definition: util_ent_dtk.hpp:97
Dtk_Constraint::_ConstraintValue::_EnableUpper
Dtk_Int32 _EnableUpper
Definition: util_ent_dtk.hpp:1060
Dtk_Preview::Create
static Dtk_PreviewPtr Create(const char *inStream, const Dtk_Int32 inSizeStream)
Dtk_AxisSystem::SetIsHidden
void SetIsHidden()
Set the hidden status.
Dtk_Constraint::TypeLinear
@ TypeLinear
Definition: util_ent_dtk.hpp:1092
Dtk_Constraint::Dtk_Constraint
Dtk_Constraint(const ConstraintTypeEnum &inType)
Dtk_Constraint::TypeLock
@ TypeLock
Definition: util_ent_dtk.hpp:1095
Dtk_LayerFilterInfos::GetDescription
void GetDescription(Dtk_string &outLayerFilterDescription) const
Retrieves layer filter description.
Dtk_Info::FindAttribute
Dtk_Val const * FindAttribute(const Dtk_string &name) const
Dtk_Constraint::TypeRackPinion
@ TypeRackPinion
Definition: util_ent_dtk.hpp:1104
dtk_object.hpp
Dtk_Constraint::_ConstraintValue::_Value
Dtk_Val _Value
Definition: util_ent_dtk.hpp:1058
Dtk_Entity::_init
void _init()
Dtk_AxisSystem::GetIsHidden
int GetIsHidden() const
Get the hidden status.
Dtk_AxisSystem
This is the Dtk_AxisSystem class.
Definition: util_ent_dtk.hpp:732
Dtk_Constraint::TypeCenter
@ TypeCenter
Definition: util_ent_dtk.hpp:1078
Dtk_Constraint::Transform
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
Dtk_AxisSystem::SetDefaultStatus
void SetDefaultStatus(Dtk_bool inDefaultStatus)
Set the default status.
Dtk_Info::_init
void _init()
DTK_NOEXCEPT
#define DTK_NOEXCEPT
Definition: config.hpp:30
Dtk_Constraint::ConstraintTypeEnum
ConstraintTypeEnum
Definition: util_ent_dtk.hpp:1068
Dtk_Entity::info
Dtk_InfoPtr & info()
Dtk_Entity
Definition: util_ent_dtk.hpp:339
Dtk_ModelDisplay::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.