43#include "DGtal/base/Common.h"
44#include "DGtal/io/readers/VolReader.h"
45#include "DGtal/io/Display3D.h"
46#include "DGtal/io/viewers/Viewer3D.h"
47#include "DGtal/io/DrawWithDisplay3DModifier.h"
49#include "DGtal/images/ImageSelector.h"
50#include "DGtal/images/imagesSetsUtils/SetFromImage.h"
51#include "DGtal/helpers/StdDefs.h"
52#include "ConfigExamples.h"
61int main(
int argc,
char** argv )
63 std::string inputFilename = examplesPath +
"samples/Al.100.vol";
64 QApplication application(argc,argv);
71 viewer <<
SetMode3D(image.domain().className(),
"BoundingBox");
73 return application.exec();
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
const Domain & domain() const
Aim: implements association bewteen points lying in a digital domain and values.
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
DGtal is the top-level namespace which contains all DGtal functions and types.
ImageContainerBySTLVector< Domain, Value > Type
static void append(Set &aSet, const ForegroundPredicate &isForeground, typename Image::Domain::ConstIterator itBegin, typename Image::Domain::ConstIterator itEnd)
Modifier class in a Display3D stream. Useful to choose your own mode for a given class....
static ImageContainer importVol(const std::string &filename, const Functor &aFunctor=Functor())
ImageContainerBySTLVector< Domain, Value > Image