Public Member Functions | Protected Member Functions | Protected Attributes
pcl::tracking::DistanceCoherence< PointInT > Class Template Reference

DistanceCoherence computes coherence between two points from the distance between them. the coherence is calculated by 1 / (1 + weight * d^2 ). More...

#include <distance_coherence.h>

Inheritance diagram for pcl::tracking::DistanceCoherence< PointInT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DistanceCoherence ()
 initialize the weight to 1.0.
double getWeight ()
 get the weight of coherence.
void setWeight (double weight)
 set the weight of coherence.

Protected Member Functions

double computeCoherence (PointInT &source, PointInT &target)
 return the distance coherence between the two points.

Protected Attributes

double weight_
 the weight of coherence.

Detailed Description

template<typename PointInT>
class pcl::tracking::DistanceCoherence< PointInT >

DistanceCoherence computes coherence between two points from the distance between them. the coherence is calculated by 1 / (1 + weight * d^2 ).

Author:
Ryohei Ueda

Definition at line 16 of file distance_coherence.h.


Constructor & Destructor Documentation

template<typename PointInT >
pcl::tracking::DistanceCoherence< PointInT >::DistanceCoherence ( ) [inline]

initialize the weight to 1.0.

Definition at line 21 of file distance_coherence.h.


Member Function Documentation

template<typename PointInT >
double pcl::tracking::DistanceCoherence< PointInT >::computeCoherence ( PointInT &  source,
PointInT &  target 
) [protected, virtual]

return the distance coherence between the two points.

Parameters:
sourceinstance of source point.
targetinstance of target point.

Implements pcl::tracking::PointCoherence< PointInT >.

Definition at line 12 of file distance_coherence.hpp.

template<typename PointInT >
double pcl::tracking::DistanceCoherence< PointInT >::getWeight ( ) [inline]

get the weight of coherence.

Definition at line 32 of file distance_coherence.h.

template<typename PointInT >
void pcl::tracking::DistanceCoherence< PointInT >::setWeight ( double  weight) [inline]

set the weight of coherence.

Parameters:
weightthe value of the wehgit.

Definition at line 29 of file distance_coherence.h.


Member Data Documentation

template<typename PointInT >
double pcl::tracking::DistanceCoherence< PointInT >::weight_ [protected]

the weight of coherence.

Definition at line 43 of file distance_coherence.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:47:07