45int main(
int argc,
char** argv )
48 QApplication application(argc,argv);
50 viewer.setWindowTitle(
"simpleViewer");
53 std::vector<Z3i::RealPoint> polyg1;
55 polyg1.push_back(Z3i::RealPoint(0,0,0));
56 polyg1.push_back(Z3i::RealPoint(0,1,0));
57 polyg1.push_back(Z3i::RealPoint(1,1,0));
63 std::vector<Z3i::RealPoint> polyg2;
65 polyg2.push_back(Z3i::RealPoint(0,10,0));
66 polyg2.push_back(Z3i::RealPoint(0,11,0));
67 polyg2.push_back(Z3i::RealPoint(11,11,0));
71 viewer << Viewer3D<>::updateDisplay;
73 bool res = application.exec();
74 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;