Point Cloud Library (PCL)
1.10.1
|
43 #include <pcl/registration/correspondence_rejection.h>
44 #include <pcl/point_cloud.h>
48 namespace registration
73 : median_distance_ (0)
76 rejection_name_ =
"CorrespondenceRejectorMedianDistance";
95 template <
typename Po
intT>
inline void
107 template <
typename Po
intT>
inline void
110 PCL_WARN (
"[pcl::registration::%s::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead.\n", getClassName ().c_str ());
111 if (!data_container_)
120 template <
typename Po
intT>
inline void
123 if (!data_container_)
139 setInputSource<PointXYZ> (cloud);
153 setInputTarget<PointXYZ> (cloud);
163 template <
typename Po
intT>
inline void
165 bool force_no_recompute =
false)
168 (data_container_)->setSearchMethodTarget (tree, force_no_recompute );
190 getRemainingCorrespondences (*input_correspondences_, correspondences);
210 #include <pcl/registration/impl/correspondence_rejection_median_distance.hpp>
shared_ptr< CorrespondenceRejector > Ptr
This file defines compatibility wrappers for low level I/O functions.
shared_ptr< const CorrespondenceRejector > ConstPtr
const std::string & getClassName() const
Get a string representation of the name of this class.
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< KdTree< PointT, Tree > > Ptr
shared_ptr< DataContainerInterface > Ptr
shared_ptr< const ::pcl::PCLPointCloud2 > ConstPtr
DataContainer is a container for the input and target point clouds and implements the interface to co...
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< const PointCloud< PointT > > ConstPtr
std::vector< pcl::Correspondence, Eigen::aligned_allocator< pcl::Correspondence > > Correspondences
CorrespondencesConstPtr input_correspondences_
The input correspondences.
std::string rejection_name_
The name of the rejection method.
CorrespondenceRejector represents the base class for correspondence rejection methods
void fromPCLPointCloud2(const pcl::PCLPointCloud2 &msg, pcl::PointCloud< PointT > &cloud, const MsgFieldMap &field_map)
Convert a PCLPointCloud2 binary data blob into a pcl::PointCloud<T> object using a field_map.
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.