NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::ISparse_volume_rendering_properties Class Referenceabstract

The interface class representing rendering properties for sparse volume data. More...

#include <isparse_volume_rendering_properties.h>

Inherits mi::base::Interface_declare< 0x718c9406, ... >.

Public Member Functions

virtual void set_sampling_distance (mi::Float32 sample_dist)=0
 Set the sampling distance used for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual mi::Float32 get_sampling_distance () const =0
 Returns the sampling distance used for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual void set_reference_sampling_distance (mi::Float32 s)=0
 Set the reference sampling distance used for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual mi::Float32 get_reference_sampling_distance () const =0
 Returns the reference sampling distance used for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual void set_voxel_offsets (const mi::math::Vector_struct< mi::Float32, 3 > &voxel_offsets)=0
 Set the voxel offsets used for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual mi::math::Vector_struct< mi::Float32, 3 > get_voxel_offsets () const =0
 Returns the voxel offsets used for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual void set_filter_mode (Sparse_volume_filter_mode filter_mode)=0
 Set the volume filter mode for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual Sparse_volume_filter_mode get_filter_mode () const =0
 Returns the filter mode used for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual void set_lod_rendering_enabled (bool enable_lod_render)=0
 Set the mode for the level-of-detail (LOD) rendering for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual bool get_lod_rendering_enabled () const =0
 Returns if level-of-detail rendering is enabled or disabled. More...
 
virtual void set_lod_pixel_threshold (mi::Float32 pixel_threshold)=0
 The pixel-threshold allows to control the dynamic level-of-detail selection. More...
 
virtual mi::Float32 get_lod_pixel_threshold () const =0
 Returns the currently set scalar pixel threshold. More...
 
virtual void set_preintegrated_volume_rendering (bool enable)=0
 Enable or disable pre-integrated volume rendering for a sparse volume scene element (ISparse_volume_scene_element). More...
 
virtual bool get_preintegrated_volume_rendering () const =0
 Returns if the pre-integrated volume rendering is enabled or disabled. More...
 
virtual void set_debug_visualization_option (mi::Uint32 o)=0
 Internal debugging options applied to the visualization. More...
 
virtual mi::Uint32 get_debug_visualization_option () const =0
 Internal debugging options applied to the visualization. More...
 

Detailed Description

The interface class representing rendering properties for sparse volume data.

Member Function Documentation

 get_debug_visualization_option()

virtual mi::Uint32 nv::index::ISparse_volume_rendering_properties::get_debug_visualization_option ( ) const
pure virtual

Internal debugging options applied to the visualization.

Returns
Returns the applied debug option.

 get_filter_mode()

virtual Sparse_volume_filter_mode nv::index::ISparse_volume_rendering_properties::get_filter_mode ( ) const
pure virtual

Returns the filter mode used for a sparse volume scene element (ISparse_volume_scene_element).

 get_lod_pixel_threshold()

virtual mi::Float32 nv::index::ISparse_volume_rendering_properties::get_lod_pixel_threshold ( ) const
pure virtual

Returns the currently set scalar pixel threshold.

 get_lod_rendering_enabled()

virtual bool nv::index::ISparse_volume_rendering_properties::get_lod_rendering_enabled ( ) const
pure virtual

Returns if level-of-detail rendering is enabled or disabled.

 get_preintegrated_volume_rendering()

virtual bool nv::index::ISparse_volume_rendering_properties::get_preintegrated_volume_rendering ( ) const
pure virtual

Returns if the pre-integrated volume rendering is enabled or disabled.

 get_reference_sampling_distance()

virtual mi::Float32 nv::index::ISparse_volume_rendering_properties::get_reference_sampling_distance ( ) const
pure virtual

Returns the reference sampling distance used for a sparse volume scene element (ISparse_volume_scene_element).

 get_sampling_distance()

virtual mi::Float32 nv::index::ISparse_volume_rendering_properties::get_sampling_distance ( ) const
pure virtual

Returns the sampling distance used for a sparse volume scene element (ISparse_volume_scene_element).

 get_voxel_offsets()

virtual mi::math::Vector_struct< mi::Float32, 3 > nv::index::ISparse_volume_rendering_properties::get_voxel_offsets ( ) const
pure virtual

Returns the voxel offsets used for a sparse volume scene element (ISparse_volume_scene_element).

 set_debug_visualization_option()

virtual void nv::index::ISparse_volume_rendering_properties::set_debug_visualization_option ( mi::Uint32  o)
pure virtual

Internal debugging options applied to the visualization.

Parameters
[in]oDebug option applied to the visualization.

 set_filter_mode()

virtual void nv::index::ISparse_volume_rendering_properties::set_filter_mode ( Sparse_volume_filter_mode  filter_mode)
pure virtual

Set the volume filter mode for a sparse volume scene element (ISparse_volume_scene_element).

The default filter used is SPARSE_VOLUME_FILTER_NEAREST.

Parameters
[in]filter_modeFilter mode (default value is SPARSE_VOLUME_FILTER_NEAREST).

 set_lod_pixel_threshold()

virtual void nv::index::ISparse_volume_rendering_properties::set_lod_pixel_threshold ( mi::Float32  pixel_threshold)
pure virtual

The pixel-threshold allows to control the dynamic level-of-detail selection.

It feeds into an internal heuristic determining the amount of pixels a voxel spans in the viewport. A larger threshold allows for a more coarse LOD selection displaying lower resolution data closer to the view point.

Parameters
[in]pixel_thresholdScalar pixel threshold.

 set_lod_rendering_enabled()

virtual void nv::index::ISparse_volume_rendering_properties::set_lod_rendering_enabled ( bool  enable_lod_render)
pure virtual

Set the mode for the level-of-detail (LOD) rendering for a sparse volume scene element (ISparse_volume_scene_element).

The default setting of disabled.

Parameters
[in]enable_lod_renderEnables or disabled the LOD-rendering.

 set_preintegrated_volume_rendering()

virtual void nv::index::ISparse_volume_rendering_properties::set_preintegrated_volume_rendering ( bool  enable)
pure virtual

Enable or disable pre-integrated volume rendering for a sparse volume scene element (ISparse_volume_scene_element).

Per default this is disabled.

Parameters
[in]enableEnables the pre-integrated volume rendering technique if (true) otherwise the technique will be disabled (false).

 set_reference_sampling_distance()

virtual void nv::index::ISparse_volume_rendering_properties::set_reference_sampling_distance ( mi::Float32  s)
pure virtual

Set the reference sampling distance used for a sparse volume scene element (ISparse_volume_scene_element).

The default value used is 1.0f. The reference sampling distance is used during the volume rendering to steer the opacity correction and therefore the appearance of the volume display.

Parameters
[in]sSampling distance (default value is 1.0f).

 set_sampling_distance()

virtual void nv::index::ISparse_volume_rendering_properties::set_sampling_distance ( mi::Float32  sample_dist)
pure virtual

Set the sampling distance used for a sparse volume scene element (ISparse_volume_scene_element).

The default value used is 1.0f.

Parameters
[in]sample_distSampling distance (default value is 1.0f).

 set_voxel_offsets()

virtual void nv::index::ISparse_volume_rendering_properties::set_voxel_offsets ( const mi::math::Vector_struct< mi::Float32, 3 > &  voxel_offsets)
pure virtual

Set the voxel offsets used for a sparse volume scene element (ISparse_volume_scene_element).

The default values used are (0.0, 0.0, 0.0). The input values are limited to the range [0.0, 0.5].

Parameters
[in]voxel_offsetsVoxel offsets (default value is (0.0, 0.0, 0.0));

The documentation for this class was generated from the following file: