Point Cloud Library (PCL)
1.11.0
|
44 #include <pcl/point_cloud.h>
53 template <
typename Po
intT>
61 using Ptr = shared_ptr<Comparator<PointT> >;
62 using ConstPtr = shared_ptr<const Comparator<PointT> >;
85 virtual PointCloudConstPtr
97 compare (
int idx1,
int idx2)
const = 0;
virtual bool compare(int idx1, int idx2) const =0
Compares the two points in the input cloud designated by these two indices.
Defines all the PCL and non-PCL macros used.
virtual ~Comparator()
Empty destructor for comparator.
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< const Comparator< PointT > > ConstPtr
typename PointCloud::Ptr PointCloudPtr
virtual void setInputCloud(const PointCloudConstPtr &cloud)
Set the input cloud for the comparator.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
Comparator is the base class for comparators that compare two points given some function.
typename PointCloud::ConstPtr PointCloudConstPtr
shared_ptr< PointCloud< PointT > > Ptr
Comparator()
Empty constructor for comparator.
shared_ptr< const PointCloud< PointT > > ConstPtr
PointCloudConstPtr input_
shared_ptr< Comparator< PointT > > Ptr
virtual PointCloudConstPtr getInputCloud() const
Get the input cloud this comparator operates on.
Defines functions, macros and traits for allocating and using memory.