|
| | BruteForce (bool sorted_results=false) |
| |
| | ~BruteForce () override=default |
| | Destructor for KdTree.
|
| |
| void | setPointRepresentation (const PointRepresentationConstPtr &point_representation) |
| | Provide a pointer to the point representation used for converting points into k-D vectors.
|
| |
| PointRepresentationConstPtr | getPointRepresentation () const |
| | Get the point representation used for converting points into k-D vectors.
|
| |
| int | nearestKSearch (const PointT &point, int k, Indices &k_indices, std::vector< float > &k_distances) const override |
| | Search for the k-nearest neighbors for the given query point.
|
| |
| int | radiusSearch (const PointT &point, double radius, Indices &k_indices, std::vector< float > &k_sqr_distances, unsigned int max_nn=0) const override |
| | Search for all the nearest neighbors of the query point in a given radius.
|
| |
| | Search (const std::string &name="", bool sorted=false) |
| | Constructor.
|
| |
| virtual | ~Search ()=default |
| | Destructor.
|
| |
| virtual const std::string & | getName () const |
| | Returns the search method name.
|
| |
| virtual void | setSortedResults (bool sorted) |
| | sets whether the results should be sorted (ascending in the distance) or not
|
| |
| virtual bool | getSortedResults () |
| | Gets whether the results should be sorted (ascending in the distance) or not Otherwise the results may be returned in any order.
|
| |
| virtual bool | setInputCloud (const PointCloudConstPtr &cloud, const IndicesConstPtr &indices=IndicesConstPtr()) |
| | Pass the input dataset that the search will be performed on.
|
| |
| virtual PointCloudConstPtr | getInputCloud () const |
| | Get a pointer to the input point cloud dataset.
|
| |
| virtual IndicesConstPtr | getIndices () const |
| | Get a pointer to the vector of indices used.
|
| |
| template<typename PointTDiff > |
| int | nearestKSearchT (const PointTDiff &point, int k, Indices &k_indices, std::vector< float > &k_sqr_distances) const |
| | Search for k-nearest neighbors for the given query point.
|
| |
| virtual int | nearestKSearch (const PointCloud &cloud, index_t index, int k, Indices &k_indices, std::vector< float > &k_sqr_distances) const |
| | Search for k-nearest neighbors for the given query point.
|
| |
| virtual int | nearestKSearch (index_t index, int k, Indices &k_indices, std::vector< float > &k_sqr_distances) const |
| | Search for k-nearest neighbors for the given query point (zero-copy).
|
| |
| virtual void | nearestKSearch (const PointCloud &cloud, const Indices &indices, int k, std::vector< Indices > &k_indices, std::vector< std::vector< float > > &k_sqr_distances) const |
| | Search for the k-nearest neighbors for the given query point.
|
| |
| template<typename PointTDiff > |
| void | nearestKSearchT (const pcl::PointCloud< PointTDiff > &cloud, const Indices &indices, int k, std::vector< Indices > &k_indices, std::vector< std::vector< float > > &k_sqr_distances) const |
| | Search for the k-nearest neighbors for the given query point.
|
| |
| template<typename PointTDiff > |
| int | radiusSearchT (const PointTDiff &point, double radius, Indices &k_indices, std::vector< float > &k_sqr_distances, unsigned int max_nn=0) const |
| | Search for all the nearest neighbors of the query point in a given radius.
|
| |
| virtual int | radiusSearch (const PointCloud &cloud, index_t index, double radius, Indices &k_indices, std::vector< float > &k_sqr_distances, unsigned int max_nn=0) const |
| | Search for all the nearest neighbors of the query point in a given radius.
|
| |
| virtual int | radiusSearch (index_t index, double radius, Indices &k_indices, std::vector< float > &k_sqr_distances, unsigned int max_nn=0) const |
| | Search for all the nearest neighbors of the query point in a given radius (zero-copy).
|
| |
| virtual void | radiusSearch (const PointCloud &cloud, const Indices &indices, double radius, std::vector< Indices > &k_indices, std::vector< std::vector< float > > &k_sqr_distances, unsigned int max_nn=0) const |
| | Search for all the nearest neighbors of the query point in a given radius.
|
| |
| template<typename PointTDiff > |
| void | radiusSearchT (const pcl::PointCloud< PointTDiff > &cloud, const Indices &indices, double radius, std::vector< Indices > &k_indices, std::vector< std::vector< float > > &k_sqr_distances, unsigned int max_nn=0) const |
| | Search for all the nearest neighbors of the query points in a given radius.
|
| |
| void | setNumberOfThreads (unsigned int nr_threads) |
| | Set the number of threads to use for searching over multiple points or indices.
|
| |
template<typename
PointT>
class pcl::search::BruteForce< PointT >
Implementation of a simple brute force search algorithm.
- Author
- Suat Gedikli
Definition at line 52 of file brute_force.h.