Particle volume reference class. More...
#include <xac_interface_scene_elements_particle_volume_doc.h>
Public Member Functions | |
uint | get_light_id () const |
Get id of the associated light element. More... | |
uint | get_material_id () const |
Get id of associated material element. More... | |
const float3 & | get_dataset_bbox_min () const |
Get the minimum point of the boundix box of the particle volume. More... | |
const float3 & | get_dataset_bbox_max () const |
Get the maximum point of the boundix box of the particle volume. More... | |
const Mat4x4f & | get_scene_to_object_transform () const |
Get transformation matrix to transform from scene space into local object space. More... | |
const Mat4x4f & | get_scene_to_object_transform_inverse () const |
Get transformation amtrix to transform from object space into scene space. More... | |
template<typename Attrib_type> | |
Attrib_type | fetch_attribute (const uint attrib_idx, const uint particle_idx) const |
Get the irregular volume bounding box minimum coordinate. More... | |
Particle volume reference class.
Attrib_type nv::index::xac::Particle_volume::fetch_attribute | ( | const uint | attrib_idx, |
const uint | particle_idx | ||
) | const |
Get the irregular volume bounding box minimum coordinate.
const float3 & nv::index::xac::Particle_volume::get_dataset_bbox_max | ( | ) | const |
Get the maximum point of the boundix box of the particle volume.
const float3 & nv::index::xac::Particle_volume::get_dataset_bbox_min | ( | ) | const |
Get the minimum point of the boundix box of the particle volume.
uint nv::index::xac::Particle_volume::get_light_id | ( | ) | const |
Get id of the associated light element.
uint nv::index::xac::Particle_volume::get_material_id | ( | ) | const |
Get id of associated material element.
const Mat4x4f & nv::index::xac::Particle_volume::get_scene_to_object_transform | ( | ) | const |
Get transformation matrix to transform from scene space into local object space.
const Mat4x4f & nv::index::xac::Particle_volume::get_scene_to_object_transform_inverse | ( | ) | const |
Get transformation amtrix to transform from object space into scene space.