DGtal  1.1.0
CCurveLocalGeometricEstimator.h
1 
17 #pragma once
18 
31 #if defined(CCurveLocalGeometricEstimator_RECURSES)
32 #error Recursive header files inclusion detected in CCurveLocalGeometricEstimator.h
33 #else // defined(CCurveLocalGeometricEstimator_RECURSES)
34 
35 #define CCurveLocalGeometricEstimator_RECURSES
36 
37 #if !defined CCurveLocalGeometricEstimator_h
38 
39 #define CCurveLocalGeometricEstimator_h
40 
42 // Inclusions
43 #include <iostream>
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/CQuantity.h"
46 #include <boost/iterator/iterator_archetypes.hpp>
48 
49 namespace DGtal
50 {
51  namespace concepts
52  {
54  // class CCurveLocalGeometricEstimator
97  template <typename T>
99  {
100 
101  // ----------------------- Concept checks ------------------------------
102  public:
103 
104  typedef typename T::Quantity Quantity;
106 
107  typedef typename T::ConstIterator ConstIterator;
110 
111 
113  {
116  }
117 
118  // ------------------------- Private Datas --------------------------------
119  private:
120  T myX;
121 
122  double myH;
125  boost::iterator_archetype<Quantity,
126  boost::iterator_archetypes::writable_iterator_t,
127  boost::incrementable_traversal_tag > myIto;
128 
129  // ------------------------- Internals ------------------------------------
130  private:
131 
132  }; // end of concept CCurveLocalGeometricEstimator
133  }//namespace concepts
134 } // namespace DGtal
135 
136 // //
138 
139 #endif // !defined CCurveLocalGeometricEstimator_h
140 
141 #undef CCurveLocalGeometricEstimator_RECURSES
142 #endif // else defined(CCurveLocalGeometricEstimator_RECURSES)
DGtal::concepts::CCurveLocalGeometricEstimator::BOOST_CONCEPT_ASSERT
BOOST_CONCEPT_ASSERT((concepts::CQuantity< Quantity >))
DGtal::concepts::CCurveLocalGeometricEstimator
Aim: This concept describes an object that can process a range so as to return one estimated quantity...
Definition: CCurveLocalGeometricEstimator.h:99
DGtal::concepts::CCurveLocalGeometricEstimator::Quantity
T::Quantity Quantity
Definition: CCurveLocalGeometricEstimator.h:104
ConstIterator
MyDigitalSurface::ConstIterator ConstIterator
Definition: greedy-plane-segmentation-ex2.cpp:93
DGtal::concepts::CCurveLocalGeometricEstimator::myH
double myH
Definition: CCurveLocalGeometricEstimator.h:122
DGtal::concepts::CCurveLocalGeometricEstimator::myX
T myX
Definition: CCurveLocalGeometricEstimator.h:120
DGtal::concepts::CCurveLocalGeometricEstimator::myItb
ConstIterator myItb
Definition: CCurveLocalGeometricEstimator.h:123
boost_concepts::ForwardTraversalConcept
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ForwardTraversal.html.
Definition: BoostConcepts.dox:47
DGtal::concepts::CCurveLocalGeometricEstimator::myIto
boost::iterator_archetype< Quantity, boost::iterator_archetypes::writable_iterator_t, boost::incrementable_traversal_tag > myIto
Definition: CCurveLocalGeometricEstimator.h:127
DGtal::concepts::CCurveLocalGeometricEstimator::ConstIterator
T::ConstIterator ConstIterator
Definition: CCurveLocalGeometricEstimator.h:107
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition: ClosedIntegerHalfPlane.h:49
DGtal::concepts::CCurveLocalGeometricEstimator::BOOST_CONCEPT_ASSERT
BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIteratorConcept< ConstIterator >))
DGtal::concepts::CCurveLocalGeometricEstimator::BOOST_CONCEPT_ASSERT
BOOST_CONCEPT_ASSERT((boost_concepts::ForwardTraversalConcept< ConstIterator >))
DGtal::concepts::CCurveLocalGeometricEstimator::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CCurveLocalGeometricEstimator)
Definition: CCurveLocalGeometricEstimator.h:112
DGtal::concepts::ConceptUtils::sameType
void sameType(const T &, const T &)
Definition: ConceptUtils.h:117
DGtal::concepts::CCurveLocalGeometricEstimator::myQ
Quantity myQ
Definition: CCurveLocalGeometricEstimator.h:124
DGtal::concepts::CQuantity
Aim: defines the concept of quantity in DGtal.
Definition: CQuantity.h:93
boost_concepts::ReadableIteratorConcept
Go to http://www.boost.org/doc/libs/1_52_0/libs/iterator/doc/ReadableIterator.html.
Definition: BoostConcepts.dox:29
DGtal::concepts::CCurveLocalGeometricEstimator::myIte
ConstIterator myIte
Definition: CCurveLocalGeometricEstimator.h:123