This class gathers asm node related datas.
More...
Public Member Functions | |
| int | add_asm_instance (Dtk_mesh_asm_node *inMeshAsm, Dtk_transfo *inTransfo) |
| Add an asm instance to the current asm node. More... | |
| int | add_axis_system (Dtk_AxisSystemPtr inAxisSystem) |
| Add an Dtk_AxisSystemPtr in Dtk_mesh_asm_node in the current asm node. More... | |
| int | add_mesh (Dtk_MeshPtr mesh) |
| Add an Dtk_mesh in Dtk_mesh_asm_node in the current asm node. More... | |
| Dtk_status | cgrw_ComputeBBs () |
| Compute Bounding Boxes. More... | |
| Dtk_mesh_asm_node () | |
| Default constructor. More... | |
| Dtk_RGB | get_color () |
| get color on Dtk_mesh_asm_node More... | |
| int | get_id () |
| Get an Id. More... | |
| Dtk_mesh_instance * | get_instance (int i) |
| Return the i-th instance. More... | |
| Dtk_MaterialPtr | get_material () |
| Get an material. More... | |
| Dtk_Size_t | get_nb_instances () |
| Return the nb of instances in the current node. More... | |
| Dtk_RenderInfosPtr | get_render_infos () |
| Get an material. More... | |
| void | set_color (Dtk_RGB &inColor) |
| set color on Dtk_mesh_asm_node More... | |
| void | set_id (int inId) |
| Set an Id. More... | |
| void | set_material (Dtk_MaterialPtr inMaterial) |
| Set an material. More... | |
| void | set_render_infos (Dtk_RenderInfosPtr inRender) |
| Set an render. More... | |
| ~Dtk_mesh_asm_node () | |
| Default destructor. More... | |
Data Fields | |
| Dtk_bounding_box | BB |
| Used to store global computed bounding box. More... | |
Protected Attributes | |
| int | id |
| Dtk_tab< Dtk_mesh_instance * > | inst |
| Dtk_MaterialPtr | material |
| Dtk_RGB | node_color |
| Dtk_PhysicalMaterialInfosPtr | phys_mat |
| Dtk_RenderInfosPtr | render |
This class gathers asm node related datas.
| Dtk_mesh_asm_node::Dtk_mesh_asm_node | ( | ) |
Default constructor.
| Dtk_mesh_asm_node::~Dtk_mesh_asm_node | ( | ) |
Default destructor.
| int Dtk_mesh_asm_node::add_asm_instance | ( | Dtk_mesh_asm_node * | inMeshAsm, |
| Dtk_transfo * | inTransfo | ||
| ) |
Add an asm instance to the current asm node.
| int Dtk_mesh_asm_node::add_axis_system | ( | Dtk_AxisSystemPtr | inAxisSystem | ) |
Add an Dtk_AxisSystemPtr in Dtk_mesh_asm_node in the current asm node.
| int Dtk_mesh_asm_node::add_mesh | ( | Dtk_MeshPtr | mesh | ) |
Add an Dtk_mesh in Dtk_mesh_asm_node in the current asm node.
| Dtk_status Dtk_mesh_asm_node::cgrw_ComputeBBs | ( | ) |
Compute Bounding Boxes.
| Dtk_RGB Dtk_mesh_asm_node::get_color | ( | ) |
get color on Dtk_mesh_asm_node
| int Dtk_mesh_asm_node::get_id | ( | ) |
Get an Id.
| Dtk_mesh_instance* Dtk_mesh_asm_node::get_instance | ( | int | i | ) |
Return the i-th instance.
| Dtk_MaterialPtr Dtk_mesh_asm_node::get_material | ( | ) |
Get an material.
| Dtk_Size_t Dtk_mesh_asm_node::get_nb_instances | ( | ) |
Return the nb of instances in the current node.
| Dtk_RenderInfosPtr Dtk_mesh_asm_node::get_render_infos | ( | ) |
Get an material.
| void Dtk_mesh_asm_node::set_color | ( | Dtk_RGB & | inColor | ) |
set color on Dtk_mesh_asm_node
| void Dtk_mesh_asm_node::set_id | ( | int | inId | ) |
Set an Id.
| void Dtk_mesh_asm_node::set_material | ( | Dtk_MaterialPtr | inMaterial | ) |
Set an material.
| void Dtk_mesh_asm_node::set_render_infos | ( | Dtk_RenderInfosPtr | inRender | ) |
Set an render.
| Dtk_bounding_box Dtk_mesh_asm_node::BB |
Used to store global computed bounding box.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |