ALBA
|
#include <albaGUILutEditor.h>
Public Member Functions | |
albaGUILutEditor (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(300, 800), long style=wxTAB_TRAVERSAL) | |
virtual | ~albaGUILutEditor () |
virtual void | SetListener (albaObserver *Listener) |
void | OnEvent (albaEventBase *alba_event) |
void | SetLut (vtkLookupTable *lut) |
Public Member Functions inherited from albaObserver | |
albaObserver () | |
virtual | ~albaObserver () |
virtual void | OnEvent (albaEventBase *e)=0 |
Static Public Member Functions | |
static void | ShowLutDialog (vtkLookupTable *lut, albaObserver *listener=NULL, int id=MINID) |
Protected Member Functions | |
void | UpdateInfo () |
void | UpdateLut () |
void | UpdateWidgetsOnLutChange () |
void | CopyLut (vtkLookupTable *from, vtkLookupTable *to) |
Protected Attributes | |
albaObserver * | m_Listener |
int | m_Preset |
int | m_UserPreset |
int | m_NumEntry |
double | m_ValueRange [2] |
wxString | m_Info |
wxString | m_NewUserLutName |
wxString | m_UserLutLibraryDir |
albaGUILutSwatch * | m_LutSwatch |
albaGUILutWidget * | m_LutWidget |
albaGUIColorWidget * | m_ColorWidget |
albaLUTLibrary * | m_UserLutLibrary |
wxComboBox * | m_UserPresetCombo |
wxComboBox * | m_PresetCombo |
vtkLookupTable * | m_ExternalLut |
vtkLookupTable * | m_Lut |
albaGUILutEditor : vtkLookupTable Editor
USAGE:
FEATURES:
Definition at line 46 of file albaGUILutEditor.h.
albaGUILutEditor::albaGUILutEditor | ( | wxWindow * | parent, |
wxWindowID | id = -1 , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(300, 800) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
|
virtual |
|
inlinevirtual |
Definition at line 53 of file albaGUILutEditor.h.
References m_Listener.
|
virtual |
process the events sent by subjects
Implements albaObserver.
void albaGUILutEditor::SetLut | ( | vtkLookupTable * | lut | ) |
Assign the external lookup table to the widget.
|
static |
Show the dialog.
|
protected |
|
protected |
Update the internal Lookup Table according to the preset selected from the combo box.
|
protected |
|
protected |
Copy the external Lookup Table given by the user to the internal one.
|
protected |
Definition at line 76 of file albaGUILutEditor.h.
Referenced by SetListener().
|
protected |
Index of lookup table preset.
Definition at line 78 of file albaGUILutEditor.h.
|
protected |
Definition at line 79 of file albaGUILutEditor.h.
|
protected |
Number of colors of the current lookup table.
Definition at line 81 of file albaGUILutEditor.h.
|
protected |
Value range of the current lookup table.
Definition at line 82 of file albaGUILutEditor.h.
|
protected |
Definition at line 83 of file albaGUILutEditor.h.
|
protected |
Definition at line 84 of file albaGUILutEditor.h.
|
protected |
Definition at line 85 of file albaGUILutEditor.h.
|
protected |
Definition at line 87 of file albaGUILutEditor.h.
|
protected |
Definition at line 88 of file albaGUILutEditor.h.
|
protected |
Definition at line 89 of file albaGUILutEditor.h.
|
protected |
Definition at line 91 of file albaGUILutEditor.h.
|
protected |
Definition at line 92 of file albaGUILutEditor.h.
|
protected |
Definition at line 93 of file albaGUILutEditor.h.
|
protected |
Given lut that will be modified by "ok" or "apply".
Definition at line 94 of file albaGUILutEditor.h.
|
protected |
Internal lut – initialized in SetLut.
Definition at line 95 of file albaGUILutEditor.h.