 |
DATAKIT SDK
V2026.4
|
|
Dtk_RGB _MaterialSpecularColor
Definition: 3dxmlw.hpp:31
uint32_t Dtk_ID
Definition: define.h:688
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
Dtk_Double64 GetMaterialAmbient() const
Definition: 3dxmlw.hpp:140
Dtk_Int32 GetBlankedStatus() const
Retrieve the Written blanked status.
Definition: 3dxmlw.hpp:65
Dtk_Double64 _MaterialAmbient
Definition: 3dxmlw.hpp:23
WriteOptions()
Default constructor.
Definition: 3dxmlw.hpp:167
Dtk_Double64 _MaterialReflectivity
Definition: 3dxmlw.hpp:28
This class provides several options to tune 3dxml Writer. It must be provided to _3dxmlw::InitWrite m...
Definition: 3dxmlw.hpp:162
void SetCurveThickness(Dtk_Double64 inCurveThickness)
Sets the curve thickness for the written instance node.
Definition: 3dxmlw.hpp:93
Dtk_Double64 _MaterialTransparency
Definition: 3dxmlw.hpp:27
Dtk_string GetMaterialName() const
Definition: 3dxmlw.hpp:139
Dtk_Double64 _MaterialRefraction
Definition: 3dxmlw.hpp:26
This is a high level string class.
Definition: dtk_string.hpp:53
Dtk_Double64 GetCurveThickness() const
Retrieve the Written curve thickness.
Definition: 3dxmlw.hpp:98
size_t Dtk_Size_t
Definition: define.h:711
void addInstance3D(Dtk_ID parentId, Dtk_ID ref3dId, const Dtk_transfo &matrix, const Dtk_string &objectName, Dtk_MetaDataPtr &inMetadata, const WriteParameters &inParameters=WriteParameters())
Create Instance3D node.
void addReference3D(const Dtk_string &inName, Dtk_ID inComponentId, Dtk_tab< Dtk_MetaDataPtr > &inMetadata)
Create Reference3D node.
char Dtk_bool
Definition: define.h:724
~WriteParameters()
Destructor.
Definition: 3dxmlw.hpp:54
double Dtk_Double64
Definition: define.h:698
WriteParameters()
Default constructor.
Definition: 3dxmlw.hpp:34
Dtk_bool HasMaterial() const
Returns whether a material was actually set on this instance.
Definition: 3dxmlw.hpp:138
~WriteOptions()
Destructor.
Definition: 3dxmlw.hpp:170
Dtk_RGB _MaterialAmbientColor
Definition: 3dxmlw.hpp:29
Dtk_RGB _MaterialDiffuseColor
Definition: 3dxmlw.hpp:30
Dtk_Double64 _MaterialDiffuse
Definition: 3dxmlw.hpp:24
Dtk_FontLineType GetCurveType() const
Retrieve the Written curve type.
Definition: 3dxmlw.hpp:87
Dtk_bool _HasMaterial
Definition: 3dxmlw.hpp:21
Dtk_Double64 _CurveThickness
Definition: 3dxmlw.hpp:20
DtkErrorStatus EndWrite()
Creation of the output file and free the 3dxmlw Writer
Dtk_string _MaterialName
Definition: 3dxmlw.hpp:22
Dtk_RGB _Color
Definition: 3dxmlw.hpp:19
void SetColor(const Dtk_RGB &inColor)
Sets the color for the written instance node.
Definition: 3dxmlw.hpp:71
int32_t Dtk_Int32
Definition: define.h:686
This class provides several parameters to tunes 3dxml Writter. It must be provided to addInstance3D m...
Definition: 3dxmlw.hpp:15
Dtk_FontLineType _CurveType
Definition: 3dxmlw.hpp:18
Dtk_RGB GetMaterialDiffuseColor() const
Definition: 3dxmlw.hpp:147
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_Double64 _MaterialSpecular
Definition: 3dxmlw.hpp:25
Dtk_bool isAlreadyAddComponent(Dtk_ID inCurrentChildId)
Don't create a component already viewed. Is instantiate by an instance.
Dtk_Double64 GetMaterialDiffuse() const
Definition: 3dxmlw.hpp:141
Definition: util_ptr_dtk.hpp:37
void SetMaterial(const Dtk_string &inMaterialName, const Dtk_RGB &inAmbientColor=Dtk_RGB(), const Dtk_RGB &inDiffuseColor=Dtk_RGB(), const Dtk_RGB &inSpecularColor=Dtk_RGB(), Dtk_Double64 inAmbient=0, Dtk_Double64 inDiffuse=0, Dtk_Double64 inSpecular=0, Dtk_Double64 inRefraction=0, Dtk_Double64 inTransparency=0, Dtk_Double64 inReflectivity=0)
Sets material parameters to be applied on the written instance node.
Definition: 3dxmlw.hpp:104
void SetBlankedStatus(const Dtk_Int32 inBlanked)
Sets the blanked status for the written instance node.
Definition: 3dxmlw.hpp:60
Exported APIs for 3dxml (.3dxml) Write Library.
Definition: 3dxmlw.hpp:7
Dtk_FontLineType
This is a set of line styles.
Definition: util_ent_dtk.hpp:46
@ DTK_NO_PATTERN
Definition: util_ent_dtk.hpp:47
Dtk_Double64 GetMaterialTransparency() const
Definition: 3dxmlw.hpp:144
This is a high level array class.
Definition: util_stl_dtk.hpp:84
Dtk_Double64 GetMaterialReflectivity() const
Definition: 3dxmlw.hpp:145
Dtk_RGB GetMaterialSpecularColor() const
Definition: 3dxmlw.hpp:148
Dtk_Double64 GetMaterialSpecular() const
Definition: 3dxmlw.hpp:142
Dtk_Double64 GetMaterialRefraction() const
Definition: 3dxmlw.hpp:143
Dtk_Int32 _Blanked
Definition: 3dxmlw.hpp:17
DtkErrorStatus InitWrite(const Dtk_string &inOutputFile, const Dtk_string &inLogFile, WriteOptions &inOptions)
Initialize the 3dxmlw Writer
Dtk_RGB GetColor() const
Retrieve the Written color.
Definition: 3dxmlw.hpp:76
int len() const
Retrieve the length of the Dtk_string.
void addReferenceRep(const Dtk_tab< Dtk_MeshPtr > &inMesh, const Dtk_string &inName, Dtk_Size_t inComponentId)
Create ReferenceRep node.
Dtk_RGB GetMaterialAmbientColor() const
Definition: 3dxmlw.hpp:146
Definition: dtk_rgb.hpp:8
void SetCurveType(Dtk_FontLineType inCurveType)
Sets the curve type for the written instance node.
Definition: 3dxmlw.hpp:82
void ClearMaterial()
Clears material parameters for the written instance node.
Definition: 3dxmlw.hpp:129