VolVis::Gui::MainWindow Class Reference

#include <MainWindow.h>


Detailed Description

This class provides the main window of the application. It contains all other widgets (like the RenderWidget and the dock widgets) and the menu bar. Except the widgets for rendering and the transfer function, all items of the containing widgets are generated in this class. To communicate with the system of the volume rendering, the CommandFactory is used to create the adequate commands


Public Member Functions

void closeEvent (QCloseEvent *)
 MainWindow (const std::string &basedir="")
void setupCommands ()
void showHiResDialog ()


Constructor & Destructor Documentation

VolVis::Gui::MainWindow::MainWindow ( const std::string &  basedir = ""  ) 

Creates the main window by calling the parent constructor. Additionally creates the OpenGL render widget and makes its render context the current openGL context.

Parameters:
basedir The location of the exe file (needed for opening help viewer)


Member Function Documentation

void VolVis::Gui::MainWindow::closeEvent ( QCloseEvent *   ) 

Closes the help contents before the main window is closed.

void VolVis::Gui::MainWindow::setupCommands (  ) 

The CommandFactory is equipped with the necessary objects owned by this class (e.g. the RenderWidget) This class also creates the menu and the dock widgets for adjusting render options. It connects all actions with the appropriate slots by using the CommandFactory.

void VolVis::Gui::MainWindow::showHiResDialog (  ) 

This opens the dialog for rendering a high resolution image to a file. The dialog has already been setup at initialization, and now is only made visible.


The documentation for this class was generated from the following file:
Generated on Wed Dec 5 12:27:31 2007 for VolVis by  doxygen 1.5.1-p1