DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
TrueLocalEstimatorOnPoints.h
1
16
17
#pragma once
18
33
34
#if defined(TrueLocalEstimatorOnPoints_RECURSES)
35
#error Recursive header files inclusion detected in TrueLocalEstimatorOnPoints.h
36
#else
// defined(TrueLocalEstimatorOnPoints_RECURSES)
38
#define TrueLocalEstimatorOnPoints_RECURSES
39
40
#if !defined TrueLocalEstimatorOnPoints_h
42
#define TrueLocalEstimatorOnPoints_h
43
45
// Inclusions
46
#include <iostream>
47
#include "DGtal/base/Common.h"
49
50
namespace
DGtal
51
{
53
// template class TrueLocalEstimatorOnPoints
65
template
<
typename
TConstIteratorOnPoints,
66
typename
TParametricShape,
67
typename
TParametricShapeFunctor>
68
class
TrueLocalEstimatorOnPoints
69
{
70
71
// ----------------------- Types ------------------------------
72
public
:
73
74
typedef
TConstIteratorOnPoints
ConstIterator
;
75
76
typedef
TParametricShape
ParametricShape
;
77
typedef
typename
TParametricShape::RealPoint
RealPoint
;
78
79
typedef
TParametricShapeFunctor
ParametricShapeFunctor
;
80
typedef
typename
ParametricShapeFunctor::Quantity
Quantity
;
81
82
83
// ----------------------- Standard services ------------------------------
84
public
:
85
89
TrueLocalEstimatorOnPoints
();
90
94
~TrueLocalEstimatorOnPoints
();
95
99
TrueLocalEstimatorOnPoints
(
const
TrueLocalEstimatorOnPoints
& ) =
delete
;
100
104
TrueLocalEstimatorOnPoints
&
operator=
(
const
TrueLocalEstimatorOnPoints
& ) =
delete
;
105
106
// ----------------------- Interface --------------------------------------
107
public
:
108
113
void
attach
(
const
ParametricShape
& aShape);
114
121
Quantity
eval
(
const
ConstIterator
& it,
const
double
h = 1.)
const
;
122
131
template
<
typename
OutputIterator>
132
OutputIterator
eval
(
const
ConstIterator
& itb,
133
const
ConstIterator
& ite,
134
OutputIterator result,
135
const
double
h = 1.)
const
;
136
141
bool
isValid
()
const
;
142
143
// ------------------------- Private Data --------------------------------
144
private
:
145
147
const
ParametricShapeFunctor
*
myFunctorPtr
;
148
149
};
// end of class TrueLocalEstimatorOnPoints
150
151
}
// namespace DGtal
152
153
155
// Includes inline functions.
156
#include "DGtal/geometry/curves/estimation/TrueLocalEstimatorOnPoints.ih"
157
158
// //
160
161
#endif
// !defined TrueLocalEstimatorOnPoints_h
162
163
#undef TrueLocalEstimatorOnPoints_RECURSES
164
#endif
// else defined(TrueLocalEstimatorOnPoints_RECURSES)
DGtal::TrueLocalEstimatorOnPoints::ParametricShape
TParametricShape ParametricShape
Definition
TrueLocalEstimatorOnPoints.h:76
DGtal::TrueLocalEstimatorOnPoints::RealPoint
TParametricShape::RealPoint RealPoint
Definition
TrueLocalEstimatorOnPoints.h:77
DGtal::TrueLocalEstimatorOnPoints::eval
OutputIterator eval(const ConstIterator &itb, const ConstIterator &ite, OutputIterator result, const double h=1.) const
DGtal::TrueLocalEstimatorOnPoints::Quantity
ParametricShapeFunctor::Quantity Quantity
Definition
TrueLocalEstimatorOnPoints.h:80
DGtal::TrueLocalEstimatorOnPoints::TrueLocalEstimatorOnPoints
TrueLocalEstimatorOnPoints(const TrueLocalEstimatorOnPoints &)=delete
DGtal::TrueLocalEstimatorOnPoints::ParametricShapeFunctor
TParametricShapeFunctor ParametricShapeFunctor
Definition
TrueLocalEstimatorOnPoints.h:79
DGtal::TrueLocalEstimatorOnPoints::eval
Quantity eval(const ConstIterator &it, const double h=1.) const
DGtal::TrueLocalEstimatorOnPoints::isValid
bool isValid() const
DGtal::TrueLocalEstimatorOnPoints::myFunctorPtr
const ParametricShapeFunctor * myFunctorPtr
Owning pointer on a parametric shape functor.
Definition
TrueLocalEstimatorOnPoints.h:147
DGtal::TrueLocalEstimatorOnPoints::ConstIterator
TConstIteratorOnPoints ConstIterator
Definition
TrueLocalEstimatorOnPoints.h:74
DGtal::TrueLocalEstimatorOnPoints::TrueLocalEstimatorOnPoints
TrueLocalEstimatorOnPoints()
DGtal::TrueLocalEstimatorOnPoints::~TrueLocalEstimatorOnPoints
~TrueLocalEstimatorOnPoints()
DGtal::TrueLocalEstimatorOnPoints::operator=
TrueLocalEstimatorOnPoints & operator=(const TrueLocalEstimatorOnPoints &)=delete
DGtal::TrueLocalEstimatorOnPoints::attach
void attach(const ParametricShape &aShape)
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
src
DGtal
geometry
curves
estimation
TrueLocalEstimatorOnPoints.h
Generated on
for DGtal by
1.18.0