#include <TransferFuncWidget.h>
Public Member Functions | |
| TransferFuncWidget (QWidget *parent) | |
| Constructor of TransferFuncWidget Object. | |
| void | setGradientStops (const QGradientStops &stops) |
| Deprecated function. | |
| void | paintEvent (QPaintEvent *e) |
| Stolen from ShadeWidget -> http://doc.trolltech.com/4.4/demos-gradients.html. | |
| QPolygonF | points () const |
| Returns the Points Polygon of all HoverPoints of the Transfer Function. | |
| QVector< QColor > * | colors () |
| Returns a Vector with the Colors of the Transfer Function Points. | |
| uint | colorAt (int x) |
| Stolen from ShadeWidget -> http://doc.trolltech.com/4.4/demos-gradients.html. | |
| void | setHistogram (unsigned int *hist) |
| Sets the Histogram which should be rendered in the Transfer Function Widget. | |
| float * | getTransferTexture () |
| Returns a pointer to the Array of the Transfer Function Texture. | |
| TransferFuncWidget::TransferFuncWidget | ( | QWidget * | parent | ) |
| uint TransferFuncWidget::colorAt | ( | int | x | ) |
| QVector< QColor > * TransferFuncWidget::colors | ( | ) |
Returns a Vector with the Colors of the Transfer Function Points.
| float * TransferFuncWidget::getTransferTexture | ( | ) |
Returns a pointer to the Array of the Transfer Function Texture.
| void TransferFuncWidget::paintEvent | ( | QPaintEvent * | e | ) |
Stolen from ShadeWidget -> http://doc.trolltech.com/4.4/demos-gradients.html.
| e | Event parameter e. |
| QPolygonF TransferFuncWidget::points | ( | ) | const |
| void TransferFuncWidget::setGradientStops | ( | const QGradientStops & | stops | ) |
Deprecated function.
| stops | Gradient stops. |
| void TransferFuncWidget::setHistogram | ( | unsigned int * | hist | ) |
Sets the Histogram which should be rendered in the Transfer Function Widget.
| hist | Pointer to Array of Histogram Bar heights. |
1.5.7.1