DATAKIT API  V2025.2
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 };
40 
45  // ________________________________
47  // _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
49  // ________ _ _ _________ _ _ _____
51  // ________ _ _________ _ _________
53  // ................................
55  // ___ ___ ___ ___ ___ ___ ___ ___
57  // ___ . ___ . ___ . ___ . ___ . __
59  // --'\,-----'\,-----'\,-----'\,---
62 };
63 
64 extern int dtk_AddColorInTable(const Dtk_RGB&);
65 
66 class Dtk_Object;
67 template <class T>
68 class Dtk_SmartPtr;
69 class Dtk_Val;
70 struct Dtk_string_compare;
71 class Dtk_Info;
72 
73 //class Dtk_Connector;
74 //class Dtk_ConnectorPart;
75 
76 //typedef Dtk_SmartPtr<Dtk_Connector> Dtk_ConnectorPtr;
77 //typedef Dtk_SmartPtr<Dtk_ConnectorPart> Dtk_ConnectorPartPtr;
78 //
79 //typedef Dtk_tab<Dtk_ConnectorPtr> Dtk_ConnectorTab;
80 //typedef Dtk_tab<Dtk_ConnectorPartPtr> Dtk_ConnectorPartTab;
81 
82 class Dtk_UUID;
83 class Dtk_pnt;
84 class Dtk_dir;
85 class Dtk_RGB;
86 class Dtk_string;
87 
88 
89 
90 
91 
92 
94 {
95  bool operator()(const Dtk_string& s1, const Dtk_string& s2) const
96  {
97  return s1.cmp(s2) < 0;
98  }
99 };
100 
102 {
103  bool operator()(const Dtk_string& s1, const Dtk_string& s2) const
104  {
105  return s1.icmp(s2) < 0;
106  }
107 };
114 class Dtk_Info : public Dtk_Object
115 {
116 
117 protected:
118  enum { _typeID = DTK_TYPE_INFO };
119  struct Dtk_Handle; // Not defined here
120  Dtk_Handle *_Private; // Handle
122  void _init();
123  void _copy(const Dtk_Info& s);
124  void _reset();
126  Dtk_Info(const Dtk_Info& s);
128  friend class Dtk_SmartPtr<Dtk_Info>;
129  virtual Dtk_Object* Clone() { return new Dtk_Info(*this); }
130 public:
132  {
138  };
139 
140  //downcasting
141  int DtkDynamicType(const Dtk_Int32& inId);
143 
148 
150 
152  Dtk_Val const * FindAttribute(const Dtk_string& name) const; // If not found, returns nullptr.
153  Dtk_ErrorStatus ListAttributes(const Dtk_string& substring, Dtk_tab<Dtk_string>& tab_keys) const;
157 
172  Dtk_ErrorStatus SetColor( const int&R, const int&G, const int&B );// {return SetColorId( dtk_AddColorInTable( Dtk_RGB( R, G, B ) ) ); }
173  Dtk_ErrorStatus SetColor( const Dtk_RGB & inColor );// {return SetColorId( dtk_AddColorInTable( inColor ) ); }
174 
175 
181  Dtk_ErrorStatus SetCurveThickNess(const Dtk_Int32 &inCurveThickNess);
185  Dtk_ErrorStatus SetCurveLineTypeDefinitionId( const Dtk_ID & inLineTypeDefinitionId );
187  Dtk_ErrorStatus SetCurveLineType(const Dtk_Int32 &inCurveLineType);
190  Dtk_ErrorStatus SetInfiniteGeometryFlag(const Dtk_Int32 &inInfiniteGeometryFlag);
191  Dtk_ErrorStatus SetRefEntityFlag( const Dtk_Int32 &inRefEntityFlag );
192  Dtk_ErrorStatus SetMandatoryFlag(const enum MandatoryFlag &inMandatoryFlag);
197  //Deprecated use AddRenderInfos and AddMaterialInfos methods instead
203 
204 
205  int GetActivationFlag() const;
206  int GetFlexibleFlag() const;
208  int GetDefaultChildIndex() const;
210  int GetUse() const;
211  int GetAddedItemFlag() const;
212  int GetHierarchy() const;
214  int GetFontId() const;
215  int GetFormFlag() const;
216  int GetMatId() const;
217  int GetSubordFlag() const;
218  int GetId() const;
219  int GetViewId() const;
221 
235  Dtk_RGB GetColor() const;
236  int GetColorId() const;
237 
243 
247  int GetLayer() const;
248 
255  int GetBlankedStatus() const;
256 
258  int GetCurveThickNess() const;
259 
264 
268 
272 
276 
280 
283  enum MandatoryFlag GetMandatoryFlag() const;
284 
285 
287  int GetRefEntityFlag() const;
288  Dtk_UUID GetUuid() const;
290 
291  //Deprecated use GetRenderInfos() and GetPhysicalMaterialInfos() methods instead.
293 
298 
303 
307 
311 
314 
315 
320 
326  void SetIsUpToDate( const Dtk_bool isUpToDate );
327 
328 
329  friend std::ostream& operator<<(std::ostream& o,const Dtk_Info& d);
330  virtual Dtk_Size_t GetSize() const;
331  virtual Dtk_ErrorStatus _Store(void*);
332 };
333 
334 
335 class Dtk_Entity : public Dtk_Object
336 {
337 protected:
338  struct Dtk_Handle; // Not defined here
339  Dtk_Handle *_Private; // Handle
341  void _init();
342  void _copy(const Dtk_Entity& s);
343  void _reset();
344 
345  virtual Dtk_Object* Clone() = 0;
346  friend class Dtk_SmartPtr<Dtk_Entity>;
347 public:
353 
354  virtual ~Dtk_Entity();
357  const Dtk_ID& GetID() const;
358 
359  virtual enum type_detk get_type_detk() const=0;
360 
361  //downcasting
362  int DtkDynamicType(const int& inId);
364 
367  //virtual Dtk_status Transform(const Dtk_transfo& inTransfo)=0;
369  friend std::ostream& operator<<(std::ostream& o,const Dtk_Entity& d);
370 
371  virtual Dtk_ErrorStatus _Store(void*);
372  virtual Dtk_Size_t GetSize() const;
373 
374  virtual void PrepareTransfo ();
375 };
376 
378 
379 class Dtk_LayerInfosSet;
380 class Dtk_ColorInfosSet;
382 class Dtk_AxisSystem;
383 class Dtk_ModelDisplay;
384 class Dtk_Constraint;
393 
394 
395 
396 
401 {
402 protected:
403  struct Dtk_Handle; // Not defined here
404  Dtk_Handle *_Private; // Handle
406 
407  Dtk_LayerFilterInfos(const Dtk_Size_t inNumLayers, Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersActivatedByDefault = DTK_FALSE);
410  void _Init(const Dtk_Size_t inNumLayers);
411  void _Copy(const Dtk_LayerFilterInfos &s);
412  void _Reset();
413  friend class Dtk_SmartPtr< Dtk_LayerFilterInfos >;
414  friend class Dtk_LayerInfosSet;
415 public:
418 
421 
424 
427  void SelectLayer(const Dtk_Size_t inNumLayer);
428 
431  void SelectLayers(const Dtk_tab< Dtk_Size_t >& inNumLayers);
432 
435  void UnselectLayer(const Dtk_Size_t inLayerPos);
436 
439  void UnselectLayers(const Dtk_tab< Dtk_Size_t >& inNumLayers);
440 
441 
445  Dtk_bool IsLayerSelected(const Dtk_Size_t inLayerPos) const;
446 
449  void GetSelectedLayers(Dtk_tab< Dtk_Size_t >& outSelectedLayers) const;
450 
453  void GetName(Dtk_string& outLayerFilterName) const;
454 
457  void GetDescription(Dtk_string& outLayerFilterDescription) const;
458 };
459 
465 {
466 public:
467 protected:
468  struct Dtk_Handle; // Not defined here
469  Dtk_Handle *_Private; // Handle
472  Dtk_LayerInfosSet(const Dtk_Size_t inNumLayers);
473 
476  virtual Dtk_Object* Clone() { return new Dtk_LayerInfosSet(*this); }
477 
480 private:
481  void _Init(const Dtk_Size_t inNumLayers);
482  void _Copy(const Dtk_LayerInfosSet &s);
483  void _Reset();
484  friend class Dtk_SmartPtr<Dtk_LayerInfosSet>;
485 public:
488 
491 
494 
496  static Dtk_LayerInfosSetPtr Create(const Dtk_Size_t inNumLayers);
497 
504  Dtk_LayerFilterInfosPtr CreateLayerFilterInfos( Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersActivatedByDefault = DTK_FALSE, const Dtk_bool IsDefaultLayerFilter = DTK_FALSE);
505 
509 
513 
519  Dtk_ErrorStatus SetLayerName(const Dtk_Size_t inLayerPos, const Dtk_string& inLayerName);
520 
527  Dtk_ErrorStatus GetLayerName( const Dtk_Size_t inLayerPos, Dtk_string& outLayerName ) const;
528 
535  Dtk_ErrorStatus GetLayerNameById( const Dtk_ID inLayerID, Dtk_string& outLayerName ) const;
536 
542 
547  Dtk_ErrorStatus GetDefaultLayer(Dtk_Size_t& outDefaultLayer) const;
548 
553  Dtk_ErrorStatus GetDefaultLayerFilter(Dtk_Size_t& outDefaultLayerFilter) const;
554 
559 
565  Dtk_ErrorStatus SetLayerID(const Dtk_Size_t inLayerPos, const Dtk_ID& inLayerID);
566 
572  Dtk_ErrorStatus GetLayerID(const Dtk_Size_t inLayerPos, Dtk_ID& outLayerID) const;
573 
574 };
575 
576 
582 {
583 public:
584 protected:
585  struct Dtk_Handle; // Not defined here
586  Dtk_Handle *_Private; // Handle
589  Dtk_ColorInfosSet(const Dtk_Size_t inNumColors);
590 
593  virtual Dtk_Object* Clone() { return new Dtk_ColorInfosSet(*this); }
594 
597 private:
598  void _Init(const Dtk_Size_t inNumColors);
599  void _Copy(const Dtk_ColorInfosSet &s);
600  void _Reset();
601  friend class Dtk_SmartPtr<Dtk_ColorInfosSet>;
602 public:
605 
608 
611 
613  static Dtk_ColorInfosSetPtr Create(const Dtk_Size_t inNumColors);
614 
618 
624  Dtk_Size_t AddColor(const Dtk_ID inColorReadId, const Dtk_string& inColorName,const Dtk_RGB& inColorDef);
625 
626 
632  Dtk_ErrorStatus SetColorName(const Dtk_Size_t inColorPos, const Dtk_string& inColorName);
633 
640  Dtk_ErrorStatus GetColorName(const Dtk_Size_t inColorPos, Dtk_string& outColorName) const;
641 
648  Dtk_ErrorStatus GetColorNameById(const Dtk_ID inColorReadId, Dtk_string& outColorName) const;
649 
655 
660  Dtk_ErrorStatus GetDefaultColor(Dtk_Int32& outDefaultColor) const;
661 
667  Dtk_ErrorStatus SetColorID(const Dtk_Size_t inColorPos, const Dtk_ID& inColorReadID);
668 
674  Dtk_ErrorStatus GetColorID(const Dtk_Size_t inColorPos, Dtk_ID& outColorReadID) const;
675 
681  Dtk_ErrorStatus GetColorDefinition(const Dtk_Size_t inColorPos, Dtk_RGB& outColorDef) const;
682 
683 };
684 
690 class Dtk_Preview;
692 
693 
694 class Dtk_Preview: public Dtk_Object
695 {
696 public:
697  //downcasting
698  int DtkDynamicType(const int& inId);
700 
701  //constructors
703  static Dtk_PreviewPtr Create(const char* inStream,const Dtk_Int32 inSizeStream);
704  char *GetStream();
707  void SetType(preview_type_detk inPreviewType);
708 
709 protected:
711  Dtk_Preview(const char* inStream,const Dtk_Int32 inSizeStream);
712  virtual ~Dtk_Preview();
713  struct Dtk_Handle;
714  Dtk_Handle *_Private;
715  void _Init();
716  void _Copy(const Dtk_Preview& s);
717  void _Reset();
718  friend class Dtk_SmartPtr<Dtk_Preview>;
719 };
720 
721 
729 {
730 public:
731 
734 
735 
743  void SetName(const Dtk_string& in) ;
744 
747  const Dtk_transfo& GetMatrix() const;
748 
753  void SetMatrix(const Dtk_transfo& in) ;
754 
758  int GetIsVisible() const;
762  void SetIsVisible() ;
763 
767  int GetIsHidden() const;
771  void SetIsHidden() ;
772 
780  void SetDefaultStatus(Dtk_bool inDefaultStatus) ;
781 
782 
783 
786 
788  virtual void conv_ptr(Dtk_AxisSystem ** s){*s = this;}
789  int DtkDynamicType(const int& inId);
791 
794 
795 protected:
797  virtual ~Dtk_AxisSystem();
798  struct Dtk_Handle;
799  Dtk_Handle *_Private;
800  void _Init();
801  void _copy(const Dtk_AxisSystem& s);
802  void _reset();
803  inline virtual Dtk_Object* Clone() { return new Dtk_AxisSystem(*this); }
804  friend class Dtk_SmartPtr<Dtk_AxisSystem>;
805 
806 };
812 {
813 protected:
814  struct Dtk_Handle; // Not defined here
815  Dtk_Handle *_Private; // Handle
817 
820 
823 
826  const Dtk_CameraPtr& inCamera,
828  const Dtk_bool inIsActivated);
829 
830  inline virtual Dtk_Object* Clone() { return new Dtk_ModelDisplay(*this); }
831 
834 private:
835  void _Init();
836  void _Copy(const Dtk_ModelDisplay &s);
837  void _Reset();
838  friend class Dtk_SmartPtr<Dtk_ModelDisplay>;
839 
840 public:
842  {
852  };
860  };
861 
864 
867 
870 
877  const Dtk_CameraPtr& inCamera,
879  const Dtk_bool inIsActivated);
880 
883  const Dtk_CameraPtr& GetCamera() const;
884 
888 
892 
895 
898 
900  void SetIsStandardView() const;
901 
904 
907  void SetSectionInformation(const SectionTypeEnum& inSectionType, const Dtk_Int32& inIsLocked = DTK_FALSE, const Dtk_Double64& inThickness=0.0) const;
908 
923  void GetSectionInformation(SectionTypeEnum& outSectionType, Dtk_Int32& outIsLocked, Dtk_Double64& outThickness) const;
924 
927 
929  void GetVisibleLayers( Dtk_tab<Dtk_Int32> &outVisibleLayers )const;
930  void SetVisibleLayers( const Dtk_tab<Dtk_Int32> & inVisibleLayers );
931 
932 };
933 
934 
942 {
943 public:
944 
947 
948 
956 
957 
961  const Dtk_pnt& GetPosition(Dtk_bool & outHasPosition) const;
964  void SetPosition(const Dtk_pnt& in);
965 
966 
969 
971  virtual void conv_ptr(Dtk_ConstraintReference ** s) { *s = this; }
972  int DtkDynamicType(const int& inId);
974 
977 
978 protected:
981  struct Dtk_Handle;
982  Dtk_Handle *_Private;
983  void _Init();
985  void _Reset();
986  inline virtual Dtk_Object* Clone() { return new Dtk_ConstraintReference(*this); }
988 
989 };
990 
991 
999 {
1000 public:
1002  {
1008  };
1010  {
1011  switch( inEnum )
1012  {
1013  case ValueTypeSame: return L"TypeSame";
1014  case ValueTypeOpposite: return L"TypeOpposite";
1015  case ValueTypeInternal: return L"TypeInternal";
1016  case ValueTypeExternal: return L"TypeExternal";
1017  default:
1018  case ValueTypeUndefined: return L"TypeUndefined";
1019  }
1020  }
1021 
1023  {
1030  };
1032  {
1033  switch( inEnum )
1034  {
1035  case ValueTypeAngle: return L"Angle";
1036  case ValueTypeDistance: return L"Distance";
1037  case ValueTypePosition: return L"Position";
1038  case ValueTypeRotation: return L"Rotation";
1039  case ValueTypeOrientation: return L"Orientation";
1040  default:
1041  case ValueTypeUnknown: return L"TypeUnknown";
1042  }
1043  }
1044 
1046  {
1047  public:
1050 
1051  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit);
1052  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue);
1053 
1060  private:
1061 
1062  };
1063 
1065  {
1111  TypeWidth
1112  };
1114  {
1115  switch (inEnum)
1116  {
1117  case TypeAlign: return L"TypeAlign";
1118  case TypeAngle: return L"TypeAngle";
1119  case TypeBond: return L"TypeBond";
1120  case TypeCam: return L"TypeCam";
1121  case TypeCenter: return L"TypeCenter";
1122  case TypeConcentric: return L"TypeConcentric";
1123  case TypeCoincidence: return L"TypeCoincidence";
1124  case TypeDistance: return L"TypeDistance";
1125  case TypeFit: return L"TypeFit";
1126  case TypeFix: return L"TypeFix";
1127  case TypeGear: return L"TypeGear";
1128  case TypeHinge: return L"TypeHinge";
1129  case TypeLimit: return L"TypeLimit";
1130  case TypeLinear: return L"TypeLinear";
1131  case TypeLinearCoupler: return L"TypeLinearCoupler";
1132  case TypeLock: return L"TypeLock";
1133  case TypeOrientAngle: return L"TypeOrientAngle";
1134  case TypeParallel: return L"TypeParallel";
1135  case TypePathMate: return L"TypePathMate";
1136  case TypePerpendicular: return L"TypePerpendicular";
1137  case TypeProfileCenter: return L"TypeProfileCenter";
1138  case TypeRackPinion: return L"TypeRackPinion";
1139  case TypeScrew: return L"TypeScrew";
1140  case TypeSlot: return L"TypeSlot";
1141  case TypeSymmetric: return L"TypeSymmetric";
1142  case TypeTangent: return L"TypeTangent";
1143  case TypeTouch: return L"TypeTouch";
1144  case TypeUniversalJoint: return L"TypeUniversalJoint";
1145  case TypeWidth: return L"TypeWidth";
1146  default:
1147  case TypeUnknown: return L"Unknown";
1148  }
1149  }
1150 
1153 
1154 
1156 
1164 
1169 
1173  const _ConstraintValue& GetConstraintValue( const Dtk_Size_t &index ) const;
1174 
1178  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue, Dtk_Int32& outEnableLowerLimit, Dtk_Double64& outLowerLimit, Dtk_Int32& outEnableUpperLimit, Dtk_Double64& outUpperLimit ) const;
1179  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue ) const;
1180 
1185 
1188  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit );
1189  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue );
1190 
1207 
1208 
1211 
1213  virtual void conv_ptr(Dtk_Constraint ** s) { *s = this; }
1214  int DtkDynamicType(const int& inId);
1216 
1219 
1220 protected:
1222  virtual ~Dtk_Constraint();
1223  struct Dtk_Handle;
1224  Dtk_Handle *_Private;
1225  void _Init();
1226  void _Copy(const Dtk_Constraint& s);
1227  void _Reset();
1228  inline virtual Dtk_Object* Clone() { return new Dtk_Constraint(*this); }
1229  friend class Dtk_SmartPtr<Dtk_Constraint>;
1230 
1231 };
1232 
1233 #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:1085
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:981
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:385
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:119
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:389
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:1046
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:848
Dtk_LayerInfosSet::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:468
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:1103
Dtk_Info
This is the generic Info class.
Definition: util_ent_dtk.hpp:115
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:1090
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:493
dtk_AddColorInTable
int dtk_AddColorInTable(const Dtk_RGB &)
Dtk_Constraint::ConstraintOrientationTypeEnum
ConstraintOrientationTypeEnum
Definition: util_ent_dtk.hpp:1002
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:1111
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:1068
Dtk_Constraint::conv_ptr
virtual void conv_ptr(Dtk_Constraint **s)
Definition: util_ent_dtk.hpp:1213
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:134
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:102
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:405
DTK_CENTERLINE
@ DTK_CENTERLINE
Definition: util_ent_dtk.hpp:52
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:690
Dtk_Constraint::_ConstraintValue::_ValueUpper
Dtk_Double64 _ValueUpper
Definition: util_ent_dtk.hpp:1059
Dtk_Constraint::ValueTypeSame
@ ValueTypeSame
Definition: util_ent_dtk.hpp:1004
Dtk_Constraint::TypeSymmetric
@ TypeSymmetric
Definition: util_ent_dtk.hpp:1105
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:388
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:971
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:844
Dtk_ModelDisplay::rendering_mode_wireframe_with_all_edges
@ rendering_mode_wireframe_with_all_edges
Definition: util_ent_dtk.hpp:845
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:1072
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:1006
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:1031
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:986
Dtk_Constraint::TypeUnknown
@ TypeUnknown
Definition: util_ent_dtk.hpp:1066
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:1007
Dtk_Info::SetMetaData
Dtk_ErrorStatus SetMetaData(Dtk_tab< Dtk_MetaDataPtr > &inArray)
DTK_BREAKLINE
@ DTK_BREAKLINE
Definition: util_ent_dtk.hpp:60
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:46
Dtk_Entity::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:338
Dtk_ModelDisplay::rendering_mode_wireframe_with_only_visible_edges
@ rendering_mode_wireframe_with_only_visible_edges
Definition: util_ent_dtk.hpp:846
Dtk_Info::SetColorId
Dtk_ErrorStatus SetColorId(const Dtk_Int32 &inColorId)
Dtk_Constraint::ValueTypeOrientation
@ ValueTypeOrientation
Definition: util_ent_dtk.hpp:1029
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:61
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:999
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:423
Dtk_ColorInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:593
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:842
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:1026
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:1025
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:798
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:121
Dtk_Info::GetMetaData
Dtk_ErrorStatus GetMetaData(Dtk_tab< Dtk_MetaDataPtr > &outArray) const
Dtk_Constraint::ValueTypeRotation
@ ValueTypeRotation
Definition: util_ent_dtk.hpp:1028
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:942
Dtk_Constraint::ConstraintOrientationTypeEnumToString
static Dtk_string ConstraintOrientationTypeEnumToString(const ConstraintOrientationTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1009
Dtk_ModelDisplay::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:816
Dtk_Constraint::_ConstraintValue::_ValueType
ConstraintValueTypeEnum _ValueType
Definition: util_ent_dtk.hpp:1054
Dtk_ModelDisplay::SectionPlane
@ SectionPlane
Definition: util_ent_dtk.hpp:854
Dtk_ColorInfosSet::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:587
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:465
Dtk_Constraint::TypeTouch
@ TypeTouch
Definition: util_ent_dtk.hpp:1109
Dtk_ModelDisplay::rendering_mode_wireframe_partially_shade
@ rendering_mode_wireframe_partially_shade
Definition: util_ent_dtk.hpp:849
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:851
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:812
DTK_DASHED
@ DTK_DASHED
Definition: util_ent_dtk.hpp:48
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:843
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:390
Dtk_ModelDisplay::SectionBox
@ SectionBox
Definition: util_ent_dtk.hpp:857
Dtk_Constraint::TypeAngle
@ TypeAngle
Definition: util_ent_dtk.hpp:1070
Dtk_ModelDisplay::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:814
Dtk_Constraint::TypePerpendicular
@ TypePerpendicular
Definition: util_ent_dtk.hpp:1099
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:1087
Dtk_Constraint::TypeConcentric
@ TypeConcentric
Definition: util_ent_dtk.hpp:1077
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:1096
Dtk_ModelDisplay::rendering_mode_static_wireframe
@ rendering_mode_static_wireframe
Definition: util_ent_dtk.hpp:847
Dtk_ModelDisplay::SectionUndefined
@ SectionUndefined
Definition: util_ent_dtk.hpp:859
Dtk_LayerInfosSet::Dtk_LayerInfosSet
Dtk_LayerInfosSet(const Dtk_LayerInfosSet &s)
Dtk_Info::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:129
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:687
DTK_DOTTED
@ DTK_DOTTED
Definition: util_ent_dtk.hpp:54
Dtk_ModelDisplay::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:869
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:850
Dtk_Constraint::ConstraintTypeEnumToString
static Dtk_string ConstraintTypeEnumToString(const ConstraintTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1113
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:1027
Dtk_Preview
This is the Dtk_Preview class.
Definition: util_ent_dtk.hpp:695
Dtk_Info::NotMandatory
@ NotMandatory
Definition: util_ent_dtk.hpp:133
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:50
DTK_DOTTED_DASHED
@ DTK_DOTTED_DASHED
Definition: util_ent_dtk.hpp:58
Dtk_Constraint::TypeUniversalJoint
@ TypeUniversalJoint
Definition: util_ent_dtk.hpp:1110
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:137
Dtk_string_compare_case_insensitive::operator()
bool operator()(const Dtk_string &s1, const Dtk_string &s2) const
Definition: util_ent_dtk.hpp:103
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:1083
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_Constraint::ConstraintValueTypeEnum
ConstraintValueTypeEnum
Definition: util_ent_dtk.hpp:1023
Dtk_Entity::_Store
virtual Dtk_ErrorStatus _Store(void *)
Dtk_Entity::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:340
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:1073
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:1097
Dtk_ModelDisplay::SectionParallelePlane
@ SectionParallelePlane
Definition: util_ent_dtk.hpp:856
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:830
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:135
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:387
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:1005
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:470
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:853
Dtk_FontLineType
Dtk_FontLineType
This is a set of line styles.
Definition: util_ent_dtk.hpp:43
Dtk_LayerFilterInfos
Please use the Dtk_LayerFilterInfosPtr class to handle it...
Definition: util_ent_dtk.hpp:401
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:1210
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:392
Dtk_ColorInfosSet::Dtk_ColorInfosSet
Dtk_ColorInfosSet(const Dtk_Size_t inNumColors)
Dtk_ModelDisplay::SectionBody
@ SectionBody
Definition: util_ent_dtk.hpp:858
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:968
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:1003
Dtk_Entity::PrepareTransfo
virtual void PrepareTransfo()
Dtk_LayerInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:476
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:1100
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:1094
DTK_NO_PATTERN
@ DTK_NO_PATTERN
Definition: util_ent_dtk.hpp:44
DTK_LONG_DASHED
@ DTK_LONG_DASHED
Definition: util_ent_dtk.hpp:56
Dtk_Constraint::TypeDistance
@ TypeDistance
Definition: util_ent_dtk.hpp:1081
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:391
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:582
Dtk_AxisSystem::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:785
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:1058
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:1228
Dtk_Info::MandatoryFlag
MandatoryFlag
Definition: util_ent_dtk.hpp:132
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:585
Dtk_Constraint::~Dtk_Constraint
virtual ~Dtk_Constraint()
Dtk_Info::ZXPlane
@ ZXPlane
Definition: util_ent_dtk.hpp:136
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:610
Dtk_Info::SetBuildingInfosIds
Dtk_ErrorStatus SetBuildingInfosIds(const Dtk_tab< Dtk_Int32 > inBuildingInfos)
Dtk_Constraint::TypeCoincidence
@ TypeCoincidence
Definition: util_ent_dtk.hpp:1079
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:855
Dtk_string_compare::operator()
bool operator()(const Dtk_string &s1, const Dtk_string &s2) const
Definition: util_ent_dtk.hpp:95
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:803
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:1088
Dtk_ModelDisplay::Dtk_ModelDisplay
Dtk_ModelDisplay()
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:1024
Dtk_ConstraintReference::Create
static Dtk_SmartPtr< Dtk_ConstraintReference > Create()
Dtk_Info::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:118
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:788
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:1056
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:1223
Dtk_Constraint::TypeTangent
@ TypeTangent
Definition: util_ent_dtk.hpp:1107
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:1102
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:1086
Dtk_LayerFilterInfos::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:403
Dtk_Preview::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:713
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:94
Dtk_Constraint::_ConstraintValue::_EnableUpper
Dtk_Int32 _EnableUpper
Definition: util_ent_dtk.hpp:1057
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:1089
Dtk_Constraint::Dtk_Constraint
Dtk_Constraint(const ConstraintTypeEnum &inType)
Dtk_Constraint::TypeLock
@ TypeLock
Definition: util_ent_dtk.hpp:1092
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:1101
dtk_object.hpp
Dtk_Constraint::_ConstraintValue::_Value
Dtk_Val _Value
Definition: util_ent_dtk.hpp:1055
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:729
Dtk_Constraint::TypeCenter
@ TypeCenter
Definition: util_ent_dtk.hpp:1075
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:26
Dtk_Constraint::ConstraintTypeEnum
ConstraintTypeEnum
Definition: util_ent_dtk.hpp:1065
Dtk_Entity::info
Dtk_InfoPtr & info()
Dtk_Entity
Definition: util_ent_dtk.hpp:336
Dtk_ModelDisplay::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.