Public Types | Public Member Functions | Static Public Attributes

DGtal::SeparableMetricTraits< Size, TValueType, 2 > Struct Template Reference

#include <SeparableMetricTraits.h>

Public Types

typedef TValueType ValueType
typedef ValueType InternalValueType

Public Member Functions

ValueType operator() (const InternalValueType &aInternalValue) const
InternalValueType F (const Size pos, const Size ci, const InternalValueType hi) const
Size Sep (const Size i, const InternalValueType hi, const Size j, const InternalValueType hj) const
InternalValueType power (const Size i) const

Static Public Attributes

static const DGtal::uint32_t p = 2

Detailed Description

template<typename Size, typename TValueType>
struct DGtal::SeparableMetricTraits< Size, TValueType, 2 >

L_2 specialization


Member Typedef Documentation

template<typename Size , typename TValueType >
typedef ValueType DGtal::SeparableMetricTraits< Size, TValueType, 2 >::InternalValueType
template<typename Size , typename TValueType >
typedef TValueType DGtal::SeparableMetricTraits< Size, TValueType, 2 >::ValueType

Member Function Documentation

template<typename Size , typename TValueType >
InternalValueType DGtal::SeparableMetricTraits< Size, TValueType, 2 >::F ( const Size  pos,
const Size  ci,
const InternalValueType  hi 
) const [inline]
template<typename Size , typename TValueType >
ValueType DGtal::SeparableMetricTraits< Size, TValueType, 2 >::operator() ( const InternalValueType aInternalValue  )  const [inline]
template<typename Size , typename TValueType >
InternalValueType DGtal::SeparableMetricTraits< Size, TValueType, 2 >::power ( const Size  i  )  const [inline]
template<typename Size , typename TValueType >
Size DGtal::SeparableMetricTraits< Size, TValueType, 2 >::Sep ( const Size  i,
const InternalValueType  hi,
const Size  j,
const InternalValueType  hj 
) const [inline]

Field Documentation

template<typename Size , typename TValueType >
const DGtal::uint32_t DGtal::SeparableMetricTraits< Size, TValueType, 2 >::p = 2 [static]

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