38#include "DGtal/base/Common.h"
39#include "DGtal/helpers/StdDefs.h"
40#include "ConfigExamples.h"
42#include "DGtal/shapes/Shapes.h"
43#include "DGtal/shapes/ShapeFactory.h"
44#include "DGtal/io/viewers/PolyscopeViewer.h"
46#include "DGtal/geometry/volumes/distance/DistanceTransformation.h"
47#include "DGtal/io/colormaps/GradientColorMap.h"
48#include "DGtal/helpers/StdDefs.h"
50#include <boost/algorithm/minmax_element.hpp>
58int main(
int argc,
char **argv)
81 DTL2::Value maxDT = (*boost::first_max_element(
dt.constRange().begin(),
82 dt.constRange().end()));
92 itend =
domain.end(); it != itend;
58int main(
int argc,
char **argv) {
…}
static const Color Yellow
Aim: This class template may be used to (linearly) convert scalar values in a given range into a colo...
void addColor(const Color &color)
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create a rounded hypercu...
RealPoint getUpperBound() const
RealPoint getLowerBound() const
void show() override
Starts the event loop and display of elements.
static void euclideanShaper(TDigitalSet &aSet, const TShapeFunctor &aFunctor, const double h=1.0)
static const L2Metric l2Metric
HyperRectDomain< Space > Domain
DigitalSetSelector< Domain, BIG_DS+HIGH_BEL_DS >::Type DigitalSet
DGtal is the top-level namespace which contains all DGtal functions and types.
Attach a property to an element.