vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA > Class Template Reference

#include <aabb_binary_tree.h>

Inheritance diagram for vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef AABBBinaryTreeIndex
< OBJTYPE, SCALARTYPE,
NODEAUXDATA > 
ClassType
typedef Point3< ScalarTypeCoordType
typedef NODEAUXDATA NodeAuxData
typedef ObjTypeObjPtr
typedef OBJTYPE ObjType
typedef SCALARTYPE ScalarType
typedef AABBBinaryTree
< ObjType, ScalarType,
NodeAuxData
TreeType

Public Member Functions

template<class OBJRAYISECTFUNCTOR , class OBJMARKER >
ObjPtr DoRay (OBJRAYISECTFUNCTOR &_rayIntersector, OBJMARKER &_marker, const Ray3< ScalarType > &_ray, const ScalarType &_maxDist, ScalarType &_t)
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 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)
template<class OBJITER >
void Set (const OBJITER &_oBegin, const OBJITER &_oEnd)
const TreeTypeTree (void) const
TreeTypeTree (void)

Protected Attributes

TreeType tree

Detailed Description

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
class vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >

Definition at line 58 of file aabb_binary_tree.h.


Member Typedef Documentation

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
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.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
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.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
typedef NODEAUXDATA vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::NodeAuxData

Definition at line 63 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
typedef ObjType* vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::ObjPtr

Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.

Definition at line 64 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
typedef OBJTYPE vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::ObjType

Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.

Definition at line 61 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
typedef SCALARTYPE vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::ScalarType

Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.

Definition at line 62 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
typedef AABBBinaryTree<ObjType, ScalarType, NodeAuxData> vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::TreeType

Definition at line 66 of file aabb_binary_tree.h.


Member Function Documentation

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
template<class OBJRAYISECTFUNCTOR , class OBJMARKER >
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 114 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
void vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::FrustumCull ( const Plane3< ScalarType _frustumPlanes[6],
const unsigned int  _minNodeObjectsCount 
) [inline]

Definition at line 123 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
template<class OBJPOINTDISTFUNCTOR , class OBJMARKER >
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 97 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
template<class OBJPOINTDISTFUNCTOR , class OBJMARKER , class OBJPTRCONTAINER , class DISTCONTAINER , class POINTCONTAINER >
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 106 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
void vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::InitializeFrustumCull ( void   )  [inline]

Definition at line 119 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
template<class OBJITERATOR , class OBJITERATORPTRFUNCT , class OBJBOXFUNCT , class OBJBARYCENTERFUNCT >
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 92 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
template<class OBJITER >
void vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Set ( const OBJITER &  _oBegin,
const OBJITER &  _oEnd 
) [inline]

Reimplemented from vcg::SpatialIndex< OBJTYPE, SCALARTYPE >.

Definition at line 77 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
const TreeType& vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Tree ( void   )  const [inline]

Definition at line 72 of file aabb_binary_tree.h.

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
TreeType& vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::Tree ( void   )  [inline]

Definition at line 68 of file aabb_binary_tree.h.


Member Data Documentation

template<class OBJTYPE, class SCALARTYPE, class NODEAUXDATA = EmptyClass>
TreeType vcg::AABBBinaryTreeIndex< OBJTYPE, SCALARTYPE, NODEAUXDATA >::tree [protected]

Definition at line 128 of file aabb_binary_tree.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:57 2013