3 #include <pcl/tracking/coherence.h> 13 template <
typename Po
intInT>
16 using Ptr = shared_ptr<DistanceCoherence<PointInT>>;
17 using ConstPtr = shared_ptr<const DistanceCoherence<PointInT>>;
52 #ifdef PCL_NO_PRECOMPILE 53 #include <pcl/tracking/impl/distance_coherence.hpp> Defines functions, macros and traits for allocating and using memory.
double getWeight()
get the weight of coherence.
void setWeight(double weight)
set the weight of coherence.
DistanceCoherence()
initialize the weight to 1.0.
shared_ptr< PointCoherence< PointInT > > Ptr
shared_ptr< const PointCoherence< PointInT > > ConstPtr
double computeCoherence(PointInT &source, PointInT &target) override
return the distance coherence between the two points.
PointCoherence is a base class to compute coherence between the two points.
double weight_
the weight of coherence.
DistanceCoherence computes coherence between two points from the distance between them...