#include <sliceRenderer.h>
Public Member Functions | |
SliceRenderer (QWidget *parent=0) | |
void | makeSlice (DIMENSION d, int SliceNumber) |
void | updateSlice () |
void | redraw () |
Public Attributes | |
unsigned short | XDim |
unsigned short | YDim |
unsigned short * | data |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
Private Attributes | |
bool | antialiased |
int | XSlice |
int | YSlice |
int | ZSlice |
QGridLayout * | layout |
Volume * | pSlice |
QImage | image |
DIMENSION | currentDIM |
int | currentSlice |
|
draws the slice into an image after it had been created |
|
updates the current Slice when Transfer Function has changed |
|
takes over a dimension (x, y or z) and a slice number and creates the corresponding slice |
|
draws the slice-Image, if data has been loaded (empty window otherwise) |