00001 00008 #include "VolumeRenderingApp.h" 00009 00010 /* 00011 * wxWidget macro that defines the main function that will launch the VolumeRenderingApp class. 00012 */ 00013 IMPLEMENT_APP(VolumeRenderingApp); 00014 00015 //---------------------------------------------------------------- 00016 VolumeRenderingApp::VolumeRenderingApp() 00017 : 00018 window(NULL) 00019 {} 00020 00021 //---------------------------------------------------------------- 00022 VolumeRenderingApp::~VolumeRenderingApp() 00023 {} 00024 00025 //---------------------------------------------------------------- 00026 bool VolumeRenderingApp::OnInit() 00027 { 00028 window = new MainWindow("RTVolumeRendering"); 00029 window->Show(true); 00030 00031 return true; 00032 }