vcglib/vcg/space/index
Gianpaolo Palma 31fb567321 Thread-safe refactoring of the class KdTree.
Removed methods:
void setMaxNofNeighbors(unsigned int k);
inline int getNofFoundNeighbors(void);
inline const VectorType& getNeighbor(int i);
inline unsigned int getNeighborId(int i);
inline float getNeighborSquaredDistance(int i);

Added methods:
void doQueryDist(const VectorType& queryPoint, float dist, std::vector<unsigned int>& points, std::vector<Scalar>& sqrareDists);
void doQueryClosest(const VectorType& queryPoint, unsigned int& index, Scalar& dist);

Changed methods:
void doQueryK(const VectorType& queryPoint,  int k, PriorityQueue& mNeighborQueue);
2014-07-11 11:52:52 +00:00
..
aabb_binary_tree corrected visibility classification for leaf BVs in frustum culling. 2013-09-26 17:26:47 +00:00
index2D added a const to a parameter passed by reference. 2014-02-13 16:29:21 +00:00
kdtree Thread-safe refactoring of the class KdTree. 2014-07-11 11:52:52 +00:00
base.h added method to know if a spatial indexing structure is empty or not 2010-11-09 08:15:14 +00:00
grid_closest.h corrected small bug in the gridclosest scanning function that caused rescan of the inner box when the search region in the uniform grid was growing. 2012-10-18 08:44:11 +00:00
grid_static_obj.h Rolled back 2011-10-05 15:04:40 +00:00
grid_static_ptr.h Changed one of the init overload Set(), the one that allowed to specify the cell radius but ACTUALLY it did not use it... 2012-07-06 09:40:09 +00:00
grid_util.h Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType 2014-07-01 10:08:30 +00:00
octree.h Removed useless include 2014-02-18 20:18:13 +00:00
octree_template.h simple orthographic errors in comments 2012-11-07 17:56:07 +00:00
perfect_spatial_hashing.h big replacement .Zero => .SetZero, and start of Eigen's compatibilities (currently disabled by default) 2008-10-27 14:48:14 +00:00
space_iterators.h Made the member with the distfunctor no more a reference but a copy. To avoid issues when passing temporary dist functors... 2012-10-18 09:01:51 +00:00
spatial_hashing.h Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType 2014-06-20 07:04:42 +00:00