Open CASCADE Technology  7.1.0.beta
Public Member Functions | Protected Attributes
BVH_Object< T, N > Class Template Referenceabstract

Abstract geometric object bounded by BVH box. More...

#include <BVH_Object.hxx>

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

Public Member Functions

 BVH_Object ()
 Creates new abstract geometric object. More...
 
virtual ~BVH_Object ()=0
 Releases resources of geometric object. More...
 
virtual BVH_Box< T, N > Box () const =0
 Returns AABB of the geometric object. More...
 
virtual const NCollection_Handle< BVH_Properties > & Properties () const
 Returns properties of the geometric object. More...
 
virtual void SetProperties (const NCollection_Handle< BVH_Properties > &theProperties)
 Sets properties of the geometric object. More...
 
virtual void MarkDirty ()
 Marks object state as outdated (needs BVH rebuilding). More...
 

Protected Attributes

Standard_Boolean myIsDirty
 Marks internal object state as outdated. More...
 
NCollection_Handle< BVH_PropertiesmyProperties
 Generic properties assigned to the object. More...
 

Detailed Description

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

Abstract geometric object bounded by BVH box.

Template Parameters
TNumeric data type
NVector dimension

Constructor & Destructor Documentation

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

Creates new abstract geometric object.

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

Releases resources of geometric object.

Member Function Documentation

template<class T, int N>
virtual BVH_Box<T, N> BVH_Object< T, N >::Box ( ) const
pure virtual
template<class T, int N>
virtual void BVH_Object< T, N >::MarkDirty ( )
virtual

Marks object state as outdated (needs BVH rebuilding).

template<class T, int N>
virtual const NCollection_Handle<BVH_Properties>& BVH_Object< T, N >::Properties ( ) const
virtual

Returns properties of the geometric object.

template<class T, int N>
virtual void BVH_Object< T, N >::SetProperties ( const NCollection_Handle< BVH_Properties > &  theProperties)
virtual

Sets properties of the geometric object.

Field Documentation

template<class T, int N>
Standard_Boolean BVH_Object< T, N >::myIsDirty
protected

Marks internal object state as outdated.

template<class T, int N>
NCollection_Handle<BVH_Properties> BVH_Object< T, N >::myProperties
protected

Generic properties assigned to the object.


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