Transfer widget. More...
#include <transferwidget.h>
Public Slots | |
void | ChangeSelectedColor (const QColor &color) |
void | PointsChanged () |
Points changed. | |
void | SaveConfig (QString filename) |
Saves a configuration. | |
void | LoadConfig (QString filename) |
Loads a configuration. | |
Signals | |
void | InvokeChangeSelectedColor (const QColor &color) |
Invoke change selected color. | |
void | InvokeUpdateColorSelector (const QColor &color) |
Invoke update color selector. | |
void | TransferImageUpdated (const QImage &image) |
Transfer image updated. | |
Public Member Functions | |
TransferWidget (QWidget *parent=NULL) | |
void | paintEvent (QPaintEvent *e) |
Transfer widget.
This widget handles the transfer function.
void TransferWidget::InvokeChangeSelectedColor | ( | const QColor & | color ) | [signal] |
Invoke change selected color.
Signals that the selected color has changed.
color | The color. |
void TransferWidget::InvokeUpdateColorSelector | ( | const QColor & | color ) | [signal] |
Invoke update color selector.
Signals that the color selector has changed.
color | The color. |
void TransferWidget::LoadConfig | ( | QString | filename ) | [slot] |
Loads a configuration.
Loads a transfer function from a config file
filename | Filename of the file. |
void TransferWidget::PointsChanged | ( | ) | [slot] |
Points changed.
Is called when the points have changed
void TransferWidget::SaveConfig | ( | QString | filename ) | [slot] |
Saves a configuration.
Saves a transfer function to a config file.
filename | Filename of the file. |
void TransferWidget::TransferImageUpdated | ( | const QImage & | image ) | [signal] |
Transfer image updated.
Signals that the transfer fucntion 1d image has changed.
image | The image. |