31 #if defined(BinomialConvolver_RECURSES)
32 #error Recursive header files inclusion detected in BinomialConvolver.h
33 #else // defined(BinomialConvolver_RECURSES)
35 #define BinomialConvolver_RECURSES
37 #if !defined BinomialConvolver_h
39 #define BinomialConvolver_h
45 #include "DGtal/base/Common.h"
46 #include "DGtal/math/Signal.h"
72 template <
typename TConstIteratorOnPo
ints,
typename TValue =
double>
79 typedef typename ConstIteratorOnPoints::value_type
Point;
101 void setSize(
unsigned int n );
107 unsigned int size()
const;
128 void init(
const double h,
131 const bool isClosed );
150 std::pair<Value,Value>
x(
int i )
const;
158 std::pair<Value,Value>
dx(
int i )
const;
166 std::pair<Value,Value>
d2x(
int i )
const;
174 std::pair<Value,Value>
tangent(
int i )
const;
258 template <
typename TBinomialConvolver,
typename TRealPo
int>
289 template <
typename TBinomialConvolver,
typename TReal>
321 template <
typename TBinomialConvolver,
typename TBinomialConvolverFunctor>
329 typedef typename BinomialConvolverFunctor::Value
Value;
343 void init(
const double h,
346 const bool isClosed);
357 template <
typename OutputIterator>
360 OutputIterator result );
376 template <
typename TConstIteratorOnPo
ints,
typename TValue >
386 #include "DGtal/geometry/curves/BinomialConvolver.ih"
391 #endif // !defined BinomialConvolver_h
393 #undef BinomialConvolver_RECURSES
394 #endif // else defined(BinomialConvolver_RECURSES)