NVIDIA IndeX API nvidia_logo_transpbg.gif Up
ivdb_rendering_properties.h
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
5
6#ifndef NVIDIA_INDEX_IVDB_RENDERING_PROPERTIES_H
7#define NVIDIA_INDEX_IVDB_RENDERING_PROPERTIES_H
8
9#include <mi/dice.h>
10
11#include <nv/index/iattribute.h>
12
13namespace nv {
14namespace index {
15
21{
24};
25
31 public mi::base::Interface_declare<0xed7b65f1,0xea15,0x46db,0xaa,0x69,0xc0,0xb2,0xca,0x2f,0x78,0xbb,
32 nv::index::IAttribute>
33{
34public:
42 mi::Float32 sample_dist) = 0;
44 virtual mi::Float32 get_sampling_distance() const = 0;
45
53 mi::Float32 ref_sample_dist) = 0;
55 virtual mi::Float32 get_reference_sampling_distance() const = 0;
56
62 virtual void set_filter_mode(VDB_filter_mode filter_mode) = 0;
64 virtual VDB_filter_mode get_filter_mode() const = 0;
65
76 mi::Uint32 border_size) = 0;
78 virtual mi::Uint32 get_subset_voxel_border() const = 0;
79
83 mi::Uint32 o) = 0;
86 virtual mi::Uint32 get_debug_visualization_option() const = 0;
87};
88
89} // namespace index
90} // namespace nv
91
92#endif // NVIDIA_INDEX_IVDB_RENDERING_PROPERTIES_H
Rendering properties for VDB data.
Definition: ivdb_rendering_properties.h:33
virtual void set_debug_visualization_option(mi::Uint32 o)=0
Internal debugging options applied to the visualization.
virtual mi::Float32 get_reference_sampling_distance() const =0
Returns the reference sampling distance used for a VDB scene element (IVDB_scene_element).
virtual void set_filter_mode(VDB_filter_mode filter_mode)=0
Set the volume filter mode for a VDB scene element (IVDB_scene_element).
virtual mi::Float32 get_sampling_distance() const =0
Returns the sampling distance used for a VDB scene element (IVDB_scene_element).
virtual VDB_filter_mode get_filter_mode() const =0
Returns the filter mode used for a VDB scene element (IVDB_scene_element).
virtual mi::Uint32 get_subset_voxel_border() const =0
Returns the voxel border size used for VDB subset generation.
virtual mi::Uint32 get_debug_visualization_option() const =0
Internal debugging options applied to the visualization.
virtual void set_sampling_distance(mi::Float32 sample_dist)=0
Set the sampling distance used for a VDB scene element (IVDB_scene_element) when using the direct vol...
virtual void set_subset_voxel_border(mi::Uint32 border_size)=0
Set the voxel border that is applied when VDB subsets are created.
virtual void set_reference_sampling_distance(mi::Float32 ref_sample_dist)=0
Set the reference sampling distance used for a VDB scene element (IVDB_scene_element).
VDB_filter_mode
Filtering modes (interpolation) for VDB volume access.
Definition: ivdb_rendering_properties.h:21
@ VDB_FILTER_NEAREST
Access a single voxel with nearest filtering (a.k.a. point filtering).
Definition: ivdb_rendering_properties.h:22
@ VDB_FILTER_TRILINEAR
Trilinear interpolation with post-classification.
Definition: ivdb_rendering_properties.h:23
Base class representing attributes that can be defined in a scene description.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349