Point Cloud Library (PCL)
1.10.1
|
3 #include <boost/shared_ptr.hpp>
5 #include <pcl/tracking/coherence.h>
16 template <
typename Po
intInT>
52 #ifdef PCL_NO_PRECOMPILE
53 #include <pcl/tracking/impl/distance_coherence.hpp>
This file defines compatibility wrappers for low level I/O functions.
double computeCoherence(PointInT &source, PointInT &target) override
return the distance coherence between the two points.
double weight_
the weight of coherence.
shared_ptr< PointCoherence< PointInT > > Ptr
DistanceCoherence()
initialize the weight to 1.0.
shared_ptr< const PointCoherence< PointInT > > ConstPtr
DistanceCoherence computes coherence between two points from the distance between them.
double getWeight()
get the weight of coherence.
PointCoherence is a base class to compute coherence between the two points.
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.
void setWeight(double weight)
set the weight of coherence.