DATAKIT API  V2025.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 
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 
321 
322  friend std::ostream& operator<<(std::ostream& o,const Dtk_Info& d);
323  virtual Dtk_Size_t GetSize() const;
324  virtual Dtk_ErrorStatus _Store(void*);
325 };
326 
327 
328 class Dtk_Entity : public Dtk_Object
329 {
330 protected:
331  struct Dtk_Handle; // Not defined here
332  Dtk_Handle *_Private; // Handle
334  void _init();
335  void _copy(const Dtk_Entity& s);
336  void _reset();
337 
338  virtual Dtk_Object* Clone() = 0;
339  friend class Dtk_SmartPtr<Dtk_Entity>;
340 public:
346 
347  virtual ~Dtk_Entity();
350  const Dtk_ID& GetID() const;
351 
352  virtual enum type_detk get_type_detk() const=0;
353 
354  //downcasting
355  int DtkDynamicType(const int& inId);
357 
360  //virtual Dtk_status Transform(const Dtk_transfo& inTransfo)=0;
362  friend std::ostream& operator<<(std::ostream& o,const Dtk_Entity& d);
363 
364  virtual Dtk_ErrorStatus _Store(void*);
365  virtual Dtk_Size_t GetSize() const;
366 
367  virtual void PrepareTransfo ();
368 };
369 
371 
372 class Dtk_LayerInfosSet;
373 class Dtk_ColorInfosSet;
375 class Dtk_AxisSystem;
376 class Dtk_ModelDisplay;
377 class Dtk_Constraint;
386 
387 
388 
389 
394 {
395 protected:
396  struct Dtk_Handle; // Not defined here
397  Dtk_Handle *_Private; // Handle
399 
400  Dtk_LayerFilterInfos(const Dtk_Size_t inNumLayers, Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersActivatedByDefault = DTK_FALSE);
403  void _Init(const Dtk_Size_t inNumLayers);
404  void _Copy(const Dtk_LayerFilterInfos &s);
405  void _Reset();
406  friend class Dtk_SmartPtr< Dtk_LayerFilterInfos >;
407  friend class Dtk_LayerInfosSet;
408 public:
411 
414 
417 
420  void SelectLayer(const Dtk_Size_t inNumLayer);
421 
424  void SelectLayers(const Dtk_tab< Dtk_Size_t >& inNumLayers);
425 
428  void UnselectLayer(const Dtk_Size_t inLayerPos);
429 
432  void UnselectLayers(const Dtk_tab< Dtk_Size_t >& inNumLayers);
433 
434 
438  Dtk_bool IsLayerSelected(const Dtk_Size_t inLayerPos) const;
439 
442  void GetSelectedLayers(Dtk_tab< Dtk_Size_t >& outSelectedLayers) const;
443 
446  void GetName(Dtk_string& outLayerFilterName) const;
447 
450  void GetDescription(Dtk_string& outLayerFilterDescription) const;
451 };
452 
458 {
459 public:
460 protected:
461  struct Dtk_Handle; // Not defined here
462  Dtk_Handle *_Private; // Handle
465  Dtk_LayerInfosSet(const Dtk_Size_t inNumLayers);
466 
469  virtual Dtk_Object* Clone() { return new Dtk_LayerInfosSet(*this); }
470 
473 private:
474  void _Init(const Dtk_Size_t inNumLayers);
475  void _Copy(const Dtk_LayerInfosSet &s);
476  void _Reset();
477  friend class Dtk_SmartPtr<Dtk_LayerInfosSet>;
478 public:
481 
484 
487 
489  static Dtk_LayerInfosSetPtr Create(const Dtk_Size_t inNumLayers);
490 
497  Dtk_LayerFilterInfosPtr CreateLayerFilterInfos( Dtk_string inName = L"", Dtk_string inDescription = L"", const Dtk_bool inAreLayersActivatedByDefault = DTK_FALSE, const Dtk_bool IsDefaultLayerFilter = DTK_FALSE);
498 
502 
506 
512  Dtk_ErrorStatus SetLayerName(const Dtk_Size_t inLayerPos, const Dtk_string& inLayerName);
513 
520  Dtk_ErrorStatus GetLayerName( const Dtk_Size_t inLayerPos, Dtk_string& outLayerName ) const;
521 
528  Dtk_ErrorStatus GetLayerNameById( const Dtk_ID inLayerID, Dtk_string& outLayerName ) const;
529 
535 
540  Dtk_ErrorStatus GetDefaultLayer(Dtk_Size_t& outDefaultLayer) const;
541 
546  Dtk_ErrorStatus GetDefaultLayerFilter(Dtk_Size_t& outDefaultLayerFilter) const;
547 
552 
558  Dtk_ErrorStatus SetLayerID(const Dtk_Size_t inLayerPos, const Dtk_ID& inLayerID);
559 
565  Dtk_ErrorStatus GetLayerID(const Dtk_Size_t inLayerPos, Dtk_ID& outLayerID) const;
566 
567 };
568 
569 
575 {
576 public:
577 protected:
578  struct Dtk_Handle; // Not defined here
579  Dtk_Handle *_Private; // Handle
582  Dtk_ColorInfosSet(const Dtk_Size_t inNumColors);
583 
586  virtual Dtk_Object* Clone() { return new Dtk_ColorInfosSet(*this); }
587 
590 private:
591  void _Init(const Dtk_Size_t inNumColors);
592  void _Copy(const Dtk_ColorInfosSet &s);
593  void _Reset();
594  friend class Dtk_SmartPtr<Dtk_ColorInfosSet>;
595 public:
598 
601 
604 
606  static Dtk_ColorInfosSetPtr Create(const Dtk_Size_t inNumColors);
607 
611 
617  Dtk_Size_t AddColor(const Dtk_ID inColorReadId, const Dtk_string& inColorName,const Dtk_RGB& inColorDef);
618 
619 
625  Dtk_ErrorStatus SetColorName(const Dtk_Size_t inColorPos, const Dtk_string& inColorName);
626 
633  Dtk_ErrorStatus GetColorName(const Dtk_Size_t inColorPos, Dtk_string& outColorName) const;
634 
641  Dtk_ErrorStatus GetColorNameById(const Dtk_ID inColorReadId, Dtk_string& outColorName) const;
642 
648 
653  Dtk_ErrorStatus GetDefaultColor(Dtk_Int32& outDefaultColor) const;
654 
660  Dtk_ErrorStatus SetColorID(const Dtk_Size_t inColorPos, const Dtk_ID& inColorReadID);
661 
667  Dtk_ErrorStatus GetColorID(const Dtk_Size_t inColorPos, Dtk_ID& outColorReadID) const;
668 
674  Dtk_ErrorStatus GetColorDefinition(const Dtk_Size_t inColorPos, Dtk_RGB& outColorDef) const;
675 
676 };
677 
683 class Dtk_Preview;
685 
686 
687 class Dtk_Preview: public Dtk_Object
688 {
689 public:
690  //downcasting
691  int DtkDynamicType(const int& inId);
693 
694  //constructors
696  static Dtk_PreviewPtr Create(const char* inStream,const Dtk_Int32 inSizeStream);
697  char *GetStream();
700  void SetType(preview_type_detk inPreviewType);
701 
702 protected:
704  Dtk_Preview(const char* inStream,const Dtk_Int32 inSizeStream);
705  virtual ~Dtk_Preview();
706  struct Dtk_Handle;
707  Dtk_Handle *_Private;
708  void _Init();
709  void _Copy(const Dtk_Preview& s);
710  void _Reset();
711  friend class Dtk_SmartPtr<Dtk_Preview>;
712 };
713 
714 
722 {
723 public:
724 
727 
728 
736  void SetName(const Dtk_string& in) ;
737 
740  const Dtk_transfo& GetMatrix() const;
741 
746  void SetMatrix(const Dtk_transfo& in) ;
747 
751  int GetIsVisible() const;
755  void SetIsVisible() ;
756 
760  int GetIsHidden() const;
764  void SetIsHidden() ;
765 
773  void SetDefaultStatus(Dtk_bool inDefaultStatus) ;
774 
775 
776 
779 
781  virtual void conv_ptr(Dtk_AxisSystem ** s){*s = this;}
782  int DtkDynamicType(const int& inId);
784 
787 
788 protected:
790  virtual ~Dtk_AxisSystem();
791  struct Dtk_Handle;
792  Dtk_Handle *_Private;
793  void _Init();
794  void _copy(const Dtk_AxisSystem& s);
795  void _reset();
796  inline virtual Dtk_Object* Clone() { return new Dtk_AxisSystem(*this); }
797  friend class Dtk_SmartPtr<Dtk_AxisSystem>;
798 
799 };
805 {
806 protected:
807  struct Dtk_Handle; // Not defined here
808  Dtk_Handle *_Private; // Handle
810 
813 
816 
819  const Dtk_CameraPtr& inCamera,
821  const Dtk_bool inIsActivated);
822 
823  inline virtual Dtk_Object* Clone() { return new Dtk_ModelDisplay(*this); }
824 
827 private:
828  void _Init();
829  void _Copy(const Dtk_ModelDisplay &s);
830  void _Reset();
831  friend class Dtk_SmartPtr<Dtk_ModelDisplay>;
832 
833 public:
835  {
845  };
853  };
854 
857 
860 
863 
870  const Dtk_CameraPtr& inCamera,
872  const Dtk_bool inIsActivated);
873 
876  const Dtk_CameraPtr& GetCamera() const;
877 
881 
885 
888 
891 
893  void SetIsStandardView() const;
894 
897 
900  void SetSectionInformation(const SectionTypeEnum& inSectionType, const Dtk_Int32& inIsLocked = DTK_FALSE, const Dtk_Double64& inThickness=0.0) const;
901 
916  void GetSectionInformation(SectionTypeEnum& outSectionType, Dtk_Int32& outIsLocked, Dtk_Double64& outThickness) const;
917 
920 
922  void GetVisibleLayers( Dtk_tab<Dtk_Int32> &outVisibleLayers )const;
923  void SetVisibleLayers( const Dtk_tab<Dtk_Int32> & inVisibleLayers );
924 
925 };
926 
927 
935 {
936 public:
937 
940 
941 
949 
950 
954  const Dtk_pnt& GetPosition(Dtk_bool & outHasPosition) const;
957  void SetPosition(const Dtk_pnt& in);
958 
959 
962 
964  virtual void conv_ptr(Dtk_ConstraintReference ** s) { *s = this; }
965  int DtkDynamicType(const int& inId);
967 
970 
971 protected:
974  struct Dtk_Handle;
975  Dtk_Handle *_Private;
976  void _Init();
978  void _Reset();
979  inline virtual Dtk_Object* Clone() { return new Dtk_ConstraintReference(*this); }
981 
982 };
983 
984 
992 {
993 public:
995  {
1001  };
1003  {
1004  switch( inEnum )
1005  {
1006  case ValueTypeSame: return L"TypeSame";
1007  case ValueTypeOpposite: return L"TypeOpposite";
1008  case ValueTypeInternal: return L"TypeInternal";
1009  case ValueTypeExternal: return L"TypeExternal";
1010  default:
1011  case ValueTypeUndefined: return L"TypeUndefined";
1012  }
1013  }
1014 
1016  {
1023  };
1025  {
1026  switch( inEnum )
1027  {
1028  case ValueTypeAngle: return L"Angle";
1029  case ValueTypeDistance: return L"Distance";
1030  case ValueTypePosition: return L"Position";
1031  case ValueTypeRotation: return L"Rotation";
1032  case ValueTypeOrientation: return L"Orientation";
1033  default:
1034  case ValueTypeUnknown: return L"TypeUnknown";
1035  }
1036  }
1037 
1039  {
1040  public:
1043 
1044  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit);
1045  _ConstraintValue(const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue);
1046 
1053  private:
1054 
1055  };
1056 
1058  {
1104  TypeWidth
1105  };
1107  {
1108  switch (inEnum)
1109  {
1110  case TypeAlign: return L"TypeAlign";
1111  case TypeAngle: return L"TypeAngle";
1112  case TypeBond: return L"TypeBond";
1113  case TypeCam: return L"TypeCam";
1114  case TypeCenter: return L"TypeCenter";
1115  case TypeConcentric: return L"TypeConcentric";
1116  case TypeCoincidence: return L"TypeCoincidence";
1117  case TypeDistance: return L"TypeDistance";
1118  case TypeFit: return L"TypeFit";
1119  case TypeFix: return L"TypeFix";
1120  case TypeGear: return L"TypeGear";
1121  case TypeHinge: return L"TypeHinge";
1122  case TypeLimit: return L"TypeLimit";
1123  case TypeLinear: return L"TypeLinear";
1124  case TypeLinearCoupler: return L"TypeLinearCoupler";
1125  case TypeLock: return L"TypeLock";
1126  case TypeOrientAngle: return L"TypeOrientAngle";
1127  case TypeParallel: return L"TypeParallel";
1128  case TypePathMate: return L"TypePathMate";
1129  case TypePerpendicular: return L"TypePerpendicular";
1130  case TypeProfileCenter: return L"TypeProfileCenter";
1131  case TypeRackPinion: return L"TypeRackPinion";
1132  case TypeScrew: return L"TypeScrew";
1133  case TypeSlot: return L"TypeSlot";
1134  case TypeSymmetric: return L"TypeSymmetric";
1135  case TypeTangent: return L"TypeTangent";
1136  case TypeTouch: return L"TypeTouch";
1137  case TypeUniversalJoint: return L"TypeUniversalJoint";
1138  case TypeWidth: return L"TypeWidth";
1139  default:
1140  case TypeUnknown: return L"Unknown";
1141  }
1142  }
1143 
1146 
1147 
1149 
1157 
1162 
1166  const _ConstraintValue& GetConstraintValue( const Dtk_Size_t &index ) const;
1167 
1171  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue, Dtk_Int32& outEnableLowerLimit, Dtk_Double64& outLowerLimit, Dtk_Int32& outEnableUpperLimit, Dtk_Double64& outUpperLimit ) const;
1172  Dtk_ErrorStatus GetValue( const ConstraintValueTypeEnum& inValue, Dtk_Val& outValue ) const;
1173 
1178 
1181  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue, const Dtk_Int32& inEnableLowerLimit, const Dtk_Double64& inLowerLimit, const Dtk_Int32& inEnableUpperLimit, const Dtk_Double64& inUpperLimit );
1182  void SetValue( const ConstraintValueTypeEnum& inValueType, Dtk_Val& inValue );
1183 
1200 
1201 
1204 
1206  virtual void conv_ptr(Dtk_Constraint ** s) { *s = this; }
1207  int DtkDynamicType(const int& inId);
1209 
1212 
1213 protected:
1215  virtual ~Dtk_Constraint();
1216  struct Dtk_Handle;
1217  Dtk_Handle *_Private;
1218  void _Init();
1219  void _Copy(const Dtk_Constraint& s);
1220  void _Reset();
1221  inline virtual Dtk_Object* Clone() { return new Dtk_Constraint(*this); }
1222  friend class Dtk_SmartPtr<Dtk_Constraint>;
1223 
1224 };
1225 
1226 #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:1078
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:974
Dtk_pair
Definition: util_stl_dtk.hpp:917
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:378
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:382
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:1039
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:841
Dtk_LayerInfosSet::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:461
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:1096
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:1083
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:486
dtk_AddColorInTable
int dtk_AddColorInTable(const Dtk_RGB &)
Dtk_Constraint::ConstraintOrientationTypeEnum
ConstraintOrientationTypeEnum
Definition: util_ent_dtk.hpp:995
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:1104
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:1061
Dtk_Constraint::conv_ptr
virtual void conv_ptr(Dtk_Constraint **s)
Definition: util_ent_dtk.hpp:1206
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:398
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:683
Dtk_Constraint::_ConstraintValue::_ValueUpper
Dtk_Double64 _ValueUpper
Definition: util_ent_dtk.hpp:1052
Dtk_Constraint::ValueTypeSame
@ ValueTypeSame
Definition: util_ent_dtk.hpp:997
Dtk_Constraint::TypeSymmetric
@ TypeSymmetric
Definition: util_ent_dtk.hpp:1098
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:381
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:964
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:837
Dtk_ModelDisplay::rendering_mode_wireframe_with_all_edges
@ rendering_mode_wireframe_with_all_edges
Definition: util_ent_dtk.hpp:838
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:1065
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:999
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:1024
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:979
Dtk_Constraint::TypeUnknown
@ TypeUnknown
Definition: util_ent_dtk.hpp:1059
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_Constraint::ValueTypeExternal
@ ValueTypeExternal
Definition: util_ent_dtk.hpp:1000
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:331
Dtk_ModelDisplay::rendering_mode_wireframe_with_only_visible_edges
@ rendering_mode_wireframe_with_only_visible_edges
Definition: util_ent_dtk.hpp:839
Dtk_Info::SetColorId
Dtk_ErrorStatus SetColorId(const Dtk_Int32 &inColorId)
Dtk_Constraint::ValueTypeOrientation
@ ValueTypeOrientation
Definition: util_ent_dtk.hpp:1022
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:992
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:416
Dtk_ColorInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:586
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:835
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:1019
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:1018
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:791
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:1021
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:935
Dtk_Constraint::ConstraintOrientationTypeEnumToString
static Dtk_string ConstraintOrientationTypeEnumToString(const ConstraintOrientationTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1002
Dtk_ModelDisplay::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:809
Dtk_Constraint::_ConstraintValue::_ValueType
ConstraintValueTypeEnum _ValueType
Definition: util_ent_dtk.hpp:1047
Dtk_ModelDisplay::SectionPlane
@ SectionPlane
Definition: util_ent_dtk.hpp:847
Dtk_ColorInfosSet::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:580
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:458
Dtk_Constraint::TypeTouch
@ TypeTouch
Definition: util_ent_dtk.hpp:1102
Dtk_ModelDisplay::rendering_mode_wireframe_partially_shade
@ rendering_mode_wireframe_partially_shade
Definition: util_ent_dtk.hpp:842
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:844
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:805
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:836
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:383
Dtk_ModelDisplay::SectionBox
@ SectionBox
Definition: util_ent_dtk.hpp:850
Dtk_Constraint::TypeAngle
@ TypeAngle
Definition: util_ent_dtk.hpp:1063
Dtk_ModelDisplay::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:807
Dtk_Constraint::TypePerpendicular
@ TypePerpendicular
Definition: util_ent_dtk.hpp:1092
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:1080
Dtk_Constraint::TypeConcentric
@ TypeConcentric
Definition: util_ent_dtk.hpp:1070
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:1089
Dtk_ModelDisplay::rendering_mode_static_wireframe
@ rendering_mode_static_wireframe
Definition: util_ent_dtk.hpp:840
Dtk_ModelDisplay::SectionUndefined
@ SectionUndefined
Definition: util_ent_dtk.hpp:852
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:862
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:843
Dtk_Constraint::ConstraintTypeEnumToString
static Dtk_string ConstraintTypeEnumToString(const ConstraintTypeEnum &inEnum)
Definition: util_ent_dtk.hpp:1106
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:1020
Dtk_Preview
This is the Dtk_Preview class.
Definition: util_ent_dtk.hpp:688
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:1103
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:1076
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:1016
Dtk_Entity::_Store
virtual Dtk_ErrorStatus _Store(void *)
Dtk_Entity::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:333
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:1066
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:1090
Dtk_ModelDisplay::SectionParallelePlane
@ SectionParallelePlane
Definition: util_ent_dtk.hpp:849
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:823
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:380
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:998
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:463
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:846
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:394
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:1203
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:385
Dtk_ColorInfosSet::Dtk_ColorInfosSet
Dtk_ColorInfosSet(const Dtk_Size_t inNumColors)
Dtk_ModelDisplay::SectionBody
@ SectionBody
Definition: util_ent_dtk.hpp:851
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:961
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:996
Dtk_Entity::PrepareTransfo
virtual void PrepareTransfo()
Dtk_LayerInfosSet::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:469
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:1093
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:1087
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:1074
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:384
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:575
Dtk_AxisSystem::get_type_detk
type_detk get_type_detk() const
Definition: util_ent_dtk.hpp:778
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:1051
Dtk_Info::DtkDynamicType
int DtkDynamicType(const Dtk_Int32 &inId)
DTK_PT_BIGFULLSQUARE
@ DTK_PT_BIGFULLSQUARE
Definition: util_ent_dtk.hpp:38
Dtk_Constraint::Clone
virtual Dtk_Object * Clone()
Definition: util_ent_dtk.hpp:1221
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:578
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:603
Dtk_Info::SetBuildingInfosIds
Dtk_ErrorStatus SetBuildingInfosIds(const Dtk_tab< Dtk_Int32 > inBuildingInfos)
Dtk_Constraint::TypeCoincidence
@ TypeCoincidence
Definition: util_ent_dtk.hpp:1072
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:848
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:796
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:1081
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:1017
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:781
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:1049
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:1216
Dtk_Constraint::TypeTangent
@ TypeTangent
Definition: util_ent_dtk.hpp:1100
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:1095
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:1079
Dtk_LayerFilterInfos::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:396
Dtk_Preview::_Private
Dtk_Handle * _Private
Definition: util_ent_dtk.hpp:706
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:1050
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:1082
Dtk_Constraint::Dtk_Constraint
Dtk_Constraint(const ConstraintTypeEnum &inType)
Dtk_Constraint::TypeLock
@ TypeLock
Definition: util_ent_dtk.hpp:1085
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:1094
dtk_object.hpp
Dtk_Constraint::_ConstraintValue::_Value
Dtk_Val _Value
Definition: util_ent_dtk.hpp:1048
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:722
Dtk_Constraint::TypeCenter
@ TypeCenter
Definition: util_ent_dtk.hpp:1068
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:1058
Dtk_Entity::info
Dtk_InfoPtr & info()
Dtk_Entity
Definition: util_ent_dtk.hpp:329
Dtk_ModelDisplay::DtkDynamicType
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.