Point Cloud Library (PCL)
1.10.1
|
3 #include <pcl/pcl_base.h>
15 template <
typename Po
intInT>
34 compute (PointInT &source, PointInT &target);
49 inline const std::string&
58 template <
typename Po
intInT>
82 inline std::vector<PointCoherencePtr>
114 inline const std::string&
131 #include <pcl/tracking/impl/coherence.hpp>
This file defines compatibility wrappers for low level I/O functions.
virtual ~PointCoherence()
empty distructor
PointCloudInConstPtr target_input_
a pointer to target point cloud
shared_ptr< const PointCloudCoherence< PointInT > > ConstPtr
double calcPointCoherence(PointInT &source, PointInT &target)
virtual bool initCompute()
This method should get called before starting the actual computation.
double compute(PointInT &source, PointInT &target)
compute coherence from the source point to the target point.
shared_ptr< const Indices > IndicesConstPtr
virtual void computeCoherence(const PointCloudInConstPtr &cloud, const IndicesConstPtr &indices, float &w_j)=0
Abstract method to compute coherence.
shared_ptr< PointCoherence< PointInT > > Ptr
typename PointCoherence< PointInT >::Ptr PointCoherencePtr
typename PointCloudIn::Ptr PointCloudInPtr
std::string coherence_name_
The coherence name.
virtual double computeCoherence(PointInT &source, PointInT &target)=0
abstract method to calculate coherence.
const std::string & getClassName() const
Get a string representation of the name of this class.
PointCoherence()
empty constructor
std::vector< PointCoherencePtr > getPointCoherences()
get a list of pcl::tracking::PointCoherence.
shared_ptr< const PointCoherence< PointInT > > ConstPtr
void addPointCoherence(PointCoherencePtr coherence)
add a PointCoherence to the PointCloudCoherence.
const std::string & getClassName() const
Get a string representation of the name of this class.
typename PointCloudIn::ConstPtr PointCloudInConstPtr
std::string coherence_name_
The coherence name.
shared_ptr< PointCloud< PointInT > > Ptr
void setPointCoherences(std::vector< PointCoherencePtr > coherences)
set a list of pcl::tracking::PointCoherence.
virtual ~PointCloudCoherence()
Destructor.
PointCloudCoherence is a base class to compute coherence between the two PointClouds.
PointCoherence is a base class to compute coherence between the two points.
shared_ptr< const PointCloud< PointInT > > ConstPtr
shared_ptr< PointCloudCoherence< PointInT > > Ptr
void compute(const PointCloudInConstPtr &cloud, const IndicesConstPtr &indices, float &w_i)
compute coherence between two pointclouds.
std::vector< PointCoherencePtr > point_coherences_
a list of pointers to PointCoherence.
virtual void setTargetCloud(const PointCloudInConstPtr &cloud)
add a PointCoherence to the PointCloudCoherence.
PointCloudCoherence()
Constructor.
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.