DGtal 1.3.0
Loading...
Searching...
No Matches
CSegmentComputerEstimator.h
1
17#pragma once
18
31#if defined(CSegmentComputerEstimator_RECURSES)
32#error Recursive header files inclusion detected in CSegmentComputerEstimator.h
33#else // defined(CSegmentComputerEstimator_RECURSES)
35#define CSegmentComputerEstimator_RECURSES
36
37#if !defined CSegmentComputerEstimator_h
39#define CSegmentComputerEstimator_h
40
42// Inclusions
43#include <iostream>
44#include "DGtal/base/Common.h"
45#include "DGtal/geometry/curves/estimation/CCurveLocalGeometricEstimator.h"
46#include "DGtal/geometry/curves/CSegment.h"
48
49namespace DGtal
50{
51 namespace concepts
52 {
53
55 // class CSegmentComputerEstimator
96 template <typename T>
99 {
100 // ----------------------- Concept checks ------------------------------
101 public:
102
103 typedef typename T::SegmentComputer SegmentComputer;
105
107 {
108
109 myX.attach(mySC);
110
111 }
112
113 // ------------------------- Private Datas --------------------------------
114 private:
117
118 // ------------------------- Internals ------------------------------------
119 private:
120
121 }; // end of concept CSegmentComputerEstimator
122 }
123} // namespace DGtal
124
125// //
127
128#endif // !defined CSegmentComputerEstimator_h
129
130#undef CSegmentComputerEstimator_RECURSES
131#endif // else defined(CSegmentComputerEstimator_RECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: This concept describes an object that can process a range so as to return one estimated quantity...
Aim: This concept is a refinement of CCurveLocalGeometricEstimator devoted to the estimation of a geo...
BOOST_CONCEPT_ASSERT((CSegment< SegmentComputer >))
Aim: Defines the concept describing a segment, ie. a valid and not empty range.
Definition: CSegment.h:102
Go to http://www.sgi.com/tech/stl/Assignable.html.
Definition: Boost.dox:32
Go to http://www.sgi.com/tech/stl/CopyConstructible.html.
Definition: Boost.dox:34