50 # pragma warning(disable: 4267 4311) 56 #include <OpenMesh/Apps/ProgViewer/ProgViewerWidget.hh> 58 #include <QApplication> 67 int main(
int argc,
char **argv)
70 QApplication::setColorSpec( QApplication::CustomColor );
71 QApplication app(argc,argv);
75 if ( !QGLFormat::hasOpenGL() ) {
76 std::cerr <<
"This system has no OpenGL support.\n";
87 if (argc > 1) w.open_prog_mesh(argv[1]);
92 <<
"Press Minus : Coarsen mesh\n" 93 <<
" Plus : Refine mesh\n" 94 <<
" Home : Coarsen down to base mesh\n" 95 <<
" End : Refine up to finest mesh\n"