#include "ccInteractor.h"
Include dependency graph for ccInteractor.cpp:
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
|
Definition at line 185 of file ccInteractor.cpp. References MainWindow::init().
00185 { 00186 00187 // ======================================================== 00188 // Set up the QT-Application and init QT GUI- and VTK-stuff 00189 // ======================================================== 00190 printf("Application starting\n"); 00191 QApplication myApp( argc, argv ); 00192 00193 // create Main Window 00194 MainWindow *mainWindow = new MainWindow(); 00195 mainWindow->setGeometry(100, 50, 800, 600); 00196 mainWindow->setCaption("MMCG - Subdivision Surfaces"); 00197 00198 // generate the interaction-gui 00199 mainWindow->init(); 00200 00201 // declare main window and show it 00202 myApp.setMainWidget( mainWindow ); 00203 printf("show main window\n"); 00204 mainWindow->show(); 00205 00206 //mainWindow->openFile(); 00207 00208 //mainWindow->newSubdivision(); 00209 00210 // qt main event loop 00211 //printf("execute application\n"); 00212 int nReturn = myApp.exec(); 00213 00214 // clean vtk stuff 00215 // ToDo 00216 00217 return nReturn; 00218 } |
Here is the call graph for this function: