32 #include "DGtal/base/Common.h"
33 #include "DGtal/helpers/StdDefs.h"
34 #include <QtGui/qapplication.h>
35 #include "DGtal/io/viewers/Viewer3D.h"
36 #include "DGtal/io/DrawWithDisplay3DModifier.h"
41 using namespace DGtal;
42 using namespace DGtal::Z3i;
46 int main(
int argc,
char** argv )
49 QApplication application(argc,argv);
54 Domain domain( plow, pup );
55 K.
init( plow, pup,
true );
59 viewer <<
SetMode3D( domain.className(),
"Paving" );
65 viewer << ptlow << ptup1 << ptup2;
76 viewer << p1 << p2 << p3 << p4 << p5 << p6 << p7 << p8;
97 viewer << linel0<< linel1<< linel2 << linel3 ;
98 viewer << linel4<< linel5<< linel6 << linel7 ;
99 viewer << linel8<< linel9<< linel10 << linel11 << linel12;
106 viewer << surfelA << surfelB << surfelC;
111 viewer << vox1 << vox2;
113 viewer<< Viewer3D::updateDisplay;
114 return application.exec();