Point Cloud Library (PCL)
1.14.1-dev
|
GraphRegistration class is the base class for graph-based registration methods More...
#include <pcl/registration/graph_registration.h>
Public Types | |
using | GraphHandler = pcl::registration::GraphHandler< GraphT > |
using | GraphHandlerPtr = typename pcl::registration::GraphHandler< GraphT >::Ptr |
using | GraphHandlerConstPtr = typename pcl::registration::GraphHandler< GraphT >::ConstPtr |
using | GraphHandlerVertex = typename pcl::registration::GraphHandler< GraphT >::Vertex |
Public Member Functions | |
GraphRegistration () | |
Empty constructor. More... | |
virtual | ~GraphRegistration ()=default |
Empty destructor. More... | |
template<typename PointT > | |
void | addPointCloud (const typename pcl::PointCloud< PointT >::ConstPtr &cloud, const Eigen::Matrix4f &pose) |
Add a point cloud and the associated camera pose to the graph. More... | |
void | setGraphHandler (GraphHandlerPtr &gh) |
Set the graph handler. More... | |
GraphHandlerPtr | getGraphHandler () |
Get a pointer to the graph handler. More... | |
GraphHandlerConstPtr | getGraphHandler () const |
Get a pointer to the graph handler. More... | |
void | compute () |
Check if new poses have been added, then call the registration method which is implemented by the subclasses. More... | |
Protected Attributes | |
GraphHandlerPtr | graph_handler_ |
The graph handler. More... | |
GraphHandlerVertex | last_aligned_vertex_ |
The last estimated pose. More... | |
std::vector< GraphHandlerVertex > | last_vertices_ |
The vertices added to the graph since the last call to compute. More... | |
GraphRegistration class is the base class for graph-based registration methods
Definition at line 51 of file graph_registration.h.
using pcl::GraphRegistration< GraphT >::GraphHandler = pcl::registration::GraphHandler<GraphT> |
Definition at line 53 of file graph_registration.h.
using pcl::GraphRegistration< GraphT >::GraphHandlerConstPtr = typename pcl::registration::GraphHandler<GraphT>::ConstPtr |
Definition at line 55 of file graph_registration.h.
using pcl::GraphRegistration< GraphT >::GraphHandlerPtr = typename pcl::registration::GraphHandler<GraphT>::Ptr |
Definition at line 54 of file graph_registration.h.
using pcl::GraphRegistration< GraphT >::GraphHandlerVertex = typename pcl::registration::GraphHandler<GraphT>::Vertex |
Definition at line 57 of file graph_registration.h.
|
inline |
Empty constructor.
Definition at line 60 of file graph_registration.h.
|
virtualdefault |
Empty destructor.
|
inline |
Add a point cloud and the associated camera pose to the graph.
Definition at line 72 of file graph_registration.h.
References pcl::GraphRegistration< GraphT >::graph_handler_, and pcl::GraphRegistration< GraphT >::last_vertices_.
|
inline |
Check if new poses have been added, then call the registration method which is implemented by the subclasses.
Definition at line 103 of file graph_registration.h.
References pcl::GraphRegistration< GraphT >::last_aligned_vertex_, and pcl::GraphRegistration< GraphT >::last_vertices_.
|
inline |
Get a pointer to the graph handler.
Definition at line 87 of file graph_registration.h.
References pcl::GraphRegistration< GraphT >::graph_handler_.
|
inline |
Get a pointer to the graph handler.
Definition at line 94 of file graph_registration.h.
References pcl::GraphRegistration< GraphT >::graph_handler_.
|
inline |
Set the graph handler.
Definition at line 80 of file graph_registration.h.
References pcl::GraphRegistration< GraphT >::graph_handler_.
|
protected |
The graph handler.
Definition at line 114 of file graph_registration.h.
Referenced by pcl::GraphRegistration< GraphT >::addPointCloud(), pcl::GraphRegistration< GraphT >::getGraphHandler(), and pcl::GraphRegistration< GraphT >::setGraphHandler().
|
protected |
The last estimated pose.
Definition at line 116 of file graph_registration.h.
Referenced by pcl::GraphRegistration< GraphT >::compute().
|
protected |
The vertices added to the graph since the last call to compute.
Definition at line 118 of file graph_registration.h.
Referenced by pcl::GraphRegistration< GraphT >::addPointCloud(), and pcl::GraphRegistration< GraphT >::compute().