This is the Main Doc Element Class The Dtk_DocElement object is common parent class of the Dtk_Node and the Dtk_Component classes It typically used as geometry into a Part. More...
 Inheritance diagram for Dtk_DocElement:Public Member Functions | |
| void | AddMetaData (const Dtk_MetaDataPtr &inMetaData) | 
| Adds a Dtk_MetaDataPtr to the Dtk_DocElement.  More... | |
| void | AddMetaDataGroup (const Dtk_MetaDataGroupPtr &inMetaDataGroup, Dtk_bool inAddMetadata=DTK_FALSE) | 
| Adds a Dtk_MetaDataGroupPtr to the Dtk_DocElement.  More... | |
| void | AddProperty (const Dtk_PropertiesPtr &inProperty) | 
| Adds a Dtk_PropertiesPtr to the Dtk_DocElement.  More... | |
| Dtk_Int32 | DtkDynamicType (const int &inId) | 
| Retrieves the dynamic entity type.  More... | |
| virtual void | dump (FILE *file=stdout) | 
| Dtk_ID | GetFatherID (Dtk_Size_t inIndex) const | 
| Retrieves Dtk_DocElement ith FatherID - read only -.  More... | |
| Dtk_ID | GetID () const | 
| Retrieves the Dtk_DocElement ID - read only -.  More... | |
| Dtk_InfoPtr | GetInfos () const | 
| Retrieves the Dtk_DocElement Dtk_InfoPtr - read only -.  More... | |
| Dtk_MaterialPtr | GetMaterial () const | 
| Retrieves the Dtk_DocElement Dtk_MaterialPtr - read only -.  More... | |
| Dtk_MetaDataPtr | GetMetaData (const Dtk_Size_t &inPos) const | 
| Retrieves the ith Dtk_MetaDataPtr - read only -.  More... | |
| Dtk_MetaDataGroupPtr | GetMetaDataGroup (const Dtk_Size_t &inPos) const | 
| Retrieves the ith Dtk_MetaDataGrouplPtr - read only -.  More... | |
| Dtk_Size_t | GetNumChildren () const | 
| Retrieves the number of the Dtk_DocElement children - read only -.  More... | |
| Dtk_Size_t | GetNumFathers () const | 
| GetNumFather.  More... | |
| Dtk_Size_t | GetNumMetaData () const | 
| Retrieves the number of the Dtk_MetaDataPtr - read only -.  More... | |
| Dtk_Size_t | GetNumMetaDataGroup () const | 
| Retrieves the number of the Dtk_MetaDataGroupPtr - read only -.  More... | |
| Dtk_PreviewPtr | GetPreview () const | 
| Retrieves the Dtk_DocElement Dtk_PreviewPtr - read only -.  More... | |
| void | GetReadID (Dtk_ID &outReadID) const | 
| virtual Dtk_Size_t | GetSize () const | 
| Dtk_string & | Name () | 
| const Dtk_string & | Name () const | 
| Retrieves the Dtk_DocElement Name - read only -.  More... | |
| void | ReleasePreview () | 
| void | SetInfos (const Dtk_InfoPtr &inInfos) | 
| void | SetMaterial (Dtk_MaterialPtr inMaterial) | 
| void | SetPreview (Dtk_PreviewPtr inPreview) | 
| void | SetReadID (const Dtk_ID &inNewID) | 
Static Public Member Functions | |
| static Dtk_DocElement * | DtkDynamicCast (Dtk_Object *s) | 
| Performs a dynamic cast - doesn't need RTTI -.  More... | |
Protected Types | |
| enum | { _typeID = DTK_TYPE_DOC_ELEMENT } | 
Protected Member Functions | |
| void | _AddChild (const Dtk_DocElementPtr &inChild) | 
| Adds a child Dtk_DocElement to main Element.  More... | |
| void | _Copy (const Dtk_Node &s) | 
| const Dtk_DocElementPtr | _GetChild (const Dtk_Size_t &inPos) const | 
| Retrieves the ith Dtk_DocElement - read only -.  More... | |
| void | _Init () | 
| Dtk_ErrorStatus | _ReplaceChild (const Dtk_Size_t &inPos, const Dtk_DocElementPtr &inNewChild) | 
| Replaces a child by another one. Also update father lists.  More... | |
| void | _Reset () | 
| Dtk_DocElement (const Dtk_ID &inID, Dtk_string inName) | |
| virtual | ~Dtk_DocElement () | 
| Destructor.  More... | |
Protected Attributes | |
| Dtk_Handle * | _Private | 
| unsigned long | count_ | 
This is the Main Doc Element Class The Dtk_DocElement object is common parent class of the Dtk_Node and the Dtk_Component classes It typically used as geometry into a Part.
      
  | 
  protected | 
      
  | 
  protectedvirtual | 
Destructor.
      
  | 
  protected | 
Adds a child Dtk_DocElement to main Element.
| inChild | The Dtk_DocElement to be added as a child. | 
      
  | 
  protected | 
      
  | 
  protected | 
Retrieves the ith Dtk_DocElement - read only -.
| inPos | Child element index. | 
      
  | 
  protected | 
      
  | 
  protected | 
Replaces a child by another one. Also update father lists.
| inPos | Old Child element index. | 
| inNewChild | The Dtk_DocElement replacing the old one | 
Internal use only
      
  | 
  protected | 
| void Dtk_DocElement::AddMetaData | ( | const Dtk_MetaDataPtr & | inMetaData | ) | 
Adds a Dtk_MetaDataPtr to the Dtk_DocElement.
| inMetaData | The Dtk_MetaDataPtr to be added. | 
| void Dtk_DocElement::AddMetaDataGroup | ( | const Dtk_MetaDataGroupPtr & | inMetaDataGroup, | 
| Dtk_bool | inAddMetadata = DTK_FALSE  | 
        ||
| ) | 
Adds a Dtk_MetaDataGroupPtr to the Dtk_DocElement.
| inMetaDataGroup | The Dtk_MetaDataGroupPtr to be added. | 
| inAddMetadata | If we also add the metadata of the group to the Dtk_DocElement | 
| void Dtk_DocElement::AddProperty | ( | const Dtk_PropertiesPtr & | inProperty | ) | 
Adds a Dtk_PropertiesPtr to the Dtk_DocElement.
| inProperty | The Dtk_PropertiesPtr to be added. | 
      
  | 
  static | 
Performs a dynamic cast - doesn't need RTTI -.
      
  | 
  virtual | 
Retrieves the dynamic entity type.
Implements Dtk_Object.
Reimplemented in Dtk_Component, and Dtk_Node.
      
  | 
  virtualinherited | 
| Dtk_ID Dtk_DocElement::GetFatherID | ( | Dtk_Size_t | inIndex | ) | const | 
Retrieves Dtk_DocElement ith FatherID - read only -.
| Dtk_ID Dtk_DocElement::GetID | ( | ) | const | 
Retrieves the Dtk_DocElement ID - read only -.
| Dtk_InfoPtr Dtk_DocElement::GetInfos | ( | ) | const | 
Retrieves the Dtk_DocElement Dtk_InfoPtr - read only -.
| Dtk_MaterialPtr Dtk_DocElement::GetMaterial | ( | ) | const | 
Retrieves the Dtk_DocElement Dtk_MaterialPtr - read only -.
| Dtk_MetaDataPtr Dtk_DocElement::GetMetaData | ( | const Dtk_Size_t & | inPos | ) | const | 
Retrieves the ith Dtk_MetaDataPtr - read only -.
| inPos | Metadata index. | 
| Dtk_MetaDataGroupPtr Dtk_DocElement::GetMetaDataGroup | ( | const Dtk_Size_t & | inPos | ) | const | 
Retrieves the ith Dtk_MetaDataGrouplPtr - read only -.
| inPos | Group index. | 
| Dtk_Size_t Dtk_DocElement::GetNumChildren | ( | ) | const | 
Retrieves the number of the Dtk_DocElement children - read only -.
| Dtk_Size_t Dtk_DocElement::GetNumFathers | ( | ) | const | 
GetNumFather.
| Dtk_Size_t Dtk_DocElement::GetNumMetaData | ( | ) | const | 
Retrieves the number of the Dtk_MetaDataPtr - read only -.
| Dtk_Size_t Dtk_DocElement::GetNumMetaDataGroup | ( | ) | const | 
Retrieves the number of the Dtk_MetaDataGroupPtr - read only -.
| Dtk_PreviewPtr Dtk_DocElement::GetPreview | ( | ) | const | 
Retrieves the Dtk_DocElement Dtk_PreviewPtr - read only -.
| void Dtk_DocElement::GetReadID | ( | Dtk_ID & | outReadID | ) | const | 
      
  | 
  virtualinherited | 
Reimplemented in Dtk_Shell, Dtk_Body, Dtk_Lump, Dtk_Volume, Dtk_Face, Dtk_Loop, Dtk_Coedge, Dtk_Edge, Dtk_Vertex, Dtk_mesh_face, Dtk_mesh, Dtk_TransformedSurface, Dtk_FilletSurface, Dtk_OffsetSurface, Dtk_SphericalSurface, Dtk_ToroidalSurface, Dtk_ConicalSurface, Dtk_CylindricalSurface, Dtk_RuledSurface, Dtk_LinearExtrusionSurface, Dtk_StandardRevolutionSurface, Dtk_RevolutionSurface, Dtk_PlaneSurface, Dtk_NurbsSurface, Dtk_Surface, Dtk_Hyperbola, Dtk_Parabola, Dtk_Ellipse, Dtk_Conic, Dtk_Line, Dtk_Polyline, Dtk_NurbsCurve, Dtk_Curve, Dtk_Point, Dtk_Entity, and Dtk_Info.
| Dtk_string& Dtk_DocElement::Name | ( | ) | 
| const Dtk_string& Dtk_DocElement::Name | ( | ) | const | 
Retrieves the Dtk_DocElement Name - read only -.
| void Dtk_DocElement::ReleasePreview | ( | ) | 
| void Dtk_DocElement::SetInfos | ( | const Dtk_InfoPtr & | inInfos | ) | 
| void Dtk_DocElement::SetMaterial | ( | Dtk_MaterialPtr | inMaterial | ) | 
| void Dtk_DocElement::SetPreview | ( | Dtk_PreviewPtr | inPreview | ) | 
| void Dtk_DocElement::SetReadID | ( | const Dtk_ID & | inNewID | ) | 
      
  | 
  protected | 
      
  | 
  protectedinherited |