DATAKIT SDK  V2026.1
util_ent_dtk.hpp
Go to the documentation of this file.
1 #ifndef _UTIL_ENT_DTK_HPP_
2 #define _UTIL_ENT_DTK_HPP_
3 
8 #include "util/error_dtk.hpp"
10 #include "util/util_ptr_dtk.hpp"
11 #include "util_stl_dtk.hpp"
12 #include "def/define.h"
13 #include <iosfwd>
14 #include "util/dtk_val.hpp"
15 
16 class Dtk_Entity;
17 class Dtk_material;
18 class Dtk_MetaData;
19 
20 template <class T> class Dtk_SmartPtr;
21 
23 
26  DTK_PT_CROSS, // a cross which looks like a "X"
27  DTK_PT_PLUS, // a cross which looks like a "+"
28  DTK_PT_CONCENTRIC, // an unfilled circle
29  DTK_PT_COINCIDENT, // two unfilled concentric circles
30  DTK_PT_FULLCIRCLE, // a filled circle
31  DTK_PT_FULLSQUARE, // a filled square
32  DTK_PT_STAR, // a star which is the union of a 2D marker CROSS, a 2D marker PLUS and a 2D marker DOT
33  DTK_PT_DOT, // a dot
34  DTK_PT_SMALLDOT, // a small dot whose size is one pixel
35  DTK_PT_BIGFULLCIRCLE, // a big filled circle
36  DTK_PT_BIGFULLSQUARE, // a big filled square
37  DTK_PT_SQUARE, // an unfilled square
38  DTK_PT_UP_TRIANGLE, // a triangle pointing up
39  DTK_PT_DIAMOND // a square rotated by 90 degrees
40 };
41 
46  // ________________________________
48  // _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
50  // ________ _ _ _________ _ _ _____
52  // ________ _ _________ _ _________
54  // ................................
56  // ___ ___ ___ ___ ___ ___ ___ ___
58  // ___ . ___ . ___ . ___ . ___ . __
60  // --'\,-----'\,-----'\,-----'\,---
63 };
64 
65 extern int dtk_AddColorInTable(const Dtk_RGB&);
66 
67 class Dtk_Object;
68 template <class T>
69 class Dtk_SmartPtr;
70 class Dtk_Val;
71 struct Dtk_string_compare;
72 class Dtk_Info;
73 
74 //class Dtk_Connector;
75 //class Dtk_ConnectorPart;
76 
77 //typedef Dtk_SmartPtr<Dtk_Connector> Dtk_ConnectorPtr;
78 //typedef Dtk_SmartPtr<Dtk_ConnectorPart> Dtk_ConnectorPartPtr;
79 //
80 //typedef Dtk_tab<Dtk_ConnectorPtr> Dtk_ConnectorTab;
81 //typedef Dtk_tab<Dtk_ConnectorPartPtr> Dtk_ConnectorPartTab;
82 
83 class Dtk_UUID;
84 class Dtk_pnt;
85 class Dtk_dir;
86 class Dtk_RGB;
87 class Dtk_string;
88 
89 
90 
91 
92 
93 
95 {
96  bool operator()(const Dtk_string& s1, const Dtk_string& s2) const
97  {
98  return s1.cmp(s2) < 0;
99  }
100 };
101 
103 {
104  bool operator()(const Dtk_string& s1, const Dtk_string& s2) const
105  {
106  return s1.icmp(s2) < 0;
107  }
108 };
116 class Dtk_Info : public Dtk_Object
117 {
118 
119 protected:
120  enum { _typeID = DTK_TYPE_INFO };
121  struct Dtk_Handle; // Not defined here
122  Dtk_Handle *_Private; // Handle
124  void _init();
125  void _copy(const Dtk_Info& s);
126  void _reset();
128  Dtk_Info(const Dtk_Info& s);
130  friend class Dtk_SmartPtr<Dtk_Info>;
131  virtual Dtk_Object* Clone() { return new Dtk_Info(*this); }
132 public:
134  {
140  };
141 
142  //downcasting
143  int DtkDynamicType(const Dtk_Int32& inId);
145 
153 
156 
158  Dtk_Val const * FindAttribute(const Dtk_string& name) const; // If not found, returns nullptr.
159  Dtk_ErrorStatus ListAttributes(const Dtk_string& substring, Dtk_tab<Dtk_string>& tab_keys) const;
164 
179  Dtk_ErrorStatus SetColor( const int&R, const int&G, const int&B );// {return SetColorId( dtk_AddColorInTable( Dtk_RGB( R, G, B ) ) ); }
180  Dtk_ErrorStatus SetColor( const Dtk_RGB & inColor );// {return SetColorId( dtk_AddColorInTable( inColor ) ); }
181 
182 
188  Dtk_ErrorStatus SetCurveThickNess(const Dtk_Int32 &inCurveThickNess);
193  Dtk_ErrorStatus SetCurveLineTypeDefinitionId( const Dtk_ID & inLineTypeDefinitionId );
195  Dtk_ErrorStatus SetCurveLineType(const Dtk_Int32 &inCurveLineType);
198  Dtk_ErrorStatus SetInfiniteGeometryFlag(const Dtk_Int32 &inInfiniteGeometryFlag);
199  Dtk_ErrorStatus SetRefEntityFlag( const Dtk_Int32 &inRefEntityFlag );
200  Dtk_ErrorStatus SetMandatoryFlag(const enum MandatoryFlag &inMandatoryFlag);
205  //Deprecated use AddRenderInfos and AddMaterialInfos methods instead
211 
212 
213  int GetActivationFlag() const;
214  int GetFlexibleFlag() const;
216  int GetDefaultChildIndex() const;
218  int GetUse() const;
219  int GetAddedItemFlag() const;
220  int GetHierarchy() const;
222  int GetFontId() const;
223  int GetFormFlag() const;
224  int GetMatId() const;
225  int GetSubordFlag() const;
226  int GetId() const;
227  int GetViewId() const;
228 
234 
248  Dtk_RGB GetColor() const;
249  int GetColorId() const;
250 
256 
260  int GetLayer() const;
261 
268  int GetBlankedStatus() const;
269 
271  int GetCurveThickNess() const;
272 
277 
282 
286 
290 
294 
298 
301  enum MandatoryFlag GetMandatoryFlag() const;
302 
303 
305  int GetRefEntityFlag() const;
306  Dtk_UUID GetUuid() const;
308 
309  //Deprecated use GetRenderInfos() and GetPhysicalMaterialInfos() methods instead.
311 
316 
321 
325 
329 
332 
333 
338 
344  void SetIsUpToDate( const Dtk_bool isUpToDate );
345 
346 
347  virtual Dtk_Size_t GetSize() const;
348  virtual Dtk_ErrorStatus _Store(void*);
349 };
350 
351 
352 class Dtk_Entity : public Dtk_Object
353 {
354 protected:
355  struct Dtk_Handle; // Not defined here
356  Dtk_Handle *_Private; // Handle
358  void _init();
359  void _copy(const Dtk_Entity& s);
360  void _reset();
361 
362  virtual Dtk_Object* Clone() = 0;
363  friend class Dtk_SmartPtr<Dtk_Entity>;
364 public:
370 
371  virtual ~Dtk_Entity();
374  const Dtk_ID& GetID() const;
375 
376  virtual enum type_detk get_type_detk() const=0;
377 
378  //downcasting
379  int DtkDynamicType(const int& inId);
381 
384  //virtual Dtk_status Transform(const Dtk_transfo& inTransfo)=0;
386 
387  virtual Dtk_ErrorStatus _Store(void*);
388  virtual Dtk_Size_t GetSize() const;
389 
390  virtual void PrepareTransfo ();
391 };
392 
394 
395 class Dtk_LayerInfosSet;
396 class Dtk_ColorInfosSet;
398 class Dtk_AxisSystem;
399 class Dtk_ModelDisplay;
400 class Dtk_Constraint;
409 
410 
411 
412 
418 {
419 protected:
420  struct Dtk_Handle; // Not defined here
421  Dtk_Handle *_Private; // Handle
423 
424  Dtk_LayerFilterInfos(const Dtk_Size_t inNumLayers, Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersActivatedByDefault = DTK_FALSE);
427  void _Init(const Dtk_Size_t inNumLayers);
428  void _Copy(const Dtk_LayerFilterInfos &s);
429  void _Reset();
430  friend class Dtk_SmartPtr< Dtk_LayerFilterInfos >;
431  friend class Dtk_LayerInfosSet;
432 public:
435 
438 
441 
444  void SelectLayer(const Dtk_Size_t inLayerIndex);
445 
448  void SelectLayers(const Dtk_tab< Dtk_Size_t >& inLayerIndexes );
449 
452  void UnselectLayer(const Dtk_Size_t inLayerIndex);
453 
456  void UnselectLayers(const Dtk_tab< Dtk_Size_t >& inLayerIndexes);
457 
458 
462  Dtk_bool IsLayerSelected(const Dtk_Size_t inLayerIndex ) const;
463 
466  void GetSelectedLayers(Dtk_tab< Dtk_Size_t >& outSelectedLayerIndexes) const;
467 
470  void GetName(Dtk_string& outLayerFilterName) const;
471 
474  void GetDescription(Dtk_string& outLayerFilterDescription) const;
475 };
476 
487 {
488 public:
489 protected:
490  struct Dtk_Handle; // Not defined here
491  Dtk_Handle *_Private; // Handle
494  Dtk_LayerInfosSet(const Dtk_Size_t inNumLayers);
495 
498  virtual Dtk_Object* Clone() { return new Dtk_LayerInfosSet(*this); }
499 
502 private:
503  void _Init(const Dtk_Size_t inNumLayers);
504  void _Copy(const Dtk_LayerInfosSet &s);
505  void _Reset();
506  friend class Dtk_SmartPtr<Dtk_LayerInfosSet>;
507 public:
510 
513 
516 
519  static Dtk_LayerInfosSetPtr Create( const Dtk_Size_t inNumLayers );
520 
527  Dtk_LayerFilterInfosPtr CreateLayerFilterInfos( Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersSelectedByDefault = DTK_FALSE, const Dtk_bool IsDefaultLayerFilter = DTK_FALSE );
528 
532 
536 
542  Dtk_ErrorStatus SetLayerName(const Dtk_Size_t inIndex, const Dtk_string& inLayerName);
543 
550  Dtk_ErrorStatus GetLayerName( const Dtk_Size_t inIndex, Dtk_string& outLayerName ) const;
551 
558  Dtk_ErrorStatus GetLayerNameById( const Dtk_ID inLayerID, Dtk_string& outLayerName ) const;
559 
564  Dtk_ErrorStatus SetDefaultLayer(const Dtk_Size_t inDefaultLayerIndex);
565 
570  Dtk_ErrorStatus GetDefaultLayer(Dtk_Size_t& outDefaultLayerIndex) const;
571 
576  Dtk_ErrorStatus GetDefaultLayerFilter(Dtk_Size_t& outDefaultLayerFilterIndex) const;
577 
581  Dtk_LayerFilterInfosPtr GetLayerFilterByPos(const Dtk_Size_t inLayerFilterIndex) const;
582 
588  Dtk_ErrorStatus SetLayerID(const Dtk_Size_t inLayerIndex, const Dtk_ID& inLayerID);
589 
595  Dtk_ErrorStatus GetLayerID(const Dtk_Size_t inLayerIndex, Dtk_ID& outLayerID) const;
596 
597 };
598 
599 
605 {
606 public:
607 protected:
608  struct Dtk_Handle; // Not defined here
609  Dtk_Handle *_Private; // Handle
612  Dtk_ColorInfosSet(const Dtk_Size_t inNumColors);
613 
616  virtual Dtk_Object* Clone() { return new Dtk_ColorInfosSet(*this); }
617 
620 private:
621  void _Init(const Dtk_Size_t inNumColors);
622  void _Copy(const Dtk_ColorInfosSet &s);
623  void _Reset();
624  friend class Dtk_SmartPtr<Dtk_ColorInfosSet>;
625 public:
628 
631 
634 
636  static Dtk_ColorInfosSetPtr Create(const Dtk_Size_t inNumColors);
637 
641 
647  Dtk_Size_t AddColor(const Dtk_ID inColorReadId, const Dtk_string& inColorName,const Dtk_RGB& inColorDef);
648 
649 
655  Dtk_ErrorStatus SetColorName(const Dtk_Size_t inColorPos, const Dtk_string& inColorName);
656 
663  Dtk_ErrorStatus GetColorName(const Dtk_Size_t inColorPos, Dtk_string& outColorName) const;
664 
671  Dtk_ErrorStatus GetColorNameById(const Dtk_ID inColorReadId, Dtk_string& outColorName) const;
672 
678 
683  Dtk_ErrorStatus GetDefaultColor(Dtk_Int32& outDefaultColor) const;
684 
690  Dtk_ErrorStatus SetColorID(const Dtk_Size_t inColorPos, const Dtk_ID& inColorReadID);
691 
697  Dtk_ErrorStatus GetColorID(const Dtk_Size_t inColorPos, Dtk_ID& outColorReadID) const;
698 
704  Dtk_ErrorStatus GetColorDefinition(const Dtk_Size_t inColorPos, Dtk_RGB& outColorDef) const;
705 
706 };
707 
708 
709 class Dtk_Preview;
711 
718 class Dtk_Preview: public Dtk_Object
719 {
720 public:
721  //downcasting
722  int DtkDynamicType(const int& inId);
724 
725  //constructors
727  static Dtk_PreviewPtr Create(const Dtk_Preview& in);
729  static Dtk_PreviewPtr Create(const char* inStream,const Dtk_Int32 inSizeStream);
730  char *GetStream();
733  void SetType(preview_type_detk inPreviewType);
734 
735 protected:
738  Dtk_Preview(const char* inStream,const Dtk_Int32 inSizeStream);
739  virtual ~Dtk_Preview();
740  struct Dtk_Handle;
741  Dtk_Handle *_Private;
742  void _Init();
743  void _Copy(const Dtk_Preview& s);
744  void _Reset();
745  friend class Dtk_SmartPtr<Dtk_Preview>;
746 };
747 
748 
757 {
758 public:
759 
762 
763 
771  void SetName(const Dtk_string& in) ;
772 
775  const Dtk_transfo& GetMatrix() const;
776 
781  void SetMatrix(const Dtk_transfo& in) ;
782 
786  int GetIsVisible() const;
790  void SetIsVisible() ;
791 
795  int GetIsHidden() const;
799  void SetIsHidden() ;
800 
808  void SetDefaultStatus(Dtk_bool inDefaultStatus) ;
809 
810 
811 
814 
817  virtual void conv_ptr(Dtk_AxisSystem ** s){*s = this;}
818  int DtkDynamicType(const int& inId);
820 
823 
824 protected:
826  virtual ~Dtk_AxisSystem();
827  struct Dtk_Handle;
828  Dtk_Handle *_Private;
829  void _Init();
830  void _copy(const Dtk_AxisSystem& s);
831  void _reset();
832  inline virtual Dtk_Object* Clone() { return new Dtk_AxisSystem(*this); }
833  friend class Dtk_SmartPtr<Dtk_AxisSystem>;
834 
835 };
841 {
842 protected:
843  struct Dtk_Handle; // Not defined here
844  Dtk_Handle *_Private; // Handle
846 
849 
851 
854  const Dtk_CameraPtr& inCamera,
856  const Dtk_bool inIsActivated);
857 
858  inline virtual Dtk_Object* Clone() { return new Dtk_ModelDisplay(*this); }
859 
862 private:
863  void _Init();
864  void _Copy(const Dtk_ModelDisplay &s);
865  void _Reset();
866  friend class Dtk_SmartPtr<Dtk_ModelDisplay>;
867 
868 public:
870  {
880  };
888  };
889 
892 
895 
898 
905  const Dtk_CameraPtr& inCamera,
907  const Dtk_bool inIsActivated);
908 
911  const Dtk_CameraPtr& GetCamera() const;
912 
916 
920 
923 
926 
928  void SetIsStandardView() const;
929 
932 
937  void SetSectionInformation(const SectionTypeEnum& inSectionType, const Dtk_Int32& inIsLocked = DTK_FALSE, const Dtk_Double64& inThickness=0.0) const;
938 
953  void GetSectionInformation(SectionTypeEnum& outSectionType, Dtk_Int32& outIsLocked, Dtk_Double64& outThickness) const;
954 
957 
959  void GetVisibleLayers( Dtk_tab<Dtk_Int32> &outVisibleLayers )const;
960  void SetVisibleLayers( const Dtk_tab<Dtk_Int32> & inVisibleLayers );
961 
962 };
963 
964 
973 {
974 public:
975 
978 
979 
987 
988 
992  const Dtk_pnt& GetPosition(Dtk_bool & outHasPosition) const;
995  void SetPosition(const Dtk_pnt& in);
996 
997 
1000 
1003  virtual void conv_ptr(Dtk_ConstraintReference ** s) { *s = this; }
1004  int DtkDynamicType(const int& inId);
1006 
1009 
1010 protected:
1013  struct Dtk_Handle;
1014  Dtk_Handle *_Private;
1015  void _Init();
1017  void _Reset();
1018  inline virtual Dtk_Object* Clone() { return new Dtk_ConstraintReference(*this); }
1019  friend class Dtk_SmartPtr<Dtk_ConstraintReference>;
1020 
1021 };
1022 
1023 
1032 {
1033 public:
1035  {
1041  };
1043  {
1044  switch( inEnum )
1045  {
1046  case ValueTypeSame: return L"TypeSame";
1047  case ValueTypeOpposite: return L"TypeOpposite";
1048  case ValueTypeInternal: return L"TypeInternal";
1049  case ValueTypeExternal: return L"TypeExternal";
1050  default:
1051  case ValueTypeUndefined: return L"TypeUndefined";
1052  }
1053  }
1054 
1056  {
1063  };
1065  {
1066  switch( inEnum )
1067  {
1068  case ValueTypeAngle: return L"Angle";
1069  case ValueTypeDistance: return L"Distance";
1070  case ValueTypePosition: return L"Position";
1071  case ValueTypeRotation: return L"Rotation";
1072  case ValueTypeOrientation: return L"Orientation";
1073  default:
1074  case ValueTypeUnknown: return L"TypeUnknown";
1075  }
1076  }
1077 
1079  {
1080  public:
1083 
1084  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit);
1085  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue);
1086 
1093  private:
1094 
1095  };
1096 
1098  {
1144  TypeWidth
1145  };
1147  {
1148  switch (inEnum)
1149  {
1150  case TypeAlign: return L"TypeAlign";
1151  case TypeAngle: return L"TypeAngle";
1152  case TypeBond: return L"TypeBond";
1153  case TypeCam: return L"TypeCam";
1154  case TypeCenter: return L"TypeCenter";
1155  case TypeConcentric: return L"TypeConcentric";
1156  case TypeCoincidence: return L"TypeCoincidence";
1157  case TypeDistance: return L"TypeDistance";
1158  case TypeFit: return L"TypeFit";
1159  case TypeFix: return L"TypeFix";
1160  case TypeGear: return L"TypeGear";
1161  case TypeHinge: return L"TypeHinge";
1162  case TypeLimit: return L"TypeLimit";
1163  case TypeLinear: return L"TypeLinear";
1164  case TypeLinearCoupler: return L"TypeLinearCoupler";
1165  case TypeLock: return L"TypeLock";
1166  case TypeOrientAngle: return L"TypeOrientAngle";
1167  case TypeParallel: return L"TypeParallel";
1168  case TypePathMate: return L"TypePathMate";
1169  case TypePerpendicular: return L"TypePerpendicular";
1170  case TypeProfileCenter: return L"TypeProfileCenter";
1171  case TypeRackPinion: return L"TypeRackPinion";
1172  case TypeScrew: return L"TypeScrew";
1173  case TypeSlot: return L"TypeSlot";
1174  case TypeSymmetric: return L"TypeSymmetric";
1175  case TypeTangent: return L"TypeTangent";
1176  case TypeTouch: return L"TypeTouch";
1177  case TypeUniversalJoint: return L"TypeUniversalJoint";
1178  case TypeWidth: return L"TypeWidth";
1179  default:
1180  case TypeUnknown: return L"Unknown";
1181  }
1182  }
1183 
1186 
1187 
1189 
1197 
1202 
1206  const _ConstraintValue& GetConstraintValue( const Dtk_Size_t &index ) const;
1207 
1211  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue, Dtk_Int32& outEnableLowerLimit, Dtk_Double64& outLowerLimit, Dtk_Int32& outEnableUpperLimit, Dtk_Double64& outUpperLimit ) const;
1212  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue ) const;
1213 
1218 
1221  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit );
1222  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue );
1223 
1240 
1241 
1244 
1247  virtual void conv_ptr(Dtk_Constraint ** s) { *s = this; }
1248  int DtkDynamicType(const int& inId);
1250 
1253 
1254 protected:
1256  virtual ~Dtk_Constraint();
1257  struct Dtk_Handle;
1258  Dtk_Handle *_Private;
1259  void _Init();
1260  void _Copy(const Dtk_Constraint& s);
1261  void _Reset();
1262  inline virtual Dtk_Object* Clone() { return new Dtk_Constraint(*this); }
1263  friend class Dtk_SmartPtr<Dtk_Constraint>;
1264 
1265 };
1266 
1267 #endif
DTK_TYPE_COLOR_INFOS_SET
@ DTK_TYPE_COLOR_INFOS_SET
Definition: define.h:509
Dtk_Entity::Dtk_Entity
Dtk_Entity()
Dtk_Constraint::TypeFix
@ TypeFix
Definition: util_ent_dtk.hpp:1118
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)
Calls full featured constructor to allocate a new object.
Dtk_ConstraintReference::DtkDynamicCast
static Dtk_ConstraintReference * DtkDynamicCast(Dtk_Object *inObject)
DTK_TYPE_LAYER_INFOS_SET
@ DTK_TYPE_LAYER_INFOS_SET
Definition: define.h:505
Dtk_ModelDisplay::GetVisibleLayers
void GetVisibleLayers(Dtk_tab< Dtk_Int32 > &outVisibleLayers) const
Visible layer for Dtk_ModelDisplay.
Dtk_LayerFilterInfos::SelectLayers
void SelectLayers(const Dtk_tab< Dtk_Size_t > &inLayerIndexes)
Selects given layers in the layer filter.
Dtk_ConstraintReference::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:1013
Dtk_pair
Definition: util_stl_dtk.hpp:921
Dtk_LayerInfosSet::CreateLayerFilterInfos
Dtk_LayerFilterInfosPtr CreateLayerFilterInfos(Dtk_string inName=L"", Dtk_string inDescription=L"", const Dtk_bool inAreLayersSelectedByDefault=DTK_FALSE, const Dtk_bool IsDefaultLayerFilter=DTK_FALSE)
Create a layer filter.
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:401
Dtk_ID
uint32_t Dtk_ID
Definition: define.h:692
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:121
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:405
Dtk_Info::GetPhysicalMaterialInfos
Dtk_PhysicalMaterialInfosPtr GetPhysicalMaterialInfos() const
Retrieves the entity MaterialInfos.
Dtk_Constraint::_ConstraintValue
Definition: util_ent_dtk.hpp:1079
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:876
Dtk_LayerInfosSet::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:490
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_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:1136
Dtk_Info
This is the generic Info class.
Definition: util_ent_dtk.hpp:117
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::GetColorId
int GetColorId() const
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:1123
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_Info::GetDisplayLineWidth
Dtk_Double64 GetDisplayLineWidth() const
Retrieves if all wireframe is displayed with same width.
Dtk_LayerInfosSet::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:515
Dtk_LayerFilterInfos::UnselectLayer
void UnselectLayer(const Dtk_Size_t inLayerIndex)
Unselects the given layer in the layer filter.
dtk_AddColorInTable
int dtk_AddColorInTable(const Dtk_RGB &)
Dtk_Constraint::ConstraintOrientationTypeEnum
ConstraintOrientationTypeEnum
Definition: util_ent_dtk.hpp:1035
Dtk_Preview::SetType
void SetType(preview_type_detk inPreviewType)
Dtk_Constraint::TypeWidth
@ TypeWidth
Definition: util_ent_dtk.hpp:1144
Dtk_AxisSystem::Dtk_AxisSystem
Dtk_AxisSystem()
DTK_TYPE_MODEL_DISPLAY
@ DTK_TYPE_MODEL_DISPLAY
Definition: define.h:487
Dtk_Constraint::TypeAlign
@ TypeAlign
Definition: util_ent_dtk.hpp:1101
Dtk_Constraint::conv_ptr
virtual void conv_ptr(Dtk_Constraint **s)
Definition: util_ent_dtk.hpp:1247
Dtk_AxisSystem::operator=
Dtk_AxisSystem & operator=(const Dtk_AxisSystem &p)
Dtk_Info::AddCustomerDefinedAttribute
Dtk_ErrorStatus AddCustomerDefinedAttribute(Dtk_string name, Dtk_Val val)
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:136
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:468
Dtk_string_compare_case_insensitive
Definition: util_ent_dtk.hpp:103
catiav5w::inTransfo
const Dtk_string const Dtk_transfo & inTransfo
Definition: catiav5w.hpp:622
Dtk_Info::GetPersistentName
Dtk_string GetPersistentName() const
Dtk_LayerFilterInfos::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:422
DTK_CENTERLINE
@ DTK_CENTERLINE
Definition: util_ent_dtk.hpp:53
Dtk_Constraint::Dtk_Constraint
Dtk_Constraint()
Dtk_PreviewPtr
Dtk_SmartPtr< Dtk_Preview > Dtk_PreviewPtr
Definition: util_ent_dtk.hpp:709
Dtk_Constraint::_ConstraintValue::_ValueUpper
Dtk_Double64 _ValueUpper
Definition: util_ent_dtk.hpp:1092
Dtk_Constraint::ValueTypeSame
@ ValueTypeSame
Definition: util_ent_dtk.hpp:1037
Dtk_Constraint::TypeSymmetric
@ TypeSymmetric
Definition: util_ent_dtk.hpp:1138
Dtk_Constraint::_Copy
void _Copy(const Dtk_Constraint &s)
DTK_PT_CROSS
@ DTK_PT_CROSS
Definition: util_ent_dtk.hpp:26
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:404
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:1003
Dtk_Info::DtkDynamicCast
static Dtk_Info * DtkDynamicCast(Dtk_Object *s)
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:53
DTK_PT_DOT
@ DTK_PT_DOT
Definition: util_ent_dtk.hpp:33
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:872
Dtk_ModelDisplay::rendering_mode_wireframe_with_all_edges
@ rendering_mode_wireframe_with_all_edges
Definition: util_ent_dtk.hpp:873
Dtk_Info::GetViewId
int GetViewId() const
DTK_PT_UNSPECIFIED
@ DTK_PT_UNSPECIFIED
Definition: util_ent_dtk.hpp:25
Dtk_Size_t
size_t Dtk_Size_t
Definition: define.h:715
Dtk_Info::GetColor
Dtk_RGB GetColor() const
Retrieves the entity color as Dtk_RGBA values.
Dtk_Constraint::TypeBond
@ TypeBond
Definition: util_ent_dtk.hpp:1105
Dtk_LayerInfosSet::SetLayerName
Dtk_ErrorStatus SetLayerName(const Dtk_Size_t inIndex, const Dtk_string &inLayerName)
Sets the layer name giving its index.
Dtk_Info::GetActivationFlag
int GetActivationFlag() const
Dtk_Constraint::ValueTypeInternal
@ ValueTypeInternal
Definition: util_ent_dtk.hpp:1039
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:1064
DTK_PT_STAR
@ DTK_PT_STAR
Definition: util_ent_dtk.hpp:32
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:1018
Dtk_Constraint::TypeUnknown
@ TypeUnknown
Definition: util_ent_dtk.hpp:1099
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()
Calls default constructor to allocate a new object.
Dtk_Info::GetIsUpToDate
Dtk_bool GetIsUpToDate() const
Retrieves up to date state of current object.
Dtk_Constraint::ValueTypeExternal
@ ValueTypeExternal
Definition: util_ent_dtk.hpp:1040
Dtk_Info::SetMetaData
Dtk_ErrorStatus SetMetaData(Dtk_tab< Dtk_MetaDataPtr > &inArray)
DTK_BREAKLINE
@ DTK_BREAKLINE
Definition: util_ent_dtk.hpp:61
dtk_val.hpp
DTK_FALSE
#define DTK_FALSE
Definition: define.h:731
Dtk_Info::ListAllCustomerDefinedAttributesWithVal
Dtk_ErrorStatus ListAllCustomerDefinedAttributesWithVal(Dtk_tab< Dtk_pair< Dtk_string, Dtk_Val > > &tab) const
Dtk_bool
char Dtk_bool
Definition: define.h:728
Dtk_Info::RemoveAttribute
Dtk_ErrorStatus RemoveAttribute(const Dtk_string &name)
DTK_TYPE_INFO
@ DTK_TYPE_INFO
Definition: define.h:469
catiav5w::inBlankedStatus
const Dtk_string const Dtk_transfo const Dtk_bool inBlankedStatus
Definition: catiav5w.hpp:623
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:47
Dtk_Entity::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:355
Dtk_ModelDisplay::rendering_mode_wireframe_with_only_visible_edges
@ rendering_mode_wireframe_with_only_visible_edges
Definition: util_ent_dtk.hpp:874
Dtk_Info::SetColorId
Dtk_ErrorStatus SetColorId(const Dtk_Int32 &inColorId)
Dtk_Constraint::ValueTypeOrientation
@ ValueTypeOrientation
Definition: util_ent_dtk.hpp:1062
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:62
Dtk_Info::GetCurveThickNess
int GetCurveThickNess() const
Dtk_LayerInfosSet::GetDefaultLayer
Dtk_ErrorStatus GetDefaultLayer(Dtk_Size_t &outDefaultLayerIndex) const
Gets the default layer index.
Dtk_Constraint
This is the Dtk_Constraint class.
Definition: util_ent_dtk.hpp:1032
Dtk_Double64
double Dtk_Double64
Definition: define.h:702
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:440
Dtk_ColorInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:616
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:870
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:1059
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:1058
Dtk_Entity::DtkDynamicCast
static Dtk_Entity * DtkDynamicCast(Dtk_Object *s)
Dtk_Info::create
static Dtk_SmartPtr< Dtk_Info > create(Dtk_Info &&in)
Calls move constructor to allocate a new object.
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:827
Dtk_Val
Definition: dtk_val.hpp:67
preview_type_detk
preview_type_detk
Definition: define.h:635
Dtk_Info::_Material
Dtk_MaterialPtr _Material
Definition: util_ent_dtk.hpp:123
Dtk_Info::GetMetaData
Dtk_ErrorStatus GetMetaData(Dtk_tab< Dtk_MetaDataPtr > &outArray) const
Dtk_Constraint::ValueTypeRotation
@ ValueTypeRotation
Definition: util_ent_dtk.hpp:1061
DTK_PT_UP_TRIANGLE
@ DTK_PT_UP_TRIANGLE
Definition: util_ent_dtk.hpp:38
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:973
Dtk_Constraint::ConstraintOrientationTypeEnumToString
static Dtk_string ConstraintOrientationTypeEnumToString(const ConstraintOrientationTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1042
Dtk_ModelDisplay::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:845
Dtk_Constraint::_ConstraintValue::_ValueType
ConstraintValueTypeEnum _ValueType
Definition: util_ent_dtk.hpp:1087
Dtk_ModelDisplay::SectionPlane
@ SectionPlane
Definition: util_ent_dtk.hpp:882
Dtk_ColorInfosSet::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:610
Dtk_AxisSystem::_Init
void _Init()
DTK_PT_COINCIDENT
@ DTK_PT_COINCIDENT
Definition: util_ent_dtk.hpp:29
Dtk_AxisSystem::DtkDynamicType
int DtkDynamicType(const int &inId)
Dtk_LayerFilterInfos::_Init
void _Init(const Dtk_Size_t inNumLayers)
Dtk_LayerInfosSet
This class represents a set of layer information, such as their name and identifier,...
Definition: util_ent_dtk.hpp:487
Dtk_Constraint::TypeTouch
@ TypeTouch
Definition: util_ent_dtk.hpp:1142
Dtk_ModelDisplay::rendering_mode_wireframe_partially_shade
@ rendering_mode_wireframe_partially_shade
Definition: util_ent_dtk.hpp:877
Dtk_Info::SetViewId
Dtk_ErrorStatus SetViewId(const Dtk_Int32 &inViewId)
Dtk_Info::SetDisplayLineWidth
Dtk_ErrorStatus SetDisplayLineWidth(const Dtk_Double64 &inDisplayLineWidth)
Dtk_Info::SetPointSymbolType
Dtk_ErrorStatus SetPointSymbolType(const Dtk_PointType inPointSymbolType)
Dtk_ModelDisplay::rendering_mode_unknown
@ rendering_mode_unknown
Definition: util_ent_dtk.hpp:879
Dtk_AxisSystem::IsDefault
Dtk_bool IsDefault() const
Get the default status.
Dtk_ModelDisplay
This is the Dtk_ModelDisplay class.
Definition: util_ent_dtk.hpp:841
DTK_DASHED
@ DTK_DASHED
Definition: util_ent_dtk.hpp:49
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:871
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_LayerFilterInfos::IsLayerSelected
Dtk_bool IsLayerSelected(const Dtk_Size_t inLayerIndex) const
Tells if the layer is selected or not giving its index.
Dtk_ModelDisplayPtr
Dtk_SmartPtr< Dtk_ModelDisplay > Dtk_ModelDisplayPtr
Definition: util_ent_dtk.hpp:406
Dtk_ModelDisplay::SectionBox
@ SectionBox
Definition: util_ent_dtk.hpp:885
Dtk_LayerInfosSet::GetLayerID
Dtk_ErrorStatus GetLayerID(const Dtk_Size_t inLayerIndex, Dtk_ID &outLayerID) const
Gets the LayerID giving its index.
Dtk_Constraint::TypeAngle
@ TypeAngle
Definition: util_ent_dtk.hpp:1103
Dtk_ModelDisplay::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:843
Dtk_Constraint::TypePerpendicular
@ TypePerpendicular
Definition: util_ent_dtk.hpp:1132
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:1120
Dtk_Constraint::TypeConcentric
@ TypeConcentric
Definition: util_ent_dtk.hpp:1110
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:34
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:1129
Dtk_ModelDisplay::rendering_mode_static_wireframe
@ rendering_mode_static_wireframe
Definition: util_ent_dtk.hpp:875
Dtk_ModelDisplay::SectionUndefined
@ SectionUndefined
Definition: util_ent_dtk.hpp:887
Dtk_LayerInfosSet::Dtk_LayerInfosSet
Dtk_LayerInfosSet(const Dtk_LayerInfosSet &s)
Dtk_Info::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:131
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:690
DTK_DOTTED
@ DTK_DOTTED
Definition: util_ent_dtk.hpp:55
Dtk_ModelDisplay::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:897
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:878
Dtk_Constraint::ConstraintTypeEnumToString
static Dtk_string ConstraintTypeEnumToString(const ConstraintTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1146
Dtk_Preview::Create
static Dtk_PreviewPtr Create(const Dtk_Preview &in)
Calls copy constructor to allocate a new object.
Dtk_Info::GetUse
int GetUse() const
DTK_PT_CONCENTRIC
@ DTK_PT_CONCENTRIC
Definition: util_ent_dtk.hpp:28
DTK_TYPE_LAYER_FILTER_INFOS
@ DTK_TYPE_LAYER_FILTER_INFOS
Definition: define.h:506
Dtk_Constraint::ValueTypePosition
@ ValueTypePosition
Definition: util_ent_dtk.hpp:1060
Dtk_Preview
This is the Dtk_Preview class.
Definition: util_ent_dtk.hpp:719
Dtk_Info::NotMandatory
@ NotMandatory
Definition: util_ent_dtk.hpp:135
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:51
DTK_DOTTED_DASHED
@ DTK_DOTTED_DASHED
Definition: util_ent_dtk.hpp:59
Dtk_Constraint::TypeUniversalJoint
@ TypeUniversalJoint
Definition: util_ent_dtk.hpp:1143
Dtk_ColorInfosSet::GetColorDefinition
Dtk_ErrorStatus GetColorDefinition(const Dtk_Size_t inColorPos, Dtk_RGB &outColorDef) const
Gets the ColorID giving its number.
Dtk_LayerFilterInfos::UnselectLayers
void UnselectLayers(const Dtk_tab< Dtk_Size_t > &inLayerIndexes)
Unselects the given layers in the layer filter.
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:139
Dtk_string_compare_case_insensitive::operator()
bool operator()(const Dtk_string &s1, const Dtk_string &s2) const
Definition: util_ent_dtk.hpp:104
DTK_PT_FULLCIRCLE
@ DTK_PT_FULLCIRCLE
Definition: util_ent_dtk.hpp:30
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:1116
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:37
Dtk_Constraint::ConstraintValueTypeEnum
ConstraintValueTypeEnum
Definition: util_ent_dtk.hpp:1056
Dtk_Entity::_Store
virtual Dtk_ErrorStatus _Store(void *)
Dtk_Entity::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:357
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_LayerInfosSet::GetLayerFilterByPos
Dtk_LayerFilterInfosPtr GetLayerFilterByPos(const Dtk_Size_t inLayerFilterIndex) const
Gets a layer filter giving its index.
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:1106
DTK_PT_PLUS
@ DTK_PT_PLUS
Definition: util_ent_dtk.hpp:27
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:1130
Dtk_ModelDisplay::SectionParallelePlane
@ SectionParallelePlane
Definition: util_ent_dtk.hpp:884
Dtk_Info::SetMatId
Dtk_ErrorStatus SetMatId(const Dtk_Int32 &inMatId)
Dtk_Info::SetPersistentName
Dtk_ErrorStatus SetPersistentName(Dtk_string inName)
Dtk_ModelDisplay::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:858
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:137
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_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_Info::create
static Dtk_SmartPtr< Dtk_Info > create(const Dtk_Info &in)
Calls copy constructor to allocate a new object.
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:20
Dtk_MaterialPtr
Dtk_SmartPtr< Dtk_material > Dtk_MaterialPtr
Definition: util_ent_dtk.hpp:20
Dtk_ColorInfosSetPtr
Dtk_SmartPtr< Dtk_ColorInfosSet > Dtk_ColorInfosSetPtr
Definition: util_ent_dtk.hpp:403
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:31
Dtk_Info::GetMatId
int GetMatId() const
Dtk_Constraint::ValueTypeOpposite
@ ValueTypeOpposite
Definition: util_ent_dtk.hpp:1038
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:492
Dtk_LayerInfosSet::SetDefaultLayer
Dtk_ErrorStatus SetDefaultLayer(const Dtk_Size_t inDefaultLayerIndex)
Sets the default layer index.
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:881
Dtk_FontLineType
Dtk_FontLineType
This is a set of line styles.
Definition: util_ent_dtk.hpp:44
Dtk_LayerFilterInfos
This class is used by Dtk_LayerInfosSet to represent a layer filter : its name, description,...
Definition: util_ent_dtk.hpp:418
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:1243
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:408
Dtk_LayerInfosSet::GetDefaultLayerFilter
Dtk_ErrorStatus GetDefaultLayerFilter(Dtk_Size_t &outDefaultLayerFilterIndex) const
Gets the default layer filter index.
Dtk_ColorInfosSet::Dtk_ColorInfosSet
Dtk_ColorInfosSet(const Dtk_Size_t inNumColors)
Dtk_ModelDisplay::SectionBody
@ SectionBody
Definition: util_ent_dtk.hpp:886
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:999
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:1036
Dtk_Entity::PrepareTransfo
virtual void PrepareTransfo()
Dtk_LayerInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:498
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:1133
Dtk_Info::SetPhysicalMaterialInfosId
Dtk_ErrorStatus SetPhysicalMaterialInfosId(const Dtk_ID &inMaterialId)
DTK_TYPE_CONSTRAINT_REFERENCE
@ DTK_TYPE_CONSTRAINT_REFERENCE
Definition: define.h:611
Dtk_PointType
Dtk_PointType
Definition: util_ent_dtk.hpp:24
Dtk_Constraint::TypeOrientAngle
@ TypeOrientAngle
Definition: util_ent_dtk.hpp:1127
DTK_NO_PATTERN
@ DTK_NO_PATTERN
Definition: util_ent_dtk.hpp:45
DTK_LONG_DASHED
@ DTK_LONG_DASHED
Definition: util_ent_dtk.hpp:57
Dtk_Constraint::TypeDistance
@ TypeDistance
Definition: util_ent_dtk.hpp:1114
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:35
Dtk_ConstraintPtr
Dtk_SmartPtr< Dtk_Constraint > Dtk_ConstraintPtr
Definition: util_ent_dtk.hpp:407
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:605
Dtk_AxisSystem::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:813
DTK_TYPE_CONSTRAINT
@ DTK_TYPE_CONSTRAINT
Definition: define.h:610
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:1091
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:36
Dtk_Constraint::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:1262
Dtk_Info::MandatoryFlag
MandatoryFlag
Definition: util_ent_dtk.hpp:134
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:608
Dtk_Constraint::~Dtk_Constraint
virtual ~Dtk_Constraint()
Dtk_Info::ZXPlane
@ ZXPlane
Definition: util_ent_dtk.hpp:138
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:633
Dtk_Info::SetBuildingInfosIds
Dtk_ErrorStatus SetBuildingInfosIds(const Dtk_tab< Dtk_Int32 > inBuildingInfos)
Dtk_Constraint::TypeCoincidence
@ TypeCoincidence
Definition: util_ent_dtk.hpp:1112
Dtk_ColorInfosSet::GetColorName
Dtk_ErrorStatus GetColorName(const Dtk_Size_t inColorPos, Dtk_string &outColorName) const
Gets the Color Name giving its number.
Dtk_LayerInfosSet::SetLayerID
Dtk_ErrorStatus SetLayerID(const Dtk_Size_t inLayerIndex, const Dtk_ID &inLayerID)
Sets the LayerID giving its index.
Dtk_Info::GetlayerList
Dtk_tab< Dtk_Int32 > GetlayerList() const
Retrieves the layers in which the entity is assigned.
Dtk_ModelDisplay::SectionPlaneList
@ SectionPlaneList
Definition: util_ent_dtk.hpp:883
Dtk_string_compare::operator()
bool operator()(const Dtk_string &s1, const Dtk_string &s2) const
Definition: util_ent_dtk.hpp:96
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()
Calls default constructor to allocate a new object.
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:832
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:1121
Dtk_ModelDisplay::Dtk_ModelDisplay
Dtk_ModelDisplay()
DTK_PT_DIAMOND
@ DTK_PT_DIAMOND
Definition: util_ent_dtk.hpp:39
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:1057
Dtk_ConstraintReference::Create
static Dtk_SmartPtr< Dtk_ConstraintReference > Create()
Calls default constructor to allocate a new object.
Dtk_LayerFilterInfos::SelectLayer
void SelectLayer(const Dtk_Size_t inLayerIndex)
Selects a given layer in the layer filter.
Dtk_Info::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:120
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:817
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:1089
Dtk_LayerInfosSet::Create
static Dtk_LayerInfosSetPtr Create(const Dtk_Size_t inNumLayers)
Calls a constructor to allocate a new object.
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_ModelDisplay.
Dtk_Info::SetDefaultChildIndex
Dtk_ErrorStatus SetDefaultChildIndex(const Dtk_Int32 &inIndex)
Dtk_Info::SetUuid
Dtk_ErrorStatus SetUuid(const Dtk_UUID &inUuid)
Dtk_LayerFilterInfos::GetSelectedLayers
void GetSelectedLayers(Dtk_tab< Dtk_Size_t > &outSelectedLayerIndexes) const
Retrieves all the selected layers into the layer filter.
Dtk_Info::GetId
int GetId() const
Dtk_Preview::GetStream
char * GetStream()
Dtk_Constraint::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:1257
Dtk_Constraint::TypeTangent
@ TypeTangent
Definition: util_ent_dtk.hpp:1140
Dtk_ColorInfosSet::Create
static Dtk_ColorInfosSetPtr Create(const Dtk_Size_t inNumColors)
Calls a constructor to allocate a new object.
Dtk_Constraint::TypeScrew
@ TypeScrew
Definition: util_ent_dtk.hpp:1135
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 by 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()
Calls default constructor to allocate a new object.
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:1119
Dtk_LayerFilterInfos::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:420
Dtk_Preview::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:740
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_dir
This is a mathematical direction class.
Definition: dtk_dir.hpp:14
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:95
Dtk_Constraint::_ConstraintValue::_EnableUpper
Dtk_Int32 _EnableUpper
Definition: util_ent_dtk.hpp:1090
Dtk_Preview::Create
static Dtk_PreviewPtr Create(const char *inStream, const Dtk_Int32 inSizeStream)
Calls full featured constructor to allocate a new object.
Dtk_AxisSystem::SetIsHidden
void SetIsHidden()
Set the hidden status.
Dtk_Constraint::TypeLinear
@ TypeLinear
Definition: util_ent_dtk.hpp:1122
Dtk_Constraint::Dtk_Constraint
Dtk_Constraint(const ConstraintTypeEnum &inType)
Dtk_Constraint::TypeLock
@ TypeLock
Definition: util_ent_dtk.hpp:1125
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:1134
Dtk_LayerInfosSet::GetLayerName
Dtk_ErrorStatus GetLayerName(const Dtk_Size_t inIndex, Dtk_string &outLayerName) const
Gets the LayerName giving its index.
dtk_object.hpp
Dtk_Constraint::_ConstraintValue::_Value
Dtk_Val _Value
Definition: util_ent_dtk.hpp:1088
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:757
Dtk_Constraint::TypeCenter
@ TypeCenter
Definition: util_ent_dtk.hpp:1108
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:1098
Dtk_Entity::info
Dtk_InfoPtr & info()
Dtk_Entity
Definition: util_ent_dtk.hpp:353
Dtk_ModelDisplay::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.