DGtal
0.6.devel
Main Page
Related Pages
Modules
Namespaces
Data Structures
Examples
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
src
DGtal
geometry
curves
estimation
BLUELocalLengthEstimator.h
1
17
#pragma once
18
34
#if defined(BLUELocalLengthEstimator_RECURSES)
35
#error Recursive header files inclusion detected in BLUELocalLengthEstimator.h
36
#else // defined(BLUELocalLengthEstimator_RECURSES)
37
38
#define BLUELocalLengthEstimator_RECURSES
39
40
#if !defined BLUELocalLengthEstimator_h
41
42
#define BLUELocalLengthEstimator_h
43
45
// Inclusions
46
#include <iostream>
47
#include "DGtal/base/Common.h"
48
#include "DGtal/geometry/curves/estimation/TwoStepLocalLengthEstimator.h"
50
51
namespace
DGtal
52
{
53
55
// template class BLUELocalLengthEstimator
68
template
<
typename
TConstIterator>
69
class
BLUELocalLengthEstimator
:
public
DGtal::TwoStepLocalLengthEstimator
<TConstIterator>
70
{
71
// ----------------------- Standard services ------------------------------
72
public
:
73
74
76
typedef
TConstIterator
ConstIterator
;
77
typedef
double
Quantity
;
78
79
83
BLUELocalLengthEstimator
():
84
TwoStepLocalLengthEstimator
<TConstIterator>(0.948,1.343)
85
{}
86
87
88
89
// ----------------------- Interface --------------------------------------
90
public
:
91
96
void
selfDisplay
( std::ostream & out )
const
97
{
98
out <<
"[BLUELocalLengthEstimator]"
;
99
if
(this->
myIsInitBefore
)
100
out <<
" myH="
<< this->
myH
;
101
else
102
out<<
" not initialized"
;
103
}
104
105
106
private
:
107
113
BLUELocalLengthEstimator
(
const
BLUELocalLengthEstimator
& other );
114
121
BLUELocalLengthEstimator
&
operator=
(
const
BLUELocalLengthEstimator
& other );
122
123
// ------------------------- Internals ------------------------------------
124
private
:
125
126
};
// end of class BLUELocalLengthEstimator
127
128
135
template
<
typename
T>
136
std::ostream&
137
operator<< ( std::ostream & out, const BLUELocalLengthEstimator<T> & object );
138
139
}
// namespace DGtal
140
141
// //
143
144
#endif // !defined BLUELocalLengthEstimator_h
145
146
#undef BLUELocalLengthEstimator_RECURSES
147
#endif // else defined(BLUELocalLengthEstimator_RECURSES)
Generated on Wed Dec 19 2012 19:10:19 for DGtal by
1.8.1.1