34template<
typename VDB_attrib_type,
37 bool VDB_sampler_use_cache>
80 template<
typename VDB_attrib_type,
83 bool VDB_sampler_use_cache = yes>
88 const unsigned attrib_idx = 0u)
const;
100 const float3& get_volume_bbox_min() const;
Colormap.
Definition: xac_interface_scene_elements_doc.h:139
VDB volume sampler for retrieving filtered and optionally classified volume samples.
Definition: xac_interface_scene_elements_vdb_volume_doc.h:39
float4 fetch_sample_classify(const float3 &sample_position, const xac::Colormap &color_map) const
Sample a VDB volume attribute at the provided sample location.
VDB_attrib_type fetch_sample(const float3 &sample_position) const
Sample a VDB volume attribute at the provided sample location.
VDB volume reference class used to represent volumes loaded in the NanoVDB volume format.
Definition: xac_interface_scene_elements_vdb_volume_doc.h:69
xac::Colormap get_colormap() const
Get the colormap currently associated with the volume through the scene setup.
VDB_sampler<VDB_attrib_type, VDB_filter_mode, VDB_grid_type, VDB_sampler_use_cache> generate_sampler(const unsigned attrib_idx=0u) const
Generates a VDB volume sampler object for a given attribute index.
const Mat4x4f & get_scene_to_object_transform() const
Get the transformation matrix to transform from scene space to object space coordinates.
const float3 & get_volume_bbox_max() const
Get the VDB volume bounding box maximum coordinate.
Sample_info_vdb Base_info_type
Declaring the VDB volume sample info.
Definition: xac_interface_scene_elements_vdb_volume_doc.h:72
const Mat4x4f & get_scene_to_object_transform_inverse() const
Get the transformation matrix to transform from object space to scene space coordinates.
float get_sample_distance() const const float3 &get_volume_bbox_min() const
Get the distance of the current sample with respec to the camera.
VDB_filter_mode
Filtering modes (interpolation) for VDB volume access.
Definition: ivdb_rendering_properties.h:21
Volume_filter_mode
Sparse volume filter modes.
Definition: xac_interface_scene_elements_sparse_volume_doc.h:79
VDB_grid_type
List of grid types that are currently supported by VDB_Volume class (note: represents a subset of ful...
Definition: xac_interface_scene_elements_vdb_volume_doc.h:23
VDB_volume_filter_mode
Available volume filters for VDB (NanoVDB) volumes.
Definition: xac_interface_scene_vdb_volume_filters_doc.h:14
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349
Sample information for VDB volumes.
Definition: xac_interface_scene_elements_vdb_volume_doc.h:14
float3 sample_position_object_space
Sample position in object space.
Definition: xac_interface_scene_elements_vdb_volume_doc.h:16
Generic ray sampling information.
Definition: xac_interface_sample_info_doc.h:16