#include <grid_static_ptr2d.h>

Public Types | |
| typedef Box2< ScalarType > | Box2x |
| typedef std::vector< OBJTYPE * > ::iterator | CellIterator |
| typedef Point2< ScalarType > | CoordType |
| typedef GridStaticPtr2D < OBJTYPE, FLT > | MyGridType |
| typedef ObjType * | ObjPtr |
| typedef OBJTYPE | ObjType |
| typedef ObjType::ScalarType | ScalarType |
Public Member Functions | |
| template<class OBJRAYISECTFUNCTOR , class OBJMARKER > | |
| ObjPtr | DoRay (OBJRAYISECTFUNCTOR &_rayIntersector, OBJMARKER &_marker, const Ray2< ScalarType > &_ray, const ScalarType &_maxDist, ScalarType &_t) |
| 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 OBJMARKER , class OBJPTRCONTAINER > | |
| unsigned int | GetInBox (OBJMARKER &_marker, const vcg::Box2< ScalarType > _bbox, OBJPTRCONTAINER &_objectPtrs) |
| void | Grid (const int x, const int y, CellIterator &first, CellIterator &last) |
| void | Grid (const Point2i pi, CellIterator &first, CellIterator &last) |
| template<class OBJITER > | |
| void | Set (const OBJITER &_oBegin, const OBJITER &_oEnd) |
Public Attributes | |
| std::vector< std::vector < std::vector< OBJTYPE * > > > | data |
Private Member Functions | |
| void | Add (const int x, const int y, ObjType *elem) |
| template<class OBJITER > | |
| void | Set (const OBJITER &_oBegin, const OBJITER &_oEnd, const Box2x &_bbox, Point2i _siz) |
| template<class OBJITER > | |
| void | Set (const OBJITER &_oBegin, const OBJITER &_oEnd, const Box2x &_bbox) |
Definition at line 39 of file grid_static_ptr2d.h.
| typedef Box2<ScalarType> vcg::GridStaticPtr2D< OBJTYPE, FLT >::Box2x |
Reimplemented from vcg::BasicGrid2D< FLT >.
Definition at line 46 of file grid_static_ptr2d.h.
| typedef std::vector<OBJTYPE*>::iterator vcg::GridStaticPtr2D< OBJTYPE, FLT >::CellIterator |
Definition at line 48 of file grid_static_ptr2d.h.
| typedef Point2<ScalarType> vcg::GridStaticPtr2D< OBJTYPE, FLT >::CoordType |
Reimplemented from vcg::SpatialIndex2D< OBJTYPE, FLT >.
Definition at line 45 of file grid_static_ptr2d.h.
| typedef GridStaticPtr2D<OBJTYPE,FLT> vcg::GridStaticPtr2D< OBJTYPE, FLT >::MyGridType |
Definition at line 47 of file grid_static_ptr2d.h.
| typedef ObjType* vcg::GridStaticPtr2D< OBJTYPE, FLT >::ObjPtr |
Reimplemented from vcg::SpatialIndex2D< OBJTYPE, FLT >.
Definition at line 43 of file grid_static_ptr2d.h.
| typedef OBJTYPE vcg::GridStaticPtr2D< OBJTYPE, FLT >::ObjType |
Reimplemented from vcg::SpatialIndex2D< OBJTYPE, FLT >.
Definition at line 42 of file grid_static_ptr2d.h.
| typedef ObjType::ScalarType vcg::GridStaticPtr2D< OBJTYPE, FLT >::ScalarType |
Reimplemented from vcg::SpatialIndex2D< OBJTYPE, FLT >.
Definition at line 44 of file grid_static_ptr2d.h.
| void vcg::GridStaticPtr2D< OBJTYPE, FLT >::Add | ( | const int | x, |
| const int | y, | ||
| ObjType * | elem | ||
| ) | [inline, private] |
Definition at line 55 of file grid_static_ptr2d.h.
| ObjPtr vcg::GridStaticPtr2D< OBJTYPE, FLT >::DoRay | ( | OBJRAYISECTFUNCTOR & | _rayIntersector, |
| OBJMARKER & | _marker, | ||
| const Ray2< ScalarType > & | _ray, | ||
| const ScalarType & | _maxDist, | ||
| ScalarType & | _t | ||
| ) | [inline] |
Definition at line 170 of file grid_static_ptr2d.h.
| ObjPtr vcg::GridStaticPtr2D< OBJTYPE, FLT >::GetClosest | ( | OBJPOINTDISTFUNCTOR & | _getPointDistance, |
| OBJMARKER & | _marker, | ||
| const typename OBJPOINTDISTFUNCTOR::QueryType & | _p, | ||
| const ScalarType & | _maxDist, | ||
| ScalarType & | _minDist, | ||
| CoordType & | _closestPt | ||
| ) | [inline] |
Definition at line 149 of file grid_static_ptr2d.h.
| unsigned int vcg::GridStaticPtr2D< OBJTYPE, FLT >::GetInBox | ( | OBJMARKER & | _marker, |
| const vcg::Box2< ScalarType > | _bbox, | ||
| OBJPTRCONTAINER & | _objectPtrs | ||
| ) | [inline] |
Definition at line 160 of file grid_static_ptr2d.h.
| void vcg::GridStaticPtr2D< OBJTYPE, FLT >::Grid | ( | const int | x, |
| const int | y, | ||
| CellIterator & | first, | ||
| CellIterator & | last | ||
| ) | [inline] |
Definition at line 118 of file grid_static_ptr2d.h.
| void vcg::GridStaticPtr2D< OBJTYPE, FLT >::Grid | ( | const Point2i | pi, |
| CellIterator & | first, | ||
| CellIterator & | last | ||
| ) | [inline] |
Definition at line 126 of file grid_static_ptr2d.h.
| void vcg::GridStaticPtr2D< OBJTYPE, FLT >::Set | ( | const OBJITER & | _oBegin, |
| const OBJITER & | _oEnd, | ||
| const Box2x & | _bbox, | ||
| Point2i | _siz | ||
| ) | [inline, private] |
allocate space
Definition at line 65 of file grid_static_ptr2d.h.
| void vcg::GridStaticPtr2D< OBJTYPE, FLT >::Set | ( | const OBJITER & | _oBegin, |
| const OBJITER & | _oEnd, | ||
| const Box2x & | _bbox | ||
| ) | [inline, private] |
Definition at line 101 of file grid_static_ptr2d.h.
| void vcg::GridStaticPtr2D< OBJTYPE, FLT >::Set | ( | const OBJITER & | _oBegin, |
| const OBJITER & | _oEnd | ||
| ) | [inline] |
Reimplemented from vcg::SpatialIndex2D< OBJTYPE, FLT >.
Definition at line 134 of file grid_static_ptr2d.h.
| std::vector<std::vector<std::vector<OBJTYPE*> > > vcg::GridStaticPtr2D< OBJTYPE, FLT >::data |
Definition at line 49 of file grid_static_ptr2d.h.