VDB volume sampler for retrieving filtered and optionally classified volume samples. More...
#include <xac_interface_scene_elements_vdb_volume_doc.h>
Public Member Functions | |
VDB_attrib_type | fetch_sample (const float3 &sample_position) const |
Sample a VDB volume attribute at the provided sample location. More... | |
float4 | fetch_sample_classify (const float3 &sample_position, const xac::Colormap &color_map) const |
Sample a VDB volume attribute at the provided sample location. More... | |
VDB volume sampler for retrieving filtered and optionally classified volume samples.
VDB_attrib_type nv::index::xac::VDB_sampler< VDB_attrib_type, VDB_filter_mode, VDB_grid_type, VDB_sampler_use_cache >::fetch_sample | ( | const float3 & | sample_position | ) | const |
Sample a VDB 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::xac::VDB_sampler< VDB_attrib_type, VDB_filter_mode, VDB_grid_type, VDB_sampler_use_cache >::fetch_sample_classify | ( | const float3 & | sample_position, |
const xac::Colormap & | color_map | ||
) | const |
Sample a VDB 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. |