DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
TrueGlobalEstimatorOnPoints.h
1
16
17
#pragma once
18
33
34
#if defined(TrueGlobalEstimatorOnPoints_RECURSES)
35
#error Recursive header files inclusion detected in TrueGlobalEstimatorOnPoints
36
#else
// defined(TrueGlobalEstimatorOnPoints_RECURSES)
38
#define TrueGlobalEstimatorOnPoints_RECURSES
39
40
#if !defined TrueGlobalEstimatorOnPoints_h
42
#define TrueGlobalEstimatorOnPoints_h
43
45
// Inclusions
46
#include <iostream>
47
#include <list>
48
49
#include "DGtal/base/Exceptions.h"
50
#include "DGtal/base/Common.h"
52
53
namespace
DGtal
54
{
56
// template class TrueGlobalEstimatorOnPoints
68
template
<
typename
TConstIteratorOnPoints,
69
typename
TParametricShape,
70
typename
TParametricShapeFunctor>
71
class
TrueGlobalEstimatorOnPoints
72
{
73
74
// ----------------------- Types ------------------------------
75
public
:
76
77
typedef
TConstIteratorOnPoints
ConstIterator
;
78
79
typedef
TParametricShape
ParametricShape
;
80
typedef
typename
ParametricShape::RealPoint
RealPoint
;
81
82
typedef
TParametricShapeFunctor
ParametricShapeFunctor
;
83
typedef
typename
ParametricShapeFunctor::Quantity
Quantity
;
84
85
86
// ----------------------- Standard services ------------------------------
87
public
:
88
92
TrueGlobalEstimatorOnPoints
();
93
97
~TrueGlobalEstimatorOnPoints
();
98
102
TrueGlobalEstimatorOnPoints
(
const
TrueGlobalEstimatorOnPoints
& ) =
delete
;
103
107
TrueGlobalEstimatorOnPoints
&
operator=
(
const
TrueGlobalEstimatorOnPoints
& ) =
delete
;
108
109
// ----------------------- Interface --------------------------------------
110
public
:
111
116
void
attach
(
const
ParametricShape
& aShape);
117
122
Quantity
eval
()
const
;
123
131
Quantity
eval
(
const
ConstIterator
& itb,
132
const
ConstIterator
& ite,
133
const
double
h = 1.)
const
;
134
139
bool
isValid
()
const
;
140
141
// ------------------------- Private Data --------------------------------
142
private
:
143
145
const
ParametricShapeFunctor
*
myFunctorPtr
;
146
147
};
// end of class TrueGlobalEstimatorOnPoints
148
149
}
// namespace DGtal
150
151
153
// Includes inline functions.
154
#include "DGtal/geometry/curves/estimation/TrueGlobalEstimatorOnPoints.ih"
155
156
// //
158
159
#endif
// !defined TrueGlobalEstimatorOnPoints_h
160
161
#undef TrueGlobalEstimatorOnPoints_RECURSES
162
#endif
// else defined(TrueGlobalEstimatorOnPoints_RECURSES)
DGtal::TrueGlobalEstimatorOnPoints::TrueGlobalEstimatorOnPoints
TrueGlobalEstimatorOnPoints(const TrueGlobalEstimatorOnPoints &)=delete
DGtal::TrueGlobalEstimatorOnPoints::eval
Quantity eval() const
DGtal::TrueGlobalEstimatorOnPoints::Quantity
ParametricShapeFunctor::Quantity Quantity
Definition
TrueGlobalEstimatorOnPoints.h:83
DGtal::TrueGlobalEstimatorOnPoints::ParametricShape
TParametricShape ParametricShape
Definition
TrueGlobalEstimatorOnPoints.h:79
DGtal::TrueGlobalEstimatorOnPoints::ConstIterator
TConstIteratorOnPoints ConstIterator
Definition
TrueGlobalEstimatorOnPoints.h:77
DGtal::TrueGlobalEstimatorOnPoints::RealPoint
ParametricShape::RealPoint RealPoint
Definition
TrueGlobalEstimatorOnPoints.h:80
DGtal::TrueGlobalEstimatorOnPoints::myFunctorPtr
const ParametricShapeFunctor * myFunctorPtr
Parametric quantity functor.
Definition
TrueGlobalEstimatorOnPoints.h:145
DGtal::TrueGlobalEstimatorOnPoints::attach
void attach(const ParametricShape &aShape)
DGtal::TrueGlobalEstimatorOnPoints::operator=
TrueGlobalEstimatorOnPoints & operator=(const TrueGlobalEstimatorOnPoints &)=delete
DGtal::TrueGlobalEstimatorOnPoints::TrueGlobalEstimatorOnPoints
TrueGlobalEstimatorOnPoints()
DGtal::TrueGlobalEstimatorOnPoints::isValid
bool isValid() const
DGtal::TrueGlobalEstimatorOnPoints::~TrueGlobalEstimatorOnPoints
~TrueGlobalEstimatorOnPoints()
DGtal::TrueGlobalEstimatorOnPoints::eval
Quantity eval(const ConstIterator &itb, const ConstIterator &ite, const double h=1.) const
DGtal::TrueGlobalEstimatorOnPoints::ParametricShapeFunctor
TParametricShapeFunctor ParametricShapeFunctor
Definition
TrueGlobalEstimatorOnPoints.h:82
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
src
DGtal
geometry
curves
estimation
TrueGlobalEstimatorOnPoints.h
Generated on
for DGtal by
1.18.0