 |
DATAKIT API
V2025.3
|
|
Dtk_UChar8 _FileRelease
Definition: cgrw.hpp:79
This class gathers asm node related datas.
Definition: cgrw.hpp:16
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
void set_material(Dtk_MaterialPtr inMaterial)
Set an material.
void set_id(int inId)
Set an Id.
WriteOptions()
Base constructor.
Definition: cgrw.hpp:82
Dtk_mesh_asm_node()
Default constructor.
const Dtk_string const Dtk_transfo & inTransfo
Definition: catiav5w.hpp:619
int add_axis_system(Dtk_AxisSystemPtr inAxisSystem)
Add an Dtk_AxisSystemPtr in Dtk_mesh_asm_node in the current asm node.
uint32_t Dtk_UInt32
Definition: define.h:688
This is a high level string class.
Definition: dtk_string.hpp:58
size_t Dtk_Size_t
Definition: define.h:712
Dtk_RenderInfosPtr render
Definition: cgrw.hpp:22
Dtk_RGB node_color
Definition: cgrw.hpp:20
Definition: dtk_status.hpp:16
char Dtk_bool
Definition: define.h:725
void set_color(Dtk_RGB &inColor)
set color on Dtk_mesh_asm_node
int cgrw_EndWrite()
Free the Cgr Writer
Dtk_mesh_instance * get_instance(int i)
Return the i-th instance.
~WriteOptions()
Destructor.
Definition: cgrw.hpp:85
int id
Definition: cgrw.hpp:18
void SetCfgCgrWriteMaterial(const Dtk_bool &inVal)
write material
Dtk_PhysicalMaterialInfosPtr phys_mat
Definition: cgrw.hpp:23
Dtk_status cgrw_WriteMeshAsm(Dtk_mesh_asm_node *inRoot)
Write a mesh assembly.
int cgrw_InitWrite(Dtk_string inFileWritten, Dtk_string inLogFile, Licence_dtk inLicFct, Dtk_string inLicenceFile, const WriteOptions &inOptions=WriteOptions())
Initialize the Cgr Writer
Dtk_RGB get_color()
get color on Dtk_mesh_asm_node
Dtk_UInt32 GetFileRelease() const
Retrieve the Written file release.
Definition: cgrw.hpp:102
Dtk_Size_t get_nb_instances()
Return the nb of instances in the current node.
unsigned char Dtk_UChar8
Definition: define.h:698
Dtk_status cgrw_ComputeBBs()
Compute Bounding Boxes.
int add_mesh(Dtk_MeshPtr mesh)
Add an Dtk_mesh in Dtk_mesh_asm_node in the current asm node.
Dtk_RenderInfosPtr get_render_infos()
Get an material.
This class provides several options to tunes cgr Writter. It must be provided to cgr::cgrw_InitWrite ...
Definition: cgrw.hpp:77
Dtk_MaterialPtr get_material()
Get an material.
Dtk_tab< Dtk_mesh_instance * > inst
Definition: cgrw.hpp:19
~Dtk_mesh_asm_node()
Default destructor.
Dtk_MaterialPtr material
Definition: cgrw.hpp:21
void set_render_infos(Dtk_RenderInfosPtr inRender)
Set an render.
Definition: dtk_rgb.hpp:7
Dtk_bounding_box BB
Used to store global computed bounding box.
Definition: cgrw.hpp:28
void SetFileRelease(const Dtk_UInt32 inRelease)
Sets the release for the written files.
Definition: cgrw.hpp:90
char *(* Licence_dtk)(char *)
Definition: str_def.h:71
int add_asm_instance(Dtk_mesh_asm_node *inMeshAsm, Dtk_transfo *inTransfo)
Add an asm instance to the current asm node.