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"
40 using namespace DGtal;
41 using namespace DGtal::Z3i;
45 int main(
int argc,
char** argv )
48 QApplication application(argc,argv);
53 Domain domain( plow, pup );
54 K.
init( plow, pup,
true );
58 viewer <<
SetMode3D( domain.className(),
"Paving" );
64 viewer << ptlow << ptup1 << ptup2;
75 viewer << p1 << p2 << p3 << p4 << p5 << p6 << p7 << p8;
96 viewer << linel0<< linel1<< linel2 << linel3 ;
97 viewer << linel4<< linel5<< linel6 << linel7 ;
98 viewer << linel8<< linel9<< linel10 << linel11 << linel12;
105 viewer << surfelA << surfelB << surfelC;
110 viewer << vox1 << vox2;
115 viewer<< Viewer3D::updateDisplay;
116 return application.exec();