DGtal  0.9.2
NeighborhoodConfigurations.h
1 
31 #if defined(NeighborhoodConfigurations_RECURSES)
32 #error Recursive header files inclusion detected in NeighborhoodConfigurations.h
33 #else // defined(NeighborhoodConfigurations_RECURSES)
34 
35 #define NeighborhoodConfigurations_RECURSES
36 
37 #if !defined NeighborhoodConfigurations_h
38 
39 #define NeighborhoodConfigurations_h
40 // Inclusions
42 #include <iostream>
43 #include <bitset>
44 #include <unordered_map>
45 #include "boost/dynamic_bitset.hpp"
46 #include <DGtal/base/CountedPtr.h>
47 #include <DGtal/topology/helpers/NeighborhoodConfigurationsHelper.h>
48 
49 namespace DGtal {
50  namespace functions {
67  inline
69  loadTable(const std::string & input_filename, unsigned int known_size );
70 
83  template<unsigned int dimension = 3>
84  inline
86  loadTable(const std::string & input_filename);
87 
109  template<typename TPoint>
110  inline
112  std::unordered_map<TPoint, NeighborhoodConfiguration > >
114 
115  } // namespace functions
116 } // namespace DGtal
117 
118 
120 // Includes inline functions.
121 #include "DGtal/topology/NeighborhoodConfigurations.ih"
122 // //
124 
125 #endif // !defined NeighborhoodConfigurations_h
126 
127 #undef NeighborhoodConfigurations_RECURSES
128 #endif // else defined(NeighborhoodConfigurations_RECURSES)
DGtal::CountedPtr< std::unordered_map< TPoint, NeighborhoodConfiguration > > mapZeroPointNeighborhoodToConfigurationMask()
Aim: Smart pointer based on reference counts.
Definition: CountedPtr.h:79
DGtal::CountedPtr< boost::dynamic_bitset<> > loadTable(const std::string &input_filename, unsigned int known_size)
DGtal is the top-level namespace which contains all DGtal functions and types.