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

Compute-destination buffer for 3D sparse-volume generation techniques. More...

#include <idistributed_compute_destination_buffer.h>

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

Public Member Functions

virtual mi::math::Bbox_struct< mi::Sint32, 3 > get_volume_subset_data_bbox () const =0
 Returns the bounding box of the volume subset for which the compute technique is required to generate values. More...
 
virtual mi::math::Bbox_struct< mi::Sint32, 3 > get_clipped_volume_subset_data_bbox () const =0
 Returns the clipped bounding box of the volume subset for which the compute technique is required to generate values. More...
 
virtual mi::math::Bbox_struct< mi::Sint32, 3 > get_already_computed_volume_subset_data_bbox () const =0
 Returns the bounding box of the volume subset for which the compute technique is required to generate values containing already computed voxel values. More...
 
virtual ISparse_volume_subsetget_distributed_data_subset ()=0
 Returns the volume data-subset for which the compute technique is required to generate voxel values. More...
 

Detailed Description

Compute-destination buffer for 3D sparse-volume generation techniques.

Upon applying an IDistributed_compute_technique attribute to a ISparse_volume_scene_element scene element a IDistributed_compute_destination_buffer_3d_sparse_volume is passed to the IDistributed_compute_technique::launch_compute() method.

Member Function Documentation

 get_already_computed_volume_subset_data_bbox()

virtual mi::math::Bbox_struct< mi::Sint32, 3 > nv::index::IDistributed_compute_destination_buffer_3d_sparse_volume::get_already_computed_volume_subset_data_bbox ( ) const
pure virtual

Returns the bounding box of the volume subset for which the compute technique is required to generate values containing already computed voxel values.

This bounding box can be used to reduce the computing workload when parts of the volume subset were already generated by a previous invocation of the compute technique, for instance when the global or volume defined regions of interest have changed.

The rendering system computes and initializes the bounding box of the volume subset.

Returns
The bounding box of the volume subset containing already computed voxel values, defined in non-normalized volume coordinates.

 get_clipped_volume_subset_data_bbox()

virtual mi::math::Bbox_struct< mi::Sint32, 3 > nv::index::IDistributed_compute_destination_buffer_3d_sparse_volume::get_clipped_volume_subset_data_bbox ( ) const
pure virtual

Returns the clipped bounding box of the volume subset for which the compute technique is required to generate values.

This bounding box describes the part of the complete volume subset which is potentially visible due to clipping the volume dataset by the global or volume defined clip-regions.

The clipped bounding box describes the parts of the volume that are required to be written in order to achieve a consistent rendered image of the volume dataset.

The rendering system computes and initializes the bounding box of the volume subset.

Returns
The clipped bounding box of the volume subset, defined in non-normalized volume coordinates.

 get_distributed_data_subset()

virtual ISparse_volume_subset * nv::index::IDistributed_compute_destination_buffer_3d_sparse_volume::get_distributed_data_subset ( )
pure virtual

Returns the volume data-subset for which the compute technique is required to generate voxel values.

Returns
An interface pointer to an instance of ISparse_volume_subset.

 get_volume_subset_data_bbox()

virtual mi::math::Bbox_struct< mi::Sint32, 3 > nv::index::IDistributed_compute_destination_buffer_3d_sparse_volume::get_volume_subset_data_bbox ( ) const
pure virtual

Returns the bounding box of the volume subset for which the compute technique is required to generate values.

The rendering system computes and initializes the bounding box of the volume subset.

Returns
The bounding box of the volume subset, defined in non-normalized volume coordinates.

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