Irregular volume reference class. More...
#include <xac_interface_scene_elements_irregular_volume_doc.h>
Public Types | |
typedef Sample_info_irregular_volume | Base_info_type |
Declaring a irregular volume sample info. More... | |
Public Member Functions | |
xac::Colormap | get_colormap () const |
Get the colormap currently associated with the volume through the scene setup. More... | |
float3 | get_scene_bounding_box_min () const |
Get the irregular volume bounding box minimum coordinate. More... | |
float3 | get_scene_bounding_box_max () const |
Get the irregular volume bounding box maximum coordinate. More... | |
Irregular_volume_cell_info | generate_cell_sample_info (const Ray &ray, const float ray_t) const |
Generates a local irregular volume cell information based on the view ray and depth. More... | |
Irregular_volume_cell_info | generate_cell_sample_info (const float3 &scene_position) const |
Generates a local irregular volume cell information based on a sampling position in scene space coordinates. More... | |
template<typename Attrib_type> | |
Attrib_type | fetch_attribute (const unsigned attrib_idx, const Irregular_volume_cell_info &cell_info) const |
Sample a irregular volume attribute using a precomputed cell information object. More... | |
template<typename Attrib_type> | |
Attrib_type | fetch_attribute_offset (const unsigned attrib_idx, const Irregular_volume_cell_info &cell_info, const float3 &sample_offset_vector) const |
Sample a irregular volume attribute using a precomputed cell information object using a specified spatial offset in scene space coordinates. The offset is added to the sample location store in the cell info reference. More... | |
Irregular volume reference class.
Declaring a irregular volume sample info.
Attrib_type nv::index::xac::Irregular_volume::fetch_attribute | ( | const unsigned | attrib_idx, |
const Irregular_volume_cell_info & | cell_info | ||
) | const |
Sample a irregular volume attribute using a precomputed cell information object.
Attrib_type nv::index::xac::Irregular_volume::fetch_attribute_offset | ( | const unsigned | attrib_idx, |
const Irregular_volume_cell_info & | cell_info, | ||
const float3 & | sample_offset_vector | ||
) | const |
Sample a irregular volume attribute using a precomputed cell information object using a specified spatial offset in scene space coordinates. The offset is added to the sample location store in the cell info reference.
Irregular_volume_cell_info nv::index::xac::Irregular_volume::generate_cell_sample_info | ( | const float3 & | scene_position | ) | const |
Generates a local irregular volume cell information based on a sampling position in scene space coordinates.
Irregular_volume_cell_info nv::index::xac::Irregular_volume::generate_cell_sample_info | ( | const Ray & | ray, |
const float | ray_t | ||
) | const |
Generates a local irregular volume cell information based on the view ray and depth.
xac::Colormap nv::index::xac::Irregular_volume::get_colormap | ( | ) | const |
Get the colormap currently associated with the volume through the scene setup.
float3 nv::index::xac::Irregular_volume::get_scene_bounding_box_max | ( | ) | const |
Get the irregular volume bounding box maximum coordinate.
float3 nv::index::xac::Irregular_volume::get_scene_bounding_box_min | ( | ) | const |
Get the irregular volume bounding box minimum coordinate.