NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::xac::Particle_volume Class Reference

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...
 

Detailed Description

Particle volume reference class.

Member Function Documentation

 fetch_attribute()

template<typename Attrib_type>
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.

 get_dataset_bbox_max()

const float3 & nv::index::xac::Particle_volume::get_dataset_bbox_max ( ) const

Get the maximum point of the boundix box of the particle volume.

 get_dataset_bbox_min()

const float3 & nv::index::xac::Particle_volume::get_dataset_bbox_min ( ) const

Get the minimum point of the boundix box of the particle volume.

 get_light_id()

uint nv::index::xac::Particle_volume::get_light_id ( ) const

Get id of the associated light element.

 get_material_id()

uint nv::index::xac::Particle_volume::get_material_id ( ) const

Get id of associated material element.

 get_scene_to_object_transform()

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.

 get_scene_to_object_transform_inverse()

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.


The documentation for this class was generated from the following file: