41 #include "DGtal/base/Common.h"
42 #include "DGtal/io/DrawWithDisplay3DModifier.h"
43 #include "DGtal/io/Color.h"
44 #include "DGtal/helpers/StdDefs.h"
45 #include "DGtal/shapes/Shapes.h"
46 #include "DGtal/io/viewers/Viewer3D.h"
51 using namespace DGtal;
58 int main(
int argc,
char** argv )
61 QApplication application(argc,argv);
68 Point p2( 10, 10 , 10 );
79 viewer <<
SetMode3D( shape.className(),
"DrawAdjacencies" );
83 viewer <<
SetMode3D( shape2.className(),
"DrawAdjacencies" );
86 viewer<< MyViewer::updateDisplay;
87 return application.exec();
Structure representing an RGB triple with alpha component.
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
Aim: An object (or digital object) represents a set in some digital space associated with a digital t...
Aim: A utility class for constructing different shapes (balls, diamonds, and others).
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.
Modifier class in a Display3D stream. Useful to choose your own mode for a given class....
int main(int argc, char **argv)