DGtal  0.9.4beta
Public Types | Public Member Functions
DGtal::deprecated::ConstantConvolutionWeights< TDistance > Class Template Reference

#include <DGtal/geometry/surfaces/estimation/BasicConvolutionWeights.h>

Public Types

typedef TDistance Distance
 

Public Member Functions

double operator() (const Distance &) const
 

Detailed Description

template<typename TDistance>
class DGtal::deprecated::ConstantConvolutionWeights< TDistance >

Aim: implement a trivial constant convolution kernel which returns 1 to each distance.

Description of template class 'ConstantConvolutionWeights'

Warning
moved to deprecated since 0.7. Please consider using LocalEstimatorFromFunctorAdapter.
Template Parameters
TDistancetype for topological distances.

Definition at line 67 of file BasicConvolutionWeights.h.

Member Typedef Documentation

template<typename TDistance>
typedef TDistance DGtal::deprecated::ConstantConvolutionWeights< TDistance >::Distance

Inner type.

Definition at line 73 of file BasicConvolutionWeights.h.

Member Function Documentation

template<typename TDistance>
double DGtal::deprecated::ConstantConvolutionWeights< TDistance >::operator() ( const Distance ) const
inline
Returns
1.0 whatever the distance is.

Definition at line 80 of file BasicConvolutionWeights.h.

81  {
82  return 1.0;
83  }

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