33#include "DGtal/base/Common.h"
34#include "ConfigTest.h"
35#include "DGtal/helpers/StdDefs.h"
37#include "DGtal/topology/CubicalComplex.h"
39#include "DGtal/shapes/GaussDigitizer.h"
40#include "DGtal/shapes/Shapes.h"
41#include "DGtal/shapes/EuclideanShapesDecorator.h"
42#include "DGtal/shapes/parametric/Flower2D.h"
56 typedef map<Cell, CubicalCellData>
Map;
70 K.init ( domainShape.lowerBound(), domainShape.upperBound(),
true );
86 trace.beginBlock (
"DigitalSetToCellularGridConverter" );
87 trace.beginBlock (
"Testing extraction of 0D cells" );
88 res &=
test.extractCells();
90 trace.emphase() << ( res ?
"Passed." :
"Error." ) << endl;
RealPoint getLowerBound() const
RealPoint getUpperBound() const
static void digitalShaper(TDigitalSet &aSet, const TShapeFunctor &aFunctor)
MyGaussDigitizer digShape
CubicalComplex< KSpace, Map > CC
map< Cell, CubicalCellData > Map
GaussDigitizer< Space, MyEuclideanShape > MyGaussDigitizer
testDigitalSetToCellularGridConverter()
Flower2D< Space > MyEuclideanShape
Z2i this namespace gathers the standard of types for 2D imagery.
KhalimskySpaceND< 2, Integer > KSpace
Space::RealPoint RealPoint
DigitalSetSelector< Domain, BIG_DS+HIGH_BEL_DS >::Type DigitalSet
functors namespace gathers all DGtal functors.
DGtal is the top-level namespace which contains all DGtal functions and types.
bool test(const I &itb, const I &ite)