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" );
83 return application.exec();
DigitalSetSelector< Domain, BIG_DS+HIGH_BEL_DS >::Type DigitalSet
int main(int argc, char **argv)
DGtal is the top-level namespace which contains all DGtal functions and types.
Structure representing an RGB triple with alpha component.
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
Aim: A utility class for constructing different shapes (balls, diamonds, and others).
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....