#include <TFpopup.h>
Inherits Ui_Dialog.
Public Slots | |
void | addMode () |
SLOT that gets called when add-mode radio button is activated. Sets TFWidget to add-vertex-mode. | |
void | delMode () |
SLOT that gets called when delete-mode radio button is activated. Sets TFWidget to delete-vertex-mode. | |
void | closePopup () |
SLOT that gets called when close button is clicked. Hides this popup. | |
void | resetTF () |
SLOT that is called when reset button is clicked. Resets TWWidget. | |
void | saveTF () |
SLOT that is called when save button is clicked. Saves transfer function. | |
void | loadTF () |
SLOT that is called when load button is clicked. Loads transfer function. | |
Signals | |
void | volHistoDialog (int *histo) |
void | sendFunction (float *data) |
Public Member Functions | |
TFpopup (QWidget *parent=0) | |
Initialize transfer function popup. | |
Public Attributes | |
TFWidget * | transFunc |
TFpopup::TFpopup | ( | QWidget * | parent = 0 |
) |
Initialize transfer function popup.
Creates new TFWidget and connects all SIGNALs to appropriate SLOTS.
void TFpopup::addMode | ( | ) | [slot] |
SLOT that gets called when add-mode radio button is activated. Sets TFWidget to add-vertex-mode.
void TFpopup::closePopup | ( | ) | [slot] |
SLOT that gets called when close button is clicked. Hides this popup.
void TFpopup::delMode | ( | ) | [slot] |
SLOT that gets called when delete-mode radio button is activated. Sets TFWidget to delete-vertex-mode.
void TFpopup::loadTF | ( | ) | [slot] |
SLOT that is called when load button is clicked. Loads transfer function.
Calls load function in TFWidget after file was chosen.
void TFpopup::resetTF | ( | ) | [slot] |
SLOT that is called when reset button is clicked. Resets TWWidget.
void TFpopup::saveTF | ( | ) | [slot] |
SLOT that is called when save button is clicked. Saves transfer function.
Calls save function in TFWidget after file was chosen.
void TFpopup::sendFunction | ( | float * | data | ) | [signal] |
void TFpopup::volHistoDialog | ( | int * | histo | ) | [signal] |