#include <Dock.h>
Public Member Functions | |
ControlDock (QWidget *parent=0) | |
Private Slots | |
int | loadClicked (void) |
int | transferFunctionClicked (void) |
int | renderingClicked (void) |
int | sliderChanged (void) |
int | rbXclicked (void) |
int | rbYclicked (void) |
int | rbZclicked (void) |
Private Member Functions | |
void | init () |
int | drawSlices () |
Private Attributes | |
QPushButton * | pLoadBtn |
QPushButton * | pTFunctBtn |
QPushButton * | pRenderBtn |
QSlider * | pSlider |
QLineEdit * | pTextField |
QRadioButton * | pRadioX |
QRadioButton * | pRadioY |
QRadioButton * | pRadioZ |
QGridLayout * | pLayout |
TFunctionGUI * | pTransferGUI |
|
creates new GUI |
|
takes the current slice number from the Slider and draws ist |
|
sets all members to well defined states |
|
starts File Dialog to load data |
|
starts Rendering Window |
|
changing the Slider will draw a new slice (if data has been loaded) |
|
shows Window where Transfer Function can be edited |
|
Button to load data (starts File Dialog |
|
if checked, slices in x-direction will be drawn |
|
if checked, slices in y-direction will be drawn |
|
if checked, slices in z-direction will be draen |
|
Button to start Rendering Window |
|
Slider to choose the number of the slice that should be drawn |
|
Button to show Transfer Function |