31 #if defined(NeighborhoodConfigurations_RECURSES)
32 #error Recursive header files inclusion detected in NeighborhoodConfigurations.h
35 #define NeighborhoodConfigurations_RECURSES
37 #if !defined NeighborhoodConfigurations_h
39 #define NeighborhoodConfigurations_h
44 #include <unordered_map>
45 #include "boost/dynamic_bitset.hpp"
46 #include <DGtal/base/CountedPtr.h>
47 #include <DGtal/topology/helpers/NeighborhoodConfigurationsHelper.h>
70 loadTable(
const std::string & input_filename,
const unsigned int known_size,
const bool compressed =
true );
85 template<
unsigned int dimension = 3>
88 loadTable(
const std::string & input_filename,
const bool compressed =
true);
111 template<
typename TPo
int>
114 std::unordered_map<TPoint, NeighborhoodConfiguration > >
123 #include "DGtal/topology/NeighborhoodConfigurations.ih"
129 #undef NeighborhoodConfigurations_RECURSES
Aim: Smart pointer based on reference counts.
DGtal::CountedPtr< boost::dynamic_bitset<> > loadTable(const std::string &input_filename, const unsigned int known_size, const bool compressed=true)
DGtal::CountedPtr< std::unordered_map< TPoint, NeighborhoodConfiguration > > mapZeroPointNeighborhoodToConfigurationMask()
DGtal is the top-level namespace which contains all DGtal functions and types.