32 #include <QtGui/qapplication.h>
33 #include "DGtal/io/viewers/Viewer3D.h"
34 #include "DGtal/base/Common.h"
35 #include "DGtal/helpers/StdDefs.h"
36 #include "DGtal/shapes/Shapes.h"
38 #include "DGtal/io/DrawWithDisplay3DModifier.h"
43 using namespace DGtal;
50 int main(
int argc,
char** argv )
53 QApplication application(argc,argv);
60 Domain domain( plow, pup );
61 K.
init( plow, pup,
true );
63 viewer <<
SetMode3D( domain.className(),
"Paving" );
76 viewer << v << v2 << v3;
99 viewer << tsx << tsy << tsz << tsxn << tsyn << tszn;
118 viewer << tsx2 << tsy2 << tsz2 << tsxn2 << tsyn2 << tszn2;
138 viewer << tsx3 << tsy3 << tsz3 << tsxn3 << tsyn3 << tszn3;
139 viewer << Display3D::updateDisplay;
141 return application.exec();