vcg::SpatialIndex< OBJTYPE, SCALARTYPE > Class Template Reference

#include <base.h>

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

List of all members.

Public Types

typedef vcg::Box3< ScalarTypeBoxType
typedef SpatialIndex< OBJTYPE,
SCALARTYPE > 
ClassType
typedef Point3< ScalarTypeCoordType
typedef ObjTypeObjPtr
typedef OBJTYPE ObjType
typedef SCALARTYPE ScalarType

Public Member Functions

template<class OBJRAYISECTFUNCTOR , class OBJMARKER >
ObjPtr DoRay (OBJRAYISECTFUNCTOR &_rayIntersector, OBJMARKER &_marker, const Ray3< ScalarType > &_ray, const ScalarType &_maxDist, ScalarType &_t)
template<class OBJPOINTDISTFUNCTOR , class OBJMARKER >
ObjPtr GetClosest (OBJPOINTDISTFUNCTOR &_getPointDistance, OBJMARKER &_marker, const CoordType &_p, const ScalarType &_maxDist, ScalarType &_minDist, CoordType &_closestPt)
template<class OBJMARKER , class OBJPTRCONTAINER >
unsigned int GetInBox (OBJMARKER &_marker, const BoxType _bbox, OBJPTRCONTAINER &_objectPtrs)
template<class OBJPOINTDISTFUNCTOR , class OBJMARKER , class OBJPTRCONTAINER , class DISTCONTAINER , class POINTCONTAINER >
unsigned int GetInSphere (OBJPOINTDISTFUNCTOR &_getPointDistance, OBJMARKER &_marker, const CoordType &_p, const ScalarType &_r, OBJPTRCONTAINER &_objectPtrs, DISTCONTAINER &_distances, POINTCONTAINER &_points)
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)
template<class OBJITER >
void Set (const OBJITER &_oBegin, const OBJITER &_oEnd)

Detailed Description

template<class OBJTYPE, class SCALARTYPE>
class vcg::SpatialIndex< OBJTYPE, SCALARTYPE >

Definition at line 62 of file space/index/base.h.


Member Typedef Documentation

template<class OBJTYPE, class SCALARTYPE>
typedef vcg::Box3<ScalarType> vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::BoxType

Definition at line 72 of file space/index/base.h.

template<class OBJTYPE, class SCALARTYPE>
typedef SpatialIndex<OBJTYPE, SCALARTYPE> vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::ClassType
template<class OBJTYPE, class SCALARTYPE>
typedef Point3<ScalarType> vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::CoordType
template<class OBJTYPE, class SCALARTYPE>
typedef ObjType* vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::ObjPtr
template<class OBJTYPE, class SCALARTYPE>
typedef OBJTYPE vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::ObjType
template<class OBJTYPE, class SCALARTYPE>
typedef SCALARTYPE vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::ScalarType

Member Function Documentation

template<class OBJTYPE, class SCALARTYPE>
template<class OBJRAYISECTFUNCTOR , class OBJMARKER >
ObjPtr vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::DoRay ( OBJRAYISECTFUNCTOR &  _rayIntersector,
OBJMARKER &  _marker,
const Ray3< ScalarType > &  _ray,
const ScalarType _maxDist,
ScalarType _t 
) [inline]
template<class OBJTYPE, class SCALARTYPE>
template<class OBJPOINTDISTFUNCTOR , class OBJMARKER >
ObjPtr vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::GetClosest ( OBJPOINTDISTFUNCTOR &  _getPointDistance,
OBJMARKER &  _marker,
const CoordType _p,
const ScalarType _maxDist,
ScalarType _minDist,
CoordType _closestPt 
) [inline]
template<class OBJTYPE, class SCALARTYPE>
template<class OBJMARKER , class OBJPTRCONTAINER >
unsigned int vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::GetInBox ( OBJMARKER &  _marker,
const BoxType  _bbox,
OBJPTRCONTAINER &  _objectPtrs 
) [inline]
template<class OBJTYPE, class SCALARTYPE>
template<class OBJPOINTDISTFUNCTOR , class OBJMARKER , class OBJPTRCONTAINER , class DISTCONTAINER , class POINTCONTAINER >
unsigned int vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::GetInSphere ( OBJPOINTDISTFUNCTOR &  _getPointDistance,
OBJMARKER &  _marker,
const CoordType _p,
const ScalarType _r,
OBJPTRCONTAINER &  _objectPtrs,
DISTCONTAINER &  _distances,
POINTCONTAINER &  _points 
) [inline]
template<class OBJTYPE, class SCALARTYPE>
template<class OBJPOINTDISTFUNCTOR , class OBJMARKER , class OBJPTRCONTAINER , class DISTCONTAINER , class POINTCONTAINER >
unsigned int vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::GetKClosest ( OBJPOINTDISTFUNCTOR &  _getPointDistance,
OBJMARKER &  _marker,
const unsigned int  _k,
const CoordType _p,
const ScalarType _maxDist,
OBJPTRCONTAINER &  _objectPtrs,
DISTCONTAINER &  _distances,
POINTCONTAINER &  _points 
) [inline]
template<class OBJTYPE, class SCALARTYPE>
template<class OBJITER >
void vcg::SpatialIndex< OBJTYPE, SCALARTYPE >::Set ( const OBJITER &  _oBegin,
const OBJITER &  _oEnd 
) [inline]

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:23:06 2013