DGtal  1.3.beta
DigitalSetSelector.h
1 
17 #pragma once
18 
35 #if defined(DigitalSetSelector_RECURSES)
36 #error Recursive header files inclusion detected in DigitalSetSelector.h
37 #else // defined(DigitalSetSelector_RECURSES)
38 
39 #define DigitalSetSelector_RECURSES
40 
41 #if !defined DigitalSetSelector_h
42 
43 #define DigitalSetSelector_h
44 
46 // Inclusions
47 #include <iostream>
48 #include "DGtal/base/Common.h"
49 #include "DGtal/kernel/sets/DigitalSetByAssociativeContainer.h"
50 #include "DGtal/kernel/sets/DigitalSetBySTLVector.h"
51 
52 #include "DGtal/kernel/PointHashFunctions.h"
53 #include <unordered_set>
55 
56 namespace DGtal
57 {
58 
59  // ----------------------- Related enumerations -----------------------------
60  enum DigitalSetSize { SMALL_DS = 0, MEDIUM_DS = 1, BIG_DS = 2, WHOLE_DS = 3 };
64 
66  // template class DigitalSetSelector
87  template <typename Domain, int Preferences >
89  {
90  // ----------------------- Local types ------------------------------
95  }; // end of class DigitalSetSelector
96 
97 
98 } // namespace DGtal
99 
100 
102 // Includes inline functions.
103 #include "DGtal/kernel/sets/DigitalSetSelector.ih"
104 
105 // //
107 
108 #endif // !defined DigitalSetSelector_h
109 
110 #undef DigitalSetSelector_RECURSES
111 #endif // else defined(DigitalSetSelector_RECURSES)
DGtal::DigitalSetIterability
DigitalSetIterability
Definition: DigitalSetSelector.h:62
DGtal::MEDIUM_DS
@ MEDIUM_DS
Definition: DigitalSetSelector.h:60
DGtal::LOW_VAR_DS
@ LOW_VAR_DS
Definition: DigitalSetSelector.h:61
DGtal::DigitalSetVariability
DigitalSetVariability
Definition: DigitalSetSelector.h:61
DGtal::DigitalSetSelector
Aim: Automatically defines an adequate digital set type according to the hints given by the user.
Definition: DigitalSetSelector.h:88
DGtal::DigitalSetSize
DigitalSetSize
Definition: DigitalSetSelector.h:60
DGtal::DigitalSetSelector::Type
DigitalSetByAssociativeContainer< Domain, std::unordered_set< typename Domain::Point > > Type
Definition: DigitalSetSelector.h:94
DGtal::WHOLE_DS
@ WHOLE_DS
Definition: DigitalSetSelector.h:60
DGtal::SMALL_DS
@ SMALL_DS
Definition: DigitalSetSelector.h:60
DGtal::HIGH_BEL_DS
@ HIGH_BEL_DS
Definition: DigitalSetSelector.h:63
DGtal::LOW_BEL_DS
@ LOW_BEL_DS
Definition: DigitalSetSelector.h:63
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
DGtal::HIGH_VAR_DS
@ HIGH_VAR_DS
Definition: DigitalSetSelector.h:61
DGtal::BIG_DS
@ BIG_DS
Definition: DigitalSetSelector.h:60
DGtal::HIGH_ITER_DS
@ HIGH_ITER_DS
Definition: DigitalSetSelector.h:62
DGtal::LOW_ITER_DS
@ LOW_ITER_DS
Definition: DigitalSetSelector.h:62
DGtal::DigitalSetBelongTestability
DigitalSetBelongTestability
Definition: DigitalSetSelector.h:63
DGtal::DigitalSetByAssociativeContainer
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
Definition: DigitalSetByAssociativeContainer.h:89