Sparse volume sampler for retrieving filtered and optionally classified volume samples. More...
#include <xac_interface_scene_elements_sparse_volume_doc.h>
Public Member Functions | |
SVOL_attrib_type | fetch_sample (const float3 &sample_position) const |
Sample a sparse volume attribute at the provided sample location. More... | |
float4 | fetch_sample_classify (const float3 &sample_position, const xac::Colormap &color_map) const |
Sample a sparse volume attribute at the provided sample location. More... | |
Sparse volume sampler for retrieving filtered and optionally classified volume samples.
SVOL_attrib_type nv::index::Sparse_volume_sampler<SVOL_attrib_type, SVOL_filter_mode, SVOL_classify_mode>::fetch_sample | ( | const float3 & | sample_position | ) | const |
Sample a sparse volume attribute at the provided sample location.
This method always returns a filtered volume sample without classifying it using a colormap.
[in] | sample_position | Sample position defined in volume local/object space. |
float4 nv::index::Sparse_volume_sampler<SVOL_attrib_type, SVOL_filter_mode, SVOL_classify_mode>::fetch_sample_classify | ( | const float3 & | sample_position, |
const xac::Colormap & | color_map | ||
) | const |
Sample a sparse volume attribute at the provided sample location.
This method always returns a filtered and classified volume sample using the provided colormap.
[in] | sample_position | Sample position defined in volume local/object space. |
[in] | color_map | Colormap for classification of volume sample. |