// g++ -o viewoff -lCGAL -lCGAL_Qt3 -lmpfr -I/opt/qt3/include/ -L/opt/qt3/lib/ -lqt viewoff.cc #include #include #include #include #include #include #include #include #include #include #include #define VERBOSE 0 typedef CGAL::Cartesian Kernel; typedef CGAL::Polyhedron_3 Polyhedron; typedef CGAL::Nef_polyhedron_3 Nef_polyhedron; int main(int argc, char **argv) { QApplication a(argc, argv); for (int i=1; i* w = new CGAL::Qt_widget_Nef_3(NP); if (i == 1) a.setMainWidget(w); w->show(); } return a.exec(); }