MainWindow Class Reference

Qt MainWindow Class. This Class renders the Main GUI Window. More...

#include <MainWindow.h>

Inherits Ui_MainWindow.

List of all members.

Public Member Functions

 MainWindow (Volume *vol, QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor for MainWindow.

Protected Slots

void About ()
 Shows the About Dialog.
void updateSliceBox (int value)
 Updates the InputBox next to the Slice Slider.
void updateSliceSlider (QString value)
 Updates the Slice Slider.
void axialBtnActivated ()
 Activates the axial view.
void coronalBtnActivated ()
 Activates the coronal view.
void sagitalBtnActivated ()
 Activates the sagital view.
void openFiles ()
 Opens a FileOpen dialog for loading a new Volume.
void tabChanged (int index)
 TabChanged Event Slot, toggles the render mode from Slice view to volume rendering and vice versa.
void uploadTransferTexture ()
 Uploads the current Transfer Function Texture to the graphic hardware.
void OpenTransferFunc ()
 Shows a File Open dialog for importing a Transfer Function file.
void SaveTransferFunc ()
 Shows a File Save dialog for exporting the current Transfer Function to a file.


Detailed Description

Qt MainWindow Class. This Class renders the Main GUI Window.

See also:
QMainWindow

Constructor & Destructor Documentation

MainWindow::MainWindow ( Volume *  vol,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor for MainWindow.

Parameters:
vol Pointer to Volume which should be loaded at startup.
parent Pointer to parent window.
flags Qt::WindowFlags for MainWindow.
See also:
QMainWindow


Member Function Documentation

void MainWindow::tabChanged ( int  index  )  [protected, slot]

TabChanged Event Slot, toggles the render mode from Slice view to volume rendering and vice versa.

Parameters:
index Index of the tab changed to.

void MainWindow::updateSliceBox ( int  value  )  [protected, slot]

Updates the InputBox next to the Slice Slider.

Parameters:
value The value written in the InputBox.

void MainWindow::updateSliceSlider ( QString  value  )  [protected, slot]

Updates the Slice Slider.

Parameters:
value Sets the Slider to "value".


The documentation for this class was generated from the following files:

Generated on Wed Dec 24 00:05:46 2008 for Volume Visualization by  doxygen 1.5.7.1