Point Cloud Library (PCL)
1.11.1-dev
|
43 #include <pcl/registration/transformation_estimation.h>
44 #include <pcl/registration/warp_point_rigid.h>
48 namespace registration {
57 template <
typename Po
intSource,
typename Po
intTarget,
typename MatScalar =
float>
71 shared_ptr<TransformationEstimationLM<PointSource, PointTarget, MatScalar>>;
73 shared_ptr<const TransformationEstimationLM<PointSource, PointTarget, MatScalar>>;
75 using VectorX = Eigen::Matrix<MatScalar, Eigen::Dynamic, 1>;
76 using Vector4 = Eigen::Matrix<MatScalar, 4, 1>;
117 Matrix4& transformation_matrix)
const override;
127 const std::vector<int>& indices_src,
129 Matrix4& transformation_matrix)
const override;
141 const std::vector<int>& indices_src,
143 const std::vector<int>& indices_tgt,
144 Matrix4& transformation_matrix)
const override;
156 Matrix4& transformation_matrix)
const override;
181 Vector4 s(p_src.x, p_src.y, p_src.z, 0);
182 Vector4 t(p_tgt.x, p_tgt.y, p_tgt.z, 0);
183 return ((s - t).norm());
197 Vector4 t(p_tgt.x, p_tgt.y, p_tgt.z, 0);
198 return ((p_src - t).norm());
222 template <
typename _Scalar,
int NX = Eigen::Dynamic,
int NY = Eigen::Dynamic>
226 using InputType = Eigen::Matrix<_Scalar, InputsAtCompileTime, 1>;
227 using ValueType = Eigen::Matrix<_Scalar, ValuesAtCompileTime, 1>;
229 Eigen::Matrix<_Scalar, ValuesAtCompileTime, InputsAtCompileTime>;
348 #include <pcl/registration/impl/transformation_estimation_lm.hpp>
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< const ::pcl::PointIndices > ConstPtr
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
shared_ptr< ::pcl::PointIndices > Ptr
shared_ptr< PointCloud< PointSource > > Ptr
shared_ptr< const PointCloud< PointSource > > ConstPtr
std::vector< pcl::Correspondence, Eigen::aligned_allocator< pcl::Correspondence > > Correspondences
Defines functions, macros and traits for allocating and using memory.
shared_ptr< WarpPointRigid< PointSourceT, PointTargetT, Scalar > > Ptr