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.
|
| virtual | ~DataContainer () |
| | Empty destructor.
|
| | 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.
|
| | 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.
|
| void | setInputSource (const PointCloudConstPtr &cloud) |
| | Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
|
| PointCloudConstPtr const | getInputSource () |
| | Get a pointer to the input point cloud dataset target.
|
| void | setInputTarget (const PointCloudConstPtr &target) |
| | Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
|
| PointCloudConstPtr const | getInputTarget () |
| | Get a pointer to the input point cloud dataset target.
|
| 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.
|
| void | setInputNormals (const NormalsConstPtr &normals) |
| | Set the normals computed on the input point cloud.
|
| NormalsConstPtr | getInputNormals () |
| | Get the normals computed on the input point cloud.
|
| void | setTargetNormals (const NormalsConstPtr &normals) |
| | Set the normals computed on the target point cloud.
|
| NormalsConstPtr | getTargetNormals () |
| | Get the normals computed on the target point cloud.
|
| double | getCorrespondenceScore (int index) |
| | Get the correspondence score for a point in the input cloud.
|
| double | getCorrespondenceScore (const pcl::Correspondence &corr) |
| | Get the correspondence score for a given pair of correspondent points.
|
| double | getCorrespondenceScoreFromNormals (const pcl::Correspondence &corr) |
| | Get the correspondence score for a given pair of correspondent points based on the angle betweeen the normals.
|
| virtual | ~DataContainerInterface () |
Detailed Description
template<typename PointT, typename NormalT = pcl::PointNormal>
class pcl::registration::DataContainer< PointT, NormalT >
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.
Constructor & Destructor Documentation
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
Member Function Documentation
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
template<typename PointT, typename NormalT = pcl::PointNormal>
Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
- Parameters
-
| [in] | cloud | a cloud containing XYZ data |
template<typename PointT, typename NormalT = pcl::PointNormal>
Get a pointer to the input point cloud dataset target.
template<typename PointT, typename NormalT = pcl::PointNormal>
Set the normals computed on the input point cloud.
- Parameters
-
| [in] | normals | the normals computed for the input cloud |
Definition at line 261 of file correspondence_rejection.h.
template<typename PointT, typename NormalT = pcl::PointNormal>
Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
- Parameters
-
| [in] | cloud | a cloud containing XYZ data |
Definition at line 214 of file correspondence_rejection.h.
template<typename PointT, typename NormalT = pcl::PointNormal>
Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
- Parameters
-
| [in] | target | a cloud containing XYZ data |
Definition at line 228 of file correspondence_rejection.h.
template<typename PointT, typename NormalT = pcl::PointNormal>
Provide a pointer to the search object used to find correspondences in the target cloud.
- Parameters
-
| [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.
template<typename PointT, typename NormalT = pcl::PointNormal>
Set the normals computed on the target point cloud.
- Parameters
-
| [in] | normals | the normals computed for the input cloud |
Definition at line 271 of file correspondence_rejection.h.
The documentation for this class was generated from the following file: