List of all members.
Constructor & Destructor Documentation
TransferFunctionWidget::TransferFunctionWidget |
( |
QWidget * |
parent = 0 | ) |
|
TransferFunctionWidget::~TransferFunctionWidget |
( |
| ) |
|
Member Function Documentation
void TransferFunctionWidget::changeColor |
( |
QColor |
color | ) |
|
|
signal |
This Signal is emitted when the selected color has changed
void TransferFunctionWidget::ColorgradientChanged |
( |
float * |
data, |
|
|
int |
size, |
|
|
int |
type |
|
) |
| |
|
signal |
This Signal is emitted when the Transferfunction - Colorgradient has changed
float * TransferFunctionWidget::getTransferTextureData |
( |
| ) |
const |
Returnes the Data of the TransferTexture
void TransferFunctionWidget::histogramLoaded |
( |
double * |
histogram, |
|
|
int |
size |
|
) |
| |
|
signal |
This Signal is emitted when their is a new Histogram to be painted
void TransferFunctionWidget::initTransferPoints |
( |
QString |
name, |
|
|
int |
mode |
|
) |
| |
|
slot |
Function to initialize the Points of the Transferfunction into the TransferFunctionWidget, default or from a file
- Parameters:
-
name | is filename of a .txt file |
void TransferFunctionWidget::paintEvent |
( |
QPaintEvent * |
e | ) |
|
paintEvent is called whenever something has changed so that the widget has to update the paintEvent is also called if update() is used.
const QVector< TPoint > & TransferFunctionWidget::points |
( |
| ) |
const |
Returns a List of the Points of the Transferfunction in a QVector
void TransferFunctionWidget::pointsUpdated |
( |
int |
mode | ) |
|
|
slot |
Sortes the Points and calles the paintEvent
void TransferFunctionWidget::rebuildTransferFunctionTexture |
( |
| ) |
|
This function is calles whenever the Transferfunction has changed and a new 1D Texture has to be calculated
Die 2D TF Functions
void TransferFunctionWidget::saveTransferPoints |
( |
QString |
fileName | ) |
|
Function to save the Transferfunction in a File fileName.txt
void TransferFunctionWidget::setHistogram |
( |
double * |
histogram, |
|
|
int |
size |
|
) |
| |
void TransferFunctionWidget::SetMode |
( |
int |
mode | ) |
|
void TransferFunctionWidget::setTranferFunktionApplied |
( |
bool |
apply | ) |
|
Sets tranferFunktionApplied to apply
- Parameters:
-
apply | is true if the "Apply Transferfunktion" has been selected |
void TransferFunctionWidget::transferFunctionChanged |
( |
float * |
data, |
|
|
int |
size, |
|
|
int |
type |
|
) |
| |
|
signal |
This Signal is emitted when the Transferfunction - Texture hast changed
Returns a Pointer to the transferPoints Object
Member Data Documentation
pointer to the Object transferPoints
The documentation for this class was generated from the following files: