main.cpp

Go to the documentation of this file.
00001 /**<!-------------------------------------------------------------------->
00002    @file   main.cpp
00003    @author Travis Fischer (fisch0920@gmail.com)
00004    @author Matthew Jacobs (jacobs.mh@gmail.com)
00005    @date   Fall 2008
00006    <!-------------------------------------------------------------------->**/
00007 
00008 #include <MiltonApp.h>
00009 #include <Visualization.h>
00010 #include <Qt/QtOpenGL>
00011 #include <QtGui>
00012 
00013 int main(int argc, char **argv) {
00014    MiltonApp app(argc, argv);
00015    
00016    if (!app.loadCommandlineParams())
00017       return 1;
00018    
00019    CanvasList &canvases = app.getCanvases();
00020    FOREACH(CanvasListIter, canvases, iter) {
00021       Canvas *canvas = *iter;
00022       
00023       canvas->registerInteractionListener(new IntersectDebugTester(canvas));
00024    }
00025    
00026    return app.exec();
00027 }
00028 

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6