42 #include "DGtal/base/Common.h"
43 #include "DGtal/helpers/StdDefs.h"
44 #include "DGtal/shapes/Shapes.h"
45 #include "DGtal/io/viewers/Viewer3D.h"
46 #include "DGtal/io/DrawWithDisplay3DModifier.h"
47 #include "DGtal/io/Color.h"
52 using namespace DGtal;
59 int main(
int argc,
char** argv )
62 QApplication application(argc,argv);
68 Point p2( 20, 20, 20 );
74 viewer <<
SetMode3D( shape_set.className(),
"Both" );
77 viewer <<
SetMode3D( p1.className(),
"Paving" );
82 viewer << MyViewer::updateDisplay;
83 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: 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.
Class for adding a Clipping plane through the Viewer3D stream. Realizes the concept CDrawableWithView...
Modifier class in a Display3D stream. Useful to choose your own mode for a given class....
int main(int argc, char **argv)