#include <aabb_binary_tree.h>

Public Types | |
| typedef AABBBinaryTreeIndex < OBJTYPE, SCALARTYPE, NODEAUXDATA > | ClassType |
| typedef Point3< ScalarType > | CoordType |
| typedef NODEAUXDATA | NodeAuxData |
| typedef ObjType * | ObjPtr |
| typedef OBJTYPE | ObjType |
| typedef SCALARTYPE | ScalarType |
| typedef AABBBinaryTree < ObjType, ScalarType, NodeAuxData > | TreeType |
Public Member Functions | |
| void | Clear (void) |
| template<class OBJRAYISECTFUNCTOR , class OBJMARKER > | |
| ObjPtr | DoRay (OBJRAYISECTFUNCTOR &_rayIntersector, OBJMARKER &_marker, const Ray3< ScalarType > &_ray, const ScalarType &_maxDist, ScalarType &_t) |
| bool | Empty () |
| void | FrustumCull (const Plane3< ScalarType > _frustumPlanes[6], const unsigned int _minNodeObjectsCount) |
| template<class OBJPOINTDISTFUNCTOR , class OBJMARKER > | |
| ObjPtr | GetClosest (OBJPOINTDISTFUNCTOR &_getPointDistance, OBJMARKER &_marker, const typename OBJPOINTDISTFUNCTOR::QueryType &_p, const ScalarType &_maxDist, ScalarType &_minDist, CoordType &_closestPt) |
| template<class OBJPOINTDISTFUNCTOR , class OBJMARKER , class OBJPTRCONTAINER , class DISTCONTAINER , class POINTCONTAINER > | |
| unsigned int | GetKClosest (OBJPOINTDISTFUNCTOR &_getPointDistance, OBJMARKER &_marker, const unsigned int _k, const CoordType &_p, const ScalarType &_maxDist, OBJPTRCONTAINER &_objectPtrs, DISTCONTAINER &_distances, POINTCONTAINER &_points) |
| void | InitializeFrustumCull (void) |
| template<class OBJITER > | |
| void | Set (const OBJITER &_oBegin, const OBJITER &_oEnd) |
| template<class OBJITERATOR , class OBJITERATORPTRFUNCT , class OBJBOXFUNCT , class OBJBARYCENTERFUNCT > | |
| bool | Set (const OBJITERATOR &_oBegin, const OBJITERATOR &_oEnd, OBJITERATORPTRFUNCT &_objPtr, OBJBOXFUNCT &_objBox, OBJBARYCENTERFUNCT &_objBarycenter, const unsigned int _maxElemsPerLeaf=1, const ScalarType &_leafBoxMaxVolume=((ScalarType) 0), const bool _useVariance=true) |
| TreeType & | Tree (void) |
| const TreeType & | Tree (void) const |
Protected Attributes | |
| TreeType | tree |
Definition at line 58 of file aabb_binary_tree.h.
| typedef AABBBinaryTreeIndex<OBJTYPE, SCALARTYPE, NODEAUXDATA> vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::ClassType |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 60 of file aabb_binary_tree.h.
| typedef Point3<ScalarType> vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::CoordType |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 65 of file aabb_binary_tree.h.
| typedef NODEAUXDATA vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::NodeAuxData |
Definition at line 63 of file aabb_binary_tree.h.
| typedef ObjType* vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::ObjPtr |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 64 of file aabb_binary_tree.h.
| typedef OBJTYPE vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::ObjType |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 61 of file aabb_binary_tree.h.
| typedef SCALARTYPE vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::ScalarType |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 62 of file aabb_binary_tree.h.
| typedef AABBBinaryTree<ObjType, ScalarType, NodeAuxData> vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::TreeType |
Definition at line 66 of file aabb_binary_tree.h.
| void vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Clear | ( | void | ) | [inline] |
Definition at line 81 of file aabb_binary_tree.h.
| ObjPtr vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::DoRay | ( | OBJRAYISECTFUNCTOR & | _rayIntersector, |
| OBJMARKER & | _marker, | ||
| const Ray3< ScalarType > & | _ray, | ||
| const ScalarType & | _maxDist, | ||
| ScalarType & | _t | ||
| ) | [inline] |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 124 of file aabb_binary_tree.h.
| bool vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Empty | ( | ) | [inline] |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 76 of file aabb_binary_tree.h.
| void vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::FrustumCull | ( | const Plane3< ScalarType > | _frustumPlanes[6], |
| const unsigned int | _minNodeObjectsCount | ||
| ) | [inline] |
Definition at line 133 of file aabb_binary_tree.h.
| ObjPtr vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::GetClosest | ( | OBJPOINTDISTFUNCTOR & | _getPointDistance, |
| OBJMARKER & | _marker, | ||
| const typename OBJPOINTDISTFUNCTOR::QueryType & | _p, | ||
| const ScalarType & | _maxDist, | ||
| ScalarType & | _minDist, | ||
| CoordType & | _closestPt | ||
| ) | [inline] |
Definition at line 107 of file aabb_binary_tree.h.
| unsigned int vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::GetKClosest | ( | OBJPOINTDISTFUNCTOR & | _getPointDistance, |
| OBJMARKER & | _marker, | ||
| const unsigned int | _k, | ||
| const CoordType & | _p, | ||
| const ScalarType & | _maxDist, | ||
| OBJPTRCONTAINER & | _objectPtrs, | ||
| DISTCONTAINER & | _distances, | ||
| POINTCONTAINER & | _points | ||
| ) | [inline] |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 116 of file aabb_binary_tree.h.
| void vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::InitializeFrustumCull | ( | void | ) | [inline] |
Definition at line 129 of file aabb_binary_tree.h.
| void vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Set | ( | const OBJITER & | _oBegin, |
| const OBJITER & | _oEnd | ||
| ) | [inline] |
Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.
Definition at line 87 of file aabb_binary_tree.h.
| bool vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Set | ( | const OBJITERATOR & | _oBegin, |
| const OBJITERATOR & | _oEnd, | ||
| OBJITERATORPTRFUNCT & | _objPtr, | ||
| OBJBOXFUNCT & | _objBox, | ||
| OBJBARYCENTERFUNCT & | _objBarycenter, | ||
| const unsigned int | _maxElemsPerLeaf = 1, |
||
| const ScalarType & | _leafBoxMaxVolume = ((ScalarType)0), |
||
| const bool | _useVariance = true |
||
| ) | [inline] |
Definition at line 102 of file aabb_binary_tree.h.
| TreeType& vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Tree | ( | void | ) | [inline] |
Definition at line 68 of file aabb_binary_tree.h.
| const TreeType& vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Tree | ( | void | ) | const [inline] |
Definition at line 72 of file aabb_binary_tree.h.
TreeType vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::tree [protected] |
Definition at line 138 of file aabb_binary_tree.h.