|
| | BVH_Geometry () |
| | Creates uninitialized BVH geometry.
|
| |
| | BVH_Geometry (const opencascade::handle< BVH_Builder< T, N > > &theBuilder) |
| | Creates uninitialized BVH geometry.
|
| |
| virtual | ~BVH_Geometry () |
| | Releases resources of BVH geometry.
|
| |
| virtual Standard_Boolean | IsDirty () const |
| | Returns TRUE if geometry state should be updated.
|
| |
| virtual void | MarkDirty () |
| | Marks geometry as outdated.
|
| |
| virtual BVH_Box< T, N > | Box () const override |
| | Returns AABB of the whole geometry.
|
| |
| virtual const opencascade::handle< BVH_Tree< T, N > > & | BVH () |
| | Returns BVH tree (and builds it if necessary).
|
| |
| virtual const opencascade::handle< BVH_Builder< T, N > > & | Builder () const |
| | Returns the method (builder) used to construct BVH.
|
| |
| virtual void | SetBuilder (const opencascade::handle< BVH_Builder< T, N > > &theBuilder) |
| | Sets the method (builder) used to construct BVH.
|
| |
| | 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.
|
| |
| | 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.
|
| |
template<class T, int N>
class BVH_Geometry< T, N >
BVH geometry as a set of abstract geometric objects organized with bounding volume hierarchy (BVH).
- Template Parameters
-
| T | Numeric data type |
| N | Vector dimension |