Point Cloud Library (PCL)  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
pcl::registration::DataContainer< PointT, NormalT > Class Template Reference

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>

Inheritance diagram for pcl::registration::DataContainer< PointT, NormalT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::registration::DataContainer< PointT, NormalT >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DataContainer ()
 Empty constructor.
void setInputCloud (const PointCloudConstPtr &cloud)
 Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
void setInputTarget (const PointCloudConstPtr &target)
 Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
void setInputNormals (const NormalsPtr &normals)
 Set the normals computed on the input point cloud.
void setTargetNormals (const NormalsPtr &normals)
 Set the normals computed on the target point cloud.
NormalsPtr getInputNormals ()
 Get the normals computed on the input point cloud.
NormalsPtr 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.

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 158 of file correspondence_rejection.h.


Constructor & Destructor Documentation

template<typename PointT , typename NormalT = pcl::PointNormal>
pcl::registration::DataContainer< PointT, NormalT >::DataContainer ( ) [inline]

Empty constructor.

Definition at line 167 of file correspondence_rejection.h.


Member Function Documentation

template<typename PointT , typename NormalT = pcl::PointNormal>
double pcl::registration::DataContainer< PointT, NormalT >::getCorrespondenceScore ( int  index) [inline, virtual]

Get the correspondence score for a point in the input cloud.

Parameters:
index]index of the point in the input cloud

Implements pcl::registration::DataContainerInterface.

Definition at line 217 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
double pcl::registration::DataContainer< PointT, NormalT >::getCorrespondenceScore ( const pcl::Correspondence corr) [inline, virtual]

Get the correspondence score for a given pair of correspondent points.

Parameters:
corr]Correspondent points

Implements pcl::registration::DataContainerInterface.

Definition at line 233 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
double pcl::registration::DataContainer< PointT, NormalT >::getCorrespondenceScoreFromNormals ( const pcl::Correspondence corr) [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

Parameters:
[in]corrCorrespondent points

Definition at line 248 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
NormalsPtr pcl::registration::DataContainer< PointT, NormalT >::getInputNormals ( ) [inline]

Get the normals computed on the input point cloud.

Definition at line 207 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
NormalsPtr pcl::registration::DataContainer< PointT, NormalT >::getTargetNormals ( ) [inline]

Get the normals computed on the target point cloud.

Definition at line 211 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
void pcl::registration::DataContainer< PointT, NormalT >::setInputCloud ( const PointCloudConstPtr &  cloud) [inline]

Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.

Parameters:
[in]clouda cloud containing XYZ data

Definition at line 177 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
void pcl::registration::DataContainer< PointT, NormalT >::setInputNormals ( const NormalsPtr &  normals) [inline]

Set the normals computed on the input point cloud.

Parameters:
[in]normalsthe normals computed for the input cloud

Definition at line 197 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
void pcl::registration::DataContainer< PointT, NormalT >::setInputTarget ( const PointCloudConstPtr &  target) [inline]

Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.

Parameters:
[in]targeta cloud containing XYZ data

Definition at line 187 of file correspondence_rejection.h.

template<typename PointT , typename NormalT = pcl::PointNormal>
void pcl::registration::DataContainer< PointT, NormalT >::setTargetNormals ( const NormalsPtr &  normals) [inline]

Set the normals computed on the target point cloud.

Parameters:
[in]normalsthe normals computed for the input cloud

Definition at line 203 of file correspondence_rejection.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines