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