35 #ifndef LVR2_RECONSTRUCTION_SEARCHTREE_H_ 36 #define LVR2_RECONSTRUCTION_SEARCHTREE_H_ 49 template<
typename BaseVecT>
53 using CoordT =
typename BaseVecT::CoordType;
74 std::vector<size_t>& indices,
75 std::vector<CoordT>& distances
89 std::vector<size_t>& indices
96 std::vector<size_t>& indices
130 template <
typename BaseVecT>
135 #include "SearchTree.tcc" 137 #endif // LVR2_RECONSTRUCTION_SEARCHTREE_H_ int m_kd
The number of tangent planes used for distance determination.
typename BaseVecT::CoordType CoordT
int m_ki
Set the number of neighbours used to estimate and interpolate normals.
virtual ~SearchTree()=default
std::shared_ptr< SearchTree< BaseVecT > > SearchTreePtr
virtual void radiusSearch(const BaseVecT &qp, CoordT r, std::vector< size_t > &indices) const =0
Returns all points within the radius r of qp.
Abstract interface for storing and searching through a set of points. Query functions for nearest nei...
virtual int kSearch(const BaseVecT &qp, int k, std::vector< size_t > &indices, std::vector< CoordT > &distances) const =0
This function performs a k-next-neighbor search on the data that was given in the constructor...