![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Set of abstract entities (bounded by BVH boxes). This is the minimal geometry interface needed to construct BVH. More...
#include <BVH_Set.hxx>

Public Types | |
| typedef BVH_Box< T, N > | BVH_BoxNt |
Public Member Functions | |
| BVH_Set ()=default | |
| Creates new abstract set of objects. | |
| virtual | ~BVH_Set ()=default |
| Releases resources of set of objects. | |
| virtual BVH_Box< T, N > | Box () const |
| Returns AABB of the entire set of objects. | |
| virtual int | Size () const =0 |
| Returns total number of objects. | |
| virtual BVH_Box< T, N > | Box (const int theIndex) const =0 |
| Returns AABB of the given object. | |
| virtual T | Center (const int theIndex, const int theAxis) const =0 |
| Returns centroid position along the given axis. | |
| virtual void | Swap (const int theIndex1, const int theIndex2)=0 |
| Performs transposing the two given objects in the set. | |
Set of abstract entities (bounded by BVH boxes). This is the minimal geometry interface needed to construct BVH.
| T | Numeric data type |
| N | Vector dimension |
Releases resources of set of objects.
Returns AABB of the entire set of objects.
Reimplemented in BVH_Geometry< T, N >, BVH_Geometry< float, 3 >, BVH_PrimitiveSet< T, N >, BVH_PrimitiveSet< double, 3 >, BVH_PrimitiveSet< double, Dimension >, BVH_PrimitiveSet< NumType, Dimension >, and OpenGl_TriangleSet.
Returns AABB of the given object.
Implemented in Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< double, Dimension, int >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, int >, BVH_IndexedBoxSet< NumType, Dimension, DataType >, BVH_ObjectSet< T, N >, BVH_ObjectSet< float, N >, BVH_Triangulation< T, N >, IntPatch_PolyhedronBVH, BRepExtrema_TriangleSet, and SelectMgr_SensitiveEntitySet.
Returns centroid position along the given axis.
Implemented in Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< double, Dimension, int >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, int >, BVH_ObjectSet< T, N >, BVH_ObjectSet< float, N >, BVH_Triangulation< T, N >, IntPatch_PolyhedronBVH, BRepExtrema_TriangleSet, OpenGl_TriangleSet, and SelectMgr_SensitiveEntitySet.
Returns total number of objects.
Implemented in BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< double, Dimension, int >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, int >, BVH_ObjectSet< T, N >, BVH_ObjectSet< float, N >, BVH_Triangulation< T, N >, IntPatch_PolyhedronBVH, BRepExtrema_TriangleSet, Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, and SelectMgr_SensitiveEntitySet.
Performs transposing the two given objects in the set.
Implemented in Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< double, Dimension, int >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, int >, BVH_IndexedBoxSet< NumType, Dimension, DataType >, BVH_ObjectSet< T, N >, BVH_ObjectSet< float, N >, BVH_Triangulation< T, N >, IntPatch_PolyhedronBVH, BRepExtrema_TriangleSet, and SelectMgr_SensitiveEntitySet.