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

Subset data descriptors communicate the structural data representations about a subset data to an application. More...

#include <idistributed_data_subset.h>

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

Public Member Functions

virtual bool is_valid () const =0
 Verifying the integrity of a data subset descriptor. More...
 
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_subregion_scene_space () const =0
 The scene space bounding box of the subdivision's subregion, which hosts the given data subset. More...
 
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_subregion_object_space () const =0
 The object space bounding box of the subdivision's subregion, which hosts the given data subset. More...
 

Detailed Description

Subset data descriptors communicate the structural data representations about a subset data to an application.

This interface class is used to communicate information such as the layout of the internal data representions of a data subset to the application. For instance, a ISparse_volume_subset_data_descriptor shares details about the number of bricks and the depth level-of-detail structure that compose a single ISparse_volume_subset representation in a subregion.

Typically, an instance of IDistributed_data_subset_data_descriptor implementation is exposed by data subset interfaces.

Member Function Documentation

 get_subregion_object_space()

virtual mi::math::Bbox_struct< mi::Float32, 3 > nv::index::IDistributed_data_subset_data_descriptor::get_subregion_object_space ( ) const
pure virtual

The object space bounding box of the subdivision's subregion, which hosts the given data subset.

Returns
Returns the bounding box of the subregion in the subset's object space, i.e., in the distributed data's object space .

 get_subregion_scene_space()

virtual mi::math::Bbox_struct< mi::Float32, 3 > nv::index::IDistributed_data_subset_data_descriptor::get_subregion_scene_space ( ) const
pure virtual

The scene space bounding box of the subdivision's subregion, which hosts the given data subset.

Returns
Returns the bounding box of the subregion in the global scene space.

 is_valid()

virtual bool nv::index::IDistributed_data_subset_data_descriptor::is_valid ( ) const
pure virtual

Verifying the integrity of a data subset descriptor.

Returns
Returns true if the data subset descriptor is valid, i.e., the subset data representation is valid. Otherwise it returns false.

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