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

Spatial subdivision. More...

#include <isubdivision.h>

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

Public Member Functions

virtual mi::Uint32 get_nb_subregions () const =0
 Provides the number of spatial regions that span the spatial decomposition scheme. More...
 
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_subregion (mi::Uint32 index) const =0
 Returns bounding box of subregion with given index. More...
 
virtual Subregion_id get_subregion_id (mi::Uint32 index) const =0
 Returns identifier of subregion with given index. More...
 
virtual mi::Float64 get_subregion_weight (mi::Uint32 index) const =0
 Returns weight of subregion with given index. More...
 

Detailed Description

Spatial subdivision.

Member Function Documentation

 get_nb_subregions()

virtual mi::Uint32 nv::index::ISubdivision::get_nb_subregions ( ) const
pure virtual

Provides the number of spatial regions that span the spatial decomposition scheme.

 get_subregion()

virtual mi::math::Bbox_struct< mi::Float32, 3 > nv::index::ISubdivision::get_subregion ( mi::Uint32  index) const
pure virtual

Returns bounding box of subregion with given index.

Parameters
[in]indexThe index must be in the range [0,get_nb_subregions()).

 get_subregion_id()

virtual Subregion_id nv::index::ISubdivision::get_subregion_id ( mi::Uint32  index) const
pure virtual

Returns identifier of subregion with given index.

A value of 0 represent an invalid id.

Parameters
[in]indexThe index must be in the range [0,get_nb_subregions()).

 get_subregion_weight()

virtual mi::Float64 nv::index::ISubdivision::get_subregion_weight ( mi::Uint32  index) const
pure virtual

Returns weight of subregion with given index.

A weight of 0 signifies an empty subregion. A negative value means that the real weight is unknown. A positive value represents an abstract render/memory cost value of a non-empty subregion. The weight of a spatial subregion is the sum of all estimated weights of distributed data elements,

See also
IDistributed_data_import_callback::estimate(). Adaptive subdivision schemes use the weight to generate balanced subregions.
Parameters
[in]indexThe index must be in the range [0,get_nb_subregions()).

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