40 #include <pcl/registration/registration.h>
41 #include <pcl/point_cloud.h>
44 namespace registration {
74 template <
typename Po
intT,
typename Scalar =
float>
97 const Matrix4& delta_estimate = Matrix4::Identity());
131 #include <pcl/registration/impl/incremental_registration.hpp>
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< const PointCloud< PointT > > ConstPtr
shared_ptr< Registration< PointSource, PointTarget, Scalar > > Ptr
Eigen::Matrix< Scalar, 4, 4 > Matrix4
Incremental IterativeClosestPoint class.
void setRegistration(RegistrationPtr)
Set registration instance used to align clouds.
RegistrationPtr registration_
registration instance to align clouds
bool registerCloud(const PointCloudConstPtr &cloud, const Matrix4 &delta_estimate=Matrix4::Identity())
Register new point cloud incrementally.
Matrix4 getDeltaTransform() const
Get estimated transform between the last two registered clouds.
Matrix4 getAbsoluteTransform() const
Get estimated overall transform.
typename pcl::PointCloud< PointT >::ConstPtr PointCloudConstPtr
typename pcl::PointCloud< PointT >::Ptr PointCloudPtr
typename pcl::Registration< PointT, PointT, Scalar >::Ptr RegistrationPtr
void reset()
Reset incremental Registration without resetting registration_.
PointCloudConstPtr last_cloud_
last registered point cloud
IncrementalRegistration()
virtual ~IncrementalRegistration()=default
Empty destructor.
typename pcl::Registration< PointT, PointT, Scalar >::Matrix4 Matrix4
Matrix4 delta_transform_
estimated transforms
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.