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...
|
| enum | { _typeID = DTK_TYPE_DOC_ELEMENT
} |
| |
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.
- See also
- Use Dtk_DocElementPtr class to handle it.
◆ anonymous enum
◆ Dtk_DocElement()
◆ ~Dtk_DocElement()
| virtual Dtk_DocElement::~Dtk_DocElement |
( |
| ) |
|
|
protectedvirtual |
◆ _AddChild()
◆ _Copy()
| void Dtk_DocElement::_Copy |
( |
const Dtk_Node & |
s | ) |
|
|
protected |
◆ _GetChild()
◆ _Init()
| void Dtk_DocElement::_Init |
( |
| ) |
|
|
protected |
◆ _ReplaceChild()
Replaces a child by another one. Also update father lists.
- Parameters
-
| inPos | Old Child element index. |
| inNewChild | The Dtk_DocElement replacing the old one |
Internal use only
- Returns
- the DtkNoerrror if success.
-
the dtkErrorOutOfRange if bad inPos parameter.
-
the dtkErrorNullPointer if inNewChild is NULL.
◆ _Reset()
| void Dtk_DocElement::_Reset |
( |
| ) |
|
|
protected |
◆ AddMetaData()
Adds a Dtk_MetaDataPtr to the Dtk_DocElement.
- Parameters
-
| inMetaData | The Dtk_MetaDataPtr to be added. |
◆ AddMetaDataGroup()
Adds a Dtk_MetaDataGroupPtr to the Dtk_DocElement.
- Parameters
-
| inMetaDataGroup | The Dtk_MetaDataGroupPtr to be added. |
| inAddMetadata | If we also add the metadata of the group to the Dtk_DocElement |
◆ AddProperty()
Adds a Dtk_PropertiesPtr to the Dtk_DocElement.
- Parameters
-
| inProperty | The Dtk_PropertiesPtr to be added. |
◆ DtkDynamicCast()
Performs a dynamic cast - doesn't need RTTI -.
◆ DtkDynamicType()
| Dtk_Int32 Dtk_DocElement::DtkDynamicType |
( |
const int & |
inId | ) |
|
|
virtual |
◆ dump()
| virtual void Dtk_Object::dump |
( |
FILE * |
file = stdout | ) |
|
|
virtualinherited |
◆ GetFatherID()
Retrieves Dtk_DocElement ith FatherID - read only -.
- Returns
- The ith FatherID.
◆ GetID()
| Dtk_ID Dtk_DocElement::GetID |
( |
| ) |
const |
◆ GetInfos()
Retrieves the Dtk_DocElement Dtk_InfoPtr - read only -.
- Returns
- The element Dtk_InfoPtr.
◆ GetMetaData()
Retrieves the ith Dtk_MetaDataPtr - read only -.
- Parameters
-
- Returns
- the inPos'th Dtk_MetaDataPtr
◆ GetMetaDataGroup()
Retrieves the ith Dtk_MetaDataGrouplPtr - read only -.
- Parameters
-
- Returns
- the inPos'th Dtk_MetaDataGrouplPtr
◆ GetNumChildren()
| Dtk_Size_t Dtk_DocElement::GetNumChildren |
( |
| ) |
const |
Retrieves the number of the Dtk_DocElement children - read only -.
- Returns
- The Children number.
◆ GetNumFathers()
| Dtk_Size_t Dtk_DocElement::GetNumFathers |
( |
| ) |
const |
GetNumFather.
- Returns
- Number of fathers
◆ GetNumMetaData()
| Dtk_Size_t Dtk_DocElement::GetNumMetaData |
( |
| ) |
const |
Retrieves the number of the Dtk_MetaDataPtr - read only -.
- Returns
- The Metadata number.
◆ GetNumMetaDataGroup()
| Dtk_Size_t Dtk_DocElement::GetNumMetaDataGroup |
( |
| ) |
const |
Retrieves the number of the Dtk_MetaDataGroupPtr - read only -.
- Returns
- The Group number.
◆ GetPreview()
Retrieves the Dtk_DocElement Dtk_PreviewPtr - read only -.
- Returns
- The element Dtk_PreviewPtr if exists.
◆ GetReadID()
| void Dtk_DocElement::GetReadID |
( |
Dtk_ID & |
outReadID | ) |
const |
◆ GetSize()
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.
◆ Name() [1/2]
◆ Name() [2/2]
Retrieves the Dtk_DocElement Name - read only -.
- Returns
- The Element Name.
◆ ReleasePreview()
| void Dtk_DocElement::ReleasePreview |
( |
| ) |
|
◆ SetAsDeprecated() [1/2]
| Dtk_DocElement::SetAsDeprecated |
( |
"2026.3" |
, |
|
|
"use GetInfos()->AddRenderInfos and GetInfos()->AddMaterialInfos methods instead." |
|
|
) |
| |
◆ SetAsDeprecated() [2/2]
| Dtk_DocElement::SetAsDeprecated |
( |
"2026.3" |
, |
|
|
"use GetInfos()->GetRenderInfos and GetInfos()->GetPhysicalMaterialInfos methods instead." |
|
|
) |
| const |
◆ SetInfos()
| void Dtk_DocElement::SetInfos |
( |
const Dtk_InfoPtr & |
inInfos | ) |
|
◆ SetPreview()
◆ SetReadID()
| void Dtk_DocElement::SetReadID |
( |
const Dtk_ID & |
inNewID | ) |
|
◆ _Private
| Dtk_Handle* Dtk_DocElement::_Private |
|
protected |
◆ count_
| unsigned long Dtk_Object::count_ |
|
protectedinherited |