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>
virtual ~IncrementalRegistration()=default
Empty destructor.
shared_ptr< PointCloud< PointT > > Ptr
Matrix4 delta_transform_
estimated transforms
typename pcl::PointCloud< PointT >::Ptr PointCloudPtr
bool registerCloud(const PointCloudConstPtr &cloud, const Matrix4 &delta_estimate=Matrix4::Identity())
Register new point cloud incrementally.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
typename pcl::PointCloud< PointT >::ConstPtr PointCloudConstPtr
Eigen::Matrix< Scalar, 4, 4 > Matrix4
shared_ptr< Registration< PointSource, PointTarget, Scalar >> Ptr
Matrix4 getAbsoluteTransform() const
Get estimated overall transform.
PointCloudConstPtr last_cloud_
last registered point cloud
IncrementalRegistration()
void reset()
Reset incremental Registration without resetting registration_.
RegistrationPtr registration_
registration instance to align clouds
typename pcl::Registration< PointT, PointT, Scalar >::Ptr RegistrationPtr
Incremental IterativeClosestPoint class.
Matrix4 getDeltaTransform() const
Get estimated transform between the last two registered clouds.
shared_ptr< const PointCloud< PointT > > ConstPtr
void setRegistration(RegistrationPtr)
Set registration instance used to align clouds.
typename pcl::Registration< PointT, PointT, Scalar >::Matrix4 Matrix4