45 # pragma warning(disable: 4267 4311) 51 #include <OpenMesh/Apps/ProgViewer/ProgViewerWidget.hh> 53 #include <QApplication> 57 int main(
int argc,
char **argv)
60 QApplication::setColorSpec( QApplication::CustomColor );
61 QApplication app(argc,argv);
63 if ( !QGLFormat::hasOpenGL() ) {
64 std::cerr <<
"This system has no OpenGL support.\n";
75 if (argc > 1) w.open_prog_mesh(argv[1]);
80 <<
"Press Minus : Coarsen mesh\n" 81 <<
" Plus : Refine mesh\n" 82 <<
" Home : Coarsen down to base mesh\n" 83 <<
" End : Refine up to finest mesh\n"