Point Cloud Library (PCL)
1.7.1
|
DataContainer is a container for the input and target point clouds and implements the interface to compute correspondence scores between correspondent points in the input and target clouds More...
#include <pcl/registration/correspondence_rejection.h>
Public Member Functions | |
DataContainer (bool needs_normals=false) | |
Empty constructor. More... | |
virtual | ~DataContainer () |
Empty destructor. More... | |
PCL_DEPRECATED (void setInputCloud(const PointCloudConstPtr &cloud),"[pcl::registration::DataContainer::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead.") | |
Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. More... | |
PCL_DEPRECATED (PointCloudConstPtr const getInputCloud(),"[pcl::registration::DataContainer::getInputCloud] getInputCloud is deprecated. Please use getInputSource instead.") | |
Get a pointer to the input point cloud dataset target. More... | |
void | setInputSource (const PointCloudConstPtr &cloud) |
Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. More... | |
PointCloudConstPtr const | getInputSource () |
Get a pointer to the input point cloud dataset target. More... | |
void | setInputTarget (const PointCloudConstPtr &target) |
Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance. More... | |
PointCloudConstPtr const | getInputTarget () |
Get a pointer to the input point cloud dataset target. More... | |
void | setSearchMethodTarget (const KdTreePtr &tree, bool force_no_recompute=false) |
Provide a pointer to the search object used to find correspondences in the target cloud. More... | |
void | setInputNormals (const NormalsConstPtr &normals) |
Set the normals computed on the input point cloud. More... | |
NormalsConstPtr | getInputNormals () |
Get the normals computed on the input point cloud. More... | |
void | setTargetNormals (const NormalsConstPtr &normals) |
Set the normals computed on the target point cloud. More... | |
NormalsConstPtr | getTargetNormals () |
Get the normals computed on the target point cloud. More... | |
double | getCorrespondenceScore (int index) |
Get the correspondence score for a point in the input cloud. More... | |
double | getCorrespondenceScore (const pcl::Correspondence &corr) |
Get the correspondence score for a given pair of correspondent points. More... | |
double | getCorrespondenceScoreFromNormals (const pcl::Correspondence &corr) |
Get the correspondence score for a given pair of correspondent points based on the angle betweeen the normals. More... | |
![]() | |
virtual | ~DataContainerInterface () |
DataContainer is a container for the input and target point clouds and implements the interface to compute correspondence scores between correspondent points in the input and target clouds
Definition at line 167 of file correspondence_rejection.h.
|
inline |
Empty constructor.
Definition at line 182 of file correspondence_rejection.h.
|
inlinevirtual |
Empty destructor.
Definition at line 198 of file correspondence_rejection.h.
|
inlinevirtual |
Get the correspondence score for a point in the input cloud.
[in] | index | index of the point in the input cloud |
Implements pcl::registration::DataContainerInterface.
Definition at line 281 of file correspondence_rejection.h.
|
inlinevirtual |
Get the correspondence score for a given pair of correspondent points.
[in] | corr | Correspondent points |
Implements pcl::registration::DataContainerInterface.
Definition at line 299 of file correspondence_rejection.h.
References pcl::Correspondence::index_match, and pcl::Correspondence::index_query.
|
inline |
Get the correspondence score for a given pair of correspondent points based on the angle betweeen the normals.
The normmals for the in put and target clouds must be set before using this function
[in] | corr | Correspondent points |
Definition at line 314 of file correspondence_rejection.h.
References pcl::Correspondence::index_match, and pcl::Correspondence::index_query.
|
inline |
Get the normals computed on the input point cloud.
Definition at line 265 of file correspondence_rejection.h.
|
inline |
Get a pointer to the input point cloud dataset target.
Definition at line 221 of file correspondence_rejection.h.
|
inline |
Get a pointer to the input point cloud dataset target.
Definition at line 236 of file correspondence_rejection.h.
|
inline |
Get the normals computed on the target point cloud.
Definition at line 275 of file correspondence_rejection.h.
pcl::registration::DataContainer< PointT, NormalT >::PCL_DEPRECATED | ( | void | setInputCloudconst PointCloudConstPtr &cloud, |
" setInputCloud is deprecated. Please use setInputSource instead." | [pcl::registration::DataContainer::setInputCloud] | ||
) |
Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
[in] | cloud | a cloud containing XYZ data |
pcl::registration::DataContainer< PointT, NormalT >::PCL_DEPRECATED | ( | PointCloudConstPtr const | getInputCloud(), |
" getInputCloud is deprecated. Please use getInputSource instead." | [pcl::registration::DataContainer::getInputCloud] | ||
) |
Get a pointer to the input point cloud dataset target.
|
inline |
Set the normals computed on the input point cloud.
[in] | normals | the normals computed for the input cloud |
Definition at line 261 of file correspondence_rejection.h.
|
inline |
Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
[in] | cloud | a cloud containing XYZ data |
Definition at line 214 of file correspondence_rejection.h.
|
inline |
Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
[in] | target | a cloud containing XYZ data |
Definition at line 228 of file correspondence_rejection.h.
|
inline |
Provide a pointer to the search object used to find correspondences in the target cloud.
[in] | tree | a pointer to the spatial search object. |
[in] | force_no_recompute | If set to true, this tree will NEVER be recomputed, regardless of calls to setInputTarget. Only use if you are confident that the tree will be set correctly. |
Definition at line 246 of file correspondence_rejection.h.
|
inline |
Set the normals computed on the target point cloud.
[in] | normals | the normals computed for the input cloud |
Definition at line 271 of file correspondence_rejection.h.