Open CASCADE Technology
7.5.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 () | |
Creates new abstract set of objects. More... | |
virtual | ~BVH_Set () |
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... | |
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 OpenGl_TriangleSet, BVH_Geometry< T, N >, BVH_Geometry< Standard_ShortReal, 3 >, BVH_PrimitiveSet< T, N >, BVH_PrimitiveSet< NumType, Dimension >, and BVH_PrimitiveSet< Standard_Real, Dimension >.
|
pure virtual |
Returns AABB of the given object.
Implemented in Select3D_SensitiveSet::BvhPrimitiveSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< Standard_Real, Dimension, Standard_Integer >, BVH_IndexedBoxSet< NumType, Dimension, DataType >, BVH_ObjectSet< T, N >, BVH_ObjectSet< Standard_ShortReal, N >, BVH_Triangulation< T, N >, SelectMgr_SensitiveEntitySet, Graphic3d_BvhCStructureSetTrsfPers, BRepExtrema_TriangleSet, and Graphic3d_BvhCStructureSet.
|
pure virtual |
Returns centroid position along the given axis.
Implemented in Select3D_SensitiveSet::BvhPrimitiveSet, OpenGl_TriangleSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< Standard_Real, Dimension, Standard_Integer >, BVH_Triangulation< T, N >, BVH_ObjectSet< T, N >, BVH_ObjectSet< Standard_ShortReal, N >, SelectMgr_SensitiveEntitySet, Graphic3d_BvhCStructureSetTrsfPers, BRepExtrema_TriangleSet, and Graphic3d_BvhCStructureSet.
|
pure virtual |
Returns total number of objects.
Implemented in Select3D_SensitiveSet::BvhPrimitiveSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< Standard_Real, Dimension, Standard_Integer >, SelectMgr_SensitiveEntitySet, BVH_ObjectSet< T, N >, BVH_ObjectSet< Standard_ShortReal, N >, BVH_Triangulation< T, N >, Graphic3d_BvhCStructureSetTrsfPers, BRepExtrema_TriangleSet, and Graphic3d_BvhCStructureSet.
|
pure virtual |
Performs transposing the two given objects in the set.
Implemented in Select3D_SensitiveSet::BvhPrimitiveSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< Standard_Real, Dimension, Standard_Integer >, BVH_Triangulation< T, N >, BVH_IndexedBoxSet< NumType, Dimension, DataType >, BVH_ObjectSet< T, N >, BVH_ObjectSet< Standard_ShortReal, N >, SelectMgr_SensitiveEntitySet, Graphic3d_BvhCStructureSetTrsfPers, BRepExtrema_TriangleSet, and Graphic3d_BvhCStructureSet.