Transfer settings widget. More...
#include <transfersettingswidget.h>
Public Slots | |
void | Load () |
Loads a saved transfer function. | |
void | Save () |
Saves the transfer function. | |
Signals | |
void | TransferImageUpdated (const QImage &image) |
Transfer image updated. | |
void | SaveConfig () |
Saves the configuration. | |
Public Member Functions | |
TransferSettingsWidget (QWidget *parent=NULL) |
Transfer settings widget.
This widget handles the transfer function widget.
void TransferSettingsWidget::Load | ( | ) | [slot] |
Loads a saved transfer function.
Opens a load file dialog and loads the transfer function.
void TransferSettingsWidget::Save | ( | ) | [slot] |
Saves the transfer function.
Opens a save file dialog and saves the current transfer function.
void TransferSettingsWidget::SaveConfig | ( | ) | [signal] |
Saves the configuration.
The configuration of the transfer function is saved to the standard config file ("transfer.cfg").
void TransferSettingsWidget::TransferImageUpdated | ( | const QImage & | image ) | [signal] |
Transfer image updated.
Signals that the transfer function has changed and a new 1d image can be uploaded to the shader.
image | The image. |