|
Point Cloud Library (PCL)
1.6.0
|
Keypoint represents the base class for key points. More...
#include <pcl/keypoints/keypoint.h>


Public Types | |
| typedef PCLBase< PointInT > | BaseClass |
| typedef pcl::search::Search < PointInT > | KdTree |
| typedef pcl::search::Search < PointInT >::Ptr | KdTreePtr |
| typedef pcl::PointCloud< PointInT > | PointCloudIn |
| typedef PointCloudIn::Ptr | PointCloudInPtr |
| typedef PointCloudIn::ConstPtr | PointCloudInConstPtr |
| typedef pcl::PointCloud < PointOutT > | PointCloudOut |
| typedef boost::function< int(int, double, std::vector< int > &, std::vector< float > &)> | SearchMethod |
| typedef boost::function< int(const PointCloudIn &cloud, int index, double, std::vector< int > &, std::vector< float > &)> | SearchMethodSurface |
| typedef pcl::PointCloud< PointInT > | PointCloud |
| typedef PointCloud::Ptr | PointCloudPtr |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef PointIndices::Ptr | PointIndicesPtr |
| typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
| Keypoint () | |
| Empty constructor. More... | |
| virtual void | setSearchSurface (const PointCloudInConstPtr &cloud) |
| Provide a pointer to the input dataset that we need to estimate features at every point for. More... | |
| PointCloudInConstPtr | getSearchSurface () |
| Get a pointer to the surface point cloud dataset. More... | |
| void | setSearchMethod (const KdTreePtr &tree) |
| Provide a pointer to the search object. More... | |
| KdTreePtr | getSearchMethod () |
| Get a pointer to the search method used. More... | |
| double | getSearchParameter () |
| Get the internal search parameter. More... | |
| void | setKSearch (int k) |
| Set the number of k nearest neighbors to use for the feature estimation. More... | |
| int | getKSearch () |
| get the number of k nearest neighbors used for the feature estimation. More... | |
| void | setRadiusSearch (double radius) |
| Set the sphere radius that is to be used for determining the nearest neighbors used for the key point detection. More... | |
| double | getRadiusSearch () |
| Get the sphere radius used for determining the neighbors. More... | |
| void | compute (PointCloudOut &output) |
| Base method for key point detection for all points given in <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in setSearchMethod () More... | |
| int | searchForNeighbors (int index, double parameter, std::vector< int > &indices, std::vector< float > &distances) const |
| Search for k-nearest neighbors using the spatial locator from setSearchmethod, and the given surface from setSearchSurface. More... | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. More... | |
| PointCloudConstPtr const | getInputCloud () |
| Get a pointer to the input point cloud dataset. More... | |
| void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More... | |
| void | setIndices (const IndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More... | |
| void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More... | |
| void | setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
| Set the indices for the points laying within an interest region of the point cloud. More... | |
| IndicesPtr const | getIndices () |
| Get a pointer to the vector of indices used. More... | |
| const PointInT & | operator[] (size_t pos) |
| Override PointCloud operator[] to shorten code. More... | |
Keypoint represents the base class for key points.
Definition at line 55 of file keypoint.h.
| typedef PCLBase<PointInT> pcl::Keypoint< PointInT, PointOutT >::BaseClass |
Definition at line 61 of file keypoint.h.
| typedef pcl::search::Search<PointInT> pcl::Keypoint< PointInT, PointOutT >::KdTree |
Definition at line 62 of file keypoint.h.
| typedef pcl::search::Search<PointInT>::Ptr pcl::Keypoint< PointInT, PointOutT >::KdTreePtr |
Definition at line 63 of file keypoint.h.
|
inherited |
Definition at line 74 of file pcl_base.h.
|
inherited |
Definition at line 76 of file pcl_base.h.
| typedef pcl::PointCloud<PointInT> pcl::Keypoint< PointInT, PointOutT >::PointCloudIn |
Definition at line 64 of file keypoint.h.
| typedef PointCloudIn::ConstPtr pcl::Keypoint< PointInT, PointOutT >::PointCloudInConstPtr |
Definition at line 66 of file keypoint.h.
| typedef PointCloudIn::Ptr pcl::Keypoint< PointInT, PointOutT >::PointCloudInPtr |
Definition at line 65 of file keypoint.h.
| typedef pcl::PointCloud<PointOutT> pcl::Keypoint< PointInT, PointOutT >::PointCloudOut |
Definition at line 67 of file keypoint.h.
|
inherited |
Definition at line 75 of file pcl_base.h.
|
inherited |
Definition at line 79 of file pcl_base.h.
|
inherited |
Definition at line 78 of file pcl_base.h.
| typedef boost::function<int (int, double, std::vector<int> &, std::vector<float> &)> pcl::Keypoint< PointInT, PointOutT >::SearchMethod |
Definition at line 68 of file keypoint.h.
| typedef boost::function<int (const PointCloudIn &cloud, int index, double, std::vector<int> &, std::vector<float> &)> pcl::Keypoint< PointInT, PointOutT >::SearchMethodSurface |
Definition at line 69 of file keypoint.h.
|
inline |
Empty constructor.
Definition at line 73 of file keypoint.h.
|
inline |
Base method for key point detection for all points given in <setInputCloud (), setIndices ()> using the surface in setSearchSurface () and the spatial locator in setSearchMethod ()
| output | the resultant point cloud model dataset containing the estimated features |
Definition at line 121 of file keypoint.hpp.
|
inlineinherited |
Get a pointer to the vector of indices used.
Definition at line 190 of file pcl_base.h.
|
inlineinherited |
Get a pointer to the input point cloud dataset.
Definition at line 107 of file pcl_base.h.
|
inline |
get the number of k nearest neighbors used for the feature estimation.
Definition at line 117 of file keypoint.h.
|
inline |
Get the sphere radius used for determining the neighbors.
Definition at line 128 of file keypoint.h.
|
inline |
Get a pointer to the search method used.
Definition at line 103 of file keypoint.h.
|
inline |
Get the internal search parameter.
Definition at line 107 of file keypoint.h.
|
inline |
Get a pointer to the surface point cloud dataset.
Definition at line 93 of file keypoint.h.
|
inlineinherited |
Override PointCloud operator[] to shorten code.
| pos | position in indices_ vector |
Definition at line 197 of file pcl_base.h.
|
inline |
Search for k-nearest neighbors using the spatial locator from setSearchmethod, and the given surface from setSearchSurface.
| index | the index of the query point |
| parameter | the search parameter (either k or radius) |
| indices | the resultant vector of indices representing the k-nearest neighbors |
| distances | the resultant vector of distances representing the distances from the query point to the k-nearest neighbors |
Definition at line 146 of file keypoint.h.
|
inlineinherited |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 113 of file pcl_base.h.
|
inlineinherited |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 124 of file pcl_base.h.
|
inlineinherited |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 135 of file pcl_base.h.
|
inlineinherited |
Set the indices for the points laying within an interest region of the point cloud.
| row_start | the offset on rows |
| col_start | the offset on columns |
| nb_rows | the number of rows to be considered row_start included |
| nb_cols | the number of columns to be considered col_start included |
Definition at line 151 of file pcl_base.h.
|
inlinevirtualinherited |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
Definition at line 103 of file pcl_base.h.
|
inline |
Set the number of k nearest neighbors to use for the feature estimation.
| k | the number of k-nearest neighbors |
Definition at line 113 of file keypoint.h.
|
inline |
Set the sphere radius that is to be used for determining the nearest neighbors used for the key point detection.
| radius | the sphere radius used as the maximum distance to consider a point a neighbor |
Definition at line 124 of file keypoint.h.
|
inline |
Provide a pointer to the search object.
| tree | a pointer to the spatial search object. |
Definition at line 99 of file keypoint.h.
|
inlinevirtual |
Provide a pointer to the input dataset that we need to estimate features at every point for.
| cloud | the const boost shared pointer to a PointCloud message |
Definition at line 89 of file keypoint.h.
1.8.3.1