3#include <pcl/search/octree.h>
4#include <pcl/tracking/nearest_pair_point_cloud_coherence.h>
13template <
typename Po
intInT>
56#ifdef PCL_NO_PRECOMPILE
57#include <pcl/tracking/impl/approx_nearest_pair_point_cloud_coherence.hpp>
Iterator class for point clouds with or without given indices.
ApproxNearestPairPointCloudCoherence computes coherence between two pointclouds using the approximate...
pcl::search::Octree< PointInT >::Ptr search_
bool initCompute() override
This method should get called before starting the actual computation.
typename NearestPairPointCloudCoherence< PointInT >::PointCloudInConstPtr PointCloudInConstPtr
typename NearestPairPointCloudCoherence< PointInT >::PointCoherencePtr PointCoherencePtr
void computeCoherence(const PointCloudInConstPtr &cloud, const IndicesConstPtr &indices, float &w_j) override
compute the nearest pairs and compute coherence using point_coherences_
ApproxNearestPairPointCloudCoherence()
empty constructor
NearestPairPointCloudCoherence computes coherence between two pointclouds using the nearest point pai...
bool new_target_
A flag which is true if target_input_ is updated.
typename PointCloudCoherence< PointInT >::PointCoherencePtr PointCoherencePtr
typename PointCloudCoherence< PointInT >::PointCloudInConstPtr PointCloudInConstPtr
double maximum_distance_
max of distance for points to be taken into account
PointCloudInConstPtr target_input_
a pointer to target point cloud
const std::string & getClassName() const
Get a string representation of the name of this class.
std::string coherence_name_
The coherence name.
std::vector< PointCoherencePtr > point_coherences_
a list of pointers to PointCoherence.
shared_ptr< const Indices > IndicesConstPtr