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/DrawWithDisplay3DModifier.h"
45#include "DGtal/io/viewers/Viewer3D.h"
47#include "DGtal/geometry/volumes/distance/DistanceTransformation.h"
48#include "DGtal/io/colormaps/GradientColorMap.h"
49#include "DGtal/helpers/StdDefs.h"
51#include <boost/algorithm/minmax_element.hpp>
59int main(
int argc,
char **argv)
61 QApplication application(argc,argv);
68 myCube.getUpperBound());
84 DTL2::Value maxDT = (*boost::first_max_element(dt.constRange().begin(),
85 dt.constRange().end()));
100 DTL2::Value val= dt( *it );
110 viewer << DGtal::Viewer3D<>::updateDisplay;
112 return application.exec();
Structure representing an RGB triple with alpha component.
static const Color Yellow
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
Aim: This class template may be used to (linearly) convert scalar values in a given range into a colo...
Iterator for HyperRectDomain.
const ConstIterator & begin() const
const ConstIterator & end() const
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create a rounded hypercu...
static void euclideanShaper(TDigitalSet &aSet, const TShapeFunctor &aFunctor, const double h=1.0)
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
static const L2Metric l2Metric
Point center(const std::vector< Point > &points)
DGtal is the top-level namespace which contains all DGtal functions and types.
Class for adding a Clipping plane through the Viewer3D stream. Realizes the concept CDrawableWithView...