Open CASCADE Technology 7.8.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. | |
virtual | ~BVH_Set () |
Releases resources of set of objects. | |
virtual BVH_Box< T, N > | Box () const |
Returns AABB of the entire set of objects. | |
virtual Standard_Integer | Size () const =0 |
Returns total number of objects. | |
virtual BVH_Box< T, N > | Box (const Standard_Integer theIndex) const =0 |
Returns AABB of the given object. | |
virtual T | Center (const Standard_Integer theIndex, const Standard_Integer theAxis) const =0 |
Returns centroid position along the given axis. | |
virtual void | Swap (const Standard_Integer theIndex1, const Standard_Integer 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 BRepExtrema_TriangleSet, BVH_Geometry< T, N >, BVH_Geometry< Standard_ShortReal, 3 >, BVH_PrimitiveSet< T, N >, BVH_PrimitiveSet< NumType, Dimension >, BVH_PrimitiveSet< Standard_Real, Dimension >, Graphic3d_BvhCStructureSet, OpenGl_TriangleSet, Select3D_SensitiveSet::BvhPrimitiveSet, and SelectMgr_SensitiveEntitySet.
|
pure virtual |
Returns AABB of the given object.
Implemented in Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, BRepExtrema_TriangleSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, Standard_Integer >, 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 >, and SelectMgr_SensitiveEntitySet.
|
pure virtual |
Returns centroid position along the given axis.
Implemented in Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, BRepExtrema_TriangleSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, Standard_Integer >, BVH_BoxSet< Standard_Real, Dimension, Standard_Integer >, BVH_ObjectSet< T, N >, BVH_ObjectSet< Standard_ShortReal, N >, BVH_Triangulation< T, N >, OpenGl_TriangleSet, and SelectMgr_SensitiveEntitySet.
|
pure virtual |
Returns total number of objects.
Implemented in BRepExtrema_TriangleSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, Standard_Integer >, BVH_BoxSet< Standard_Real, Dimension, Standard_Integer >, BVH_ObjectSet< T, N >, BVH_ObjectSet< Standard_ShortReal, N >, BVH_Triangulation< T, N >, Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, and SelectMgr_SensitiveEntitySet.
|
pure virtual |
Performs transposing the two given objects in the set.
Implemented in Graphic3d_BvhCStructureSet, Graphic3d_BvhCStructureSetTrsfPers, Select3D_SensitiveSet::BvhPrimitiveSet, BRepExtrema_TriangleSet, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, DataType >, BVH_BoxSet< NumType, Dimension, Standard_Integer >, 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 >, and SelectMgr_SensitiveEntitySet.