Array of abstract entities (bounded by BVH boxes) to built BVH. More...
#include <BVH_ObjectSet.hxx>

Public Types | |
| typedef NCollection_Vector< opencascade::handle< BVH_Object< T, N > > > | BVH_ObjectList |
| Type of array of geometric objects. | |
Public Types inherited from BVH_Set< T, N > | |
| typedef BVH_Box< T, N > | BVH_BoxNt |
Public Member Functions | |
| BVH_ObjectSet () | |
| Creates new set of geometric objects. | |
| virtual | ~BVH_ObjectSet () |
| Releases resources of set of geometric objects. | |
| virtual void | Clear () |
| Removes all geometric objects. | |
| BVH_ObjectList & | Objects () |
| Returns reference to the array of geometric objects. | |
| const BVH_ObjectList & | Objects () const |
| Returns reference to the array of geometric objects. | |
| virtual Standard_Integer | Size () const override |
| Return total number of objects. | |
| virtual BVH_Box< T, N > | Box (const Standard_Integer theIndex) const override |
| Returns AABB of the given object. | |
| virtual T | Center (const Standard_Integer theIndex, const Standard_Integer theAxis) const override |
| Returns centroid position along the given axis. | |
| virtual void | Swap (const Standard_Integer theIndex1, const Standard_Integer theIndex2) override |
| Performs transposing the two given objects in the set. | |
Public Member Functions inherited from BVH_Set< T, N > | |
| BVH_Set () | |
| Creates new abstract set of objects. | |
| virtual | ~BVH_Set () |
| Releases resources of set of objects. | |
| virtual BVH_Box< T, N > | Box () const |
| Returns AABB of the entire set of objects. | |
Protected Attributes | |
| BVH_ObjectList | myObjects |
| Array of geometric objects. | |
Array of abstract entities (bounded by BVH boxes) to built BVH.
| T | Numeric data type |
| N | Vector dimension |
| typedef NCollection_Vector<opencascade::handle<BVH_Object<T, N> > > BVH_ObjectSet< T, N >::BVH_ObjectList |
Type of array of geometric objects.
|
inline |
Creates new set of geometric objects.
|
inlinevirtual |
Releases resources of set of geometric objects.
|
inlineoverridevirtual |
Returns AABB of the given object.
Implements BVH_Set< T, N >.
|
inlineoverridevirtual |
Returns centroid position along the given axis.
Implements BVH_Set< T, N >.
|
inlinevirtual |
Removes all geometric objects.
Reimplemented in OpenGl_RaytraceGeometry.
|
inline |
Returns reference to the array of geometric objects.
|
inline |
Returns reference to the array of geometric objects.
|
inlineoverridevirtual |
Return total number of objects.
Implements BVH_Set< T, N >.
|
inlineoverridevirtual |
Performs transposing the two given objects in the set.
Implements BVH_Set< T, N >.
|
protected |
Array of geometric objects.