DGtal
1.1.0
src
DGtal
topology
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 {
68
inline
69
DGtal::CountedPtr< boost::dynamic_bitset<>
>
70
loadTable
(
const
std::string & input_filename,
const
unsigned
int
known_size,
const
bool
compressed =
true
);
71
85
template
<
unsigned
int
dimension = 3>
86
inline
87
DGtal::CountedPtr< boost::dynamic_bitset<>
>
88
loadTable
(
const
std::string & input_filename,
const
bool
compressed =
true
);
89
111
template
<
typename
TPo
int
>
112
inline
113
DGtal::CountedPtr
<
114
std::unordered_map<TPoint, NeighborhoodConfiguration > >
115
mapZeroPointNeighborhoodToConfigurationMask
();
116
117
}
// namespace functions
118
}
// namespace DGtal
119
120
122
// Includes inline functions.
123
#include "DGtal/topology/NeighborhoodConfigurations.ih"
124
// //
126
127
#endif // !defined NeighborhoodConfigurations_h
128
129
#undef NeighborhoodConfigurations_RECURSES
130
#endif // else defined(NeighborhoodConfigurations_RECURSES)
DGtal::functions::mapZeroPointNeighborhoodToConfigurationMask
DGtal::CountedPtr< std::unordered_map< TPoint, NeighborhoodConfiguration > > mapZeroPointNeighborhoodToConfigurationMask()
DGtal::functions::loadTable
DGtal::CountedPtr< boost::dynamic_bitset<> > loadTable(const std::string &input_filename, const unsigned int known_size, const bool compressed=true)
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition:
ClosedIntegerHalfPlane.h:49
DGtal::CountedPtr
Aim: Smart pointer based on reference counts.
Definition:
CountedPtr.h:80
Generated on Fri Oct 9 2020 08:58:05 for DGtal by
1.8.20