// file: examples/Nef_3/visualization_SNC.C #ifndef CGAL_USE_QT #include int main(int, char*){ std::cout << "Sorry, this demo needs QT..." << std::endl; return 0;} #else #include #include #include #include #include #include typedef CGAL::Homogeneous Kernel; typedef CGAL::Nef_polyhedron_3 Nef_polyhedron_3; int main(int argc, char* argv[]) { Nef_polyhedron_3 N; std::cin >> N; QApplication a(argc, argv); CGAL::Qt_widget_Nef_3* w = new CGAL::Qt_widget_Nef_3(N); a.setMainWidget(w); w->show(); return a.exec(); } #endif