Open CASCADE Technology  6.9.0
Public Types | Public Member Functions

BVH_Set< T, N > Class Template Referenceabstract

Set of abstract entities (bounded by BVH boxes). This is the minimal geometry interface needed to construct BVH. More...

#include <BVH_Set.hxx>

Inheritance diagram for BVH_Set< T, N >:
Inheritance graph
[legend]

Public Types

typedef BVH_Box< T, N > BVH_BoxNt
 

Public Member Functions

 BVH_Set ()
 Creates new abstract set of objects. More...
 
virtual ~BVH_Set ()=0
 Releases resources of set of objects. More...
 
virtual BVH_Box< T, N > Box () const
 Returns AABB of the entire set of objects. More...
 
virtual Standard_Integer Size () const =0
 Returns total number of objects. More...
 
virtual BVH_Box< T, N > Box (const Standard_Integer theIndex) const =0
 Returns AABB of the given object. More...
 
virtual T Center (const Standard_Integer theIndex, const Standard_Integer theAxis) const =0
 Returns centroid position along the given axis. More...
 
virtual void Swap (const Standard_Integer theIndex1, const Standard_Integer theIndex2)=0
 Performs transposing the two given objects in the set. More...
 

Detailed Description

template<class T, int N>
class BVH_Set< T, N >

Set of abstract entities (bounded by BVH boxes). This is the minimal geometry interface needed to construct BVH.

Template Parameters
TNumeric data type
NVector dimension

Member Typedef Documentation

template<class T, int N>
typedef BVH_Box<T, N> BVH_Set< T, N >::BVH_BoxNt

Constructor & Destructor Documentation

template<class T, int N>
BVH_Set< T, N >::BVH_Set ( )

Creates new abstract set of objects.

template<class T, int N>
virtual BVH_Set< T, N >::~BVH_Set ( )
pure virtual

Releases resources of set of objects.

Member Function Documentation

template<class T, int N>
virtual BVH_Box<T, N> BVH_Set< T, N >::Box ( ) const
virtual
template<class T, int N>
virtual BVH_Box<T, N> BVH_Set< T, N >::Box ( const Standard_Integer  theIndex) const
pure virtual
template<class T, int N>
virtual T BVH_Set< T, N >::Center ( const Standard_Integer  theIndex,
const Standard_Integer  theAxis 
) const
pure virtual
template<class T, int N>
virtual Standard_Integer BVH_Set< T, N >::Size ( ) const
pure virtual
template<class T, int N>
virtual void BVH_Set< T, N >::Swap ( const Standard_Integer  theIndex1,
const Standard_Integer  theIndex2 
)
pure virtual

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