#include <MainWindow.h>
Inherits Ui_MainWindow.
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. | |
| MainWindow::MainWindow | ( | Volume * | vol, | |
| QWidget * | parent = 0, |
|||
| Qt::WindowFlags | flags = 0 | |||
| ) |
Constructor for MainWindow.
| vol | Pointer to Volume which should be loaded at startup. | |
| parent | Pointer to parent window. | |
| flags | Qt::WindowFlags for MainWindow. |
| void MainWindow::tabChanged | ( | int | index | ) | [protected, slot] |
TabChanged Event Slot, toggles the render mode from Slice view to volume rendering and vice versa.
| index | Index of the tab changed to. |
| void MainWindow::updateSliceBox | ( | int | value | ) | [protected, slot] |
Updates the InputBox next to the Slice Slider.
| value | The value written in the InputBox. |
| void MainWindow::updateSliceSlider | ( | QString | value | ) | [protected, slot] |
Updates the Slice Slider.
| value | Sets the Slider to "value". |
1.5.7.1