#include <albaGUILutHistogramSwatch.h>
|
| albaGUILutHistogramSwatch (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(184, 18), long style=wxTAB_TRAVERSAL) |
|
| albaGUILutHistogramSwatch (albaGUI *parent, wxWindowID id, wxString name, vtkDataSet *dataSet, mmaVolumeMaterial *material, wxSize size=wxSize(184, 18), bool showText=true) |
|
void | SetMaterial (mmaVolumeMaterial *material) |
|
void | SetDataSet (vtkDataSet *dataSet) |
|
void | SetEditable (bool b) |
|
void | ShowThreshold (bool b) |
|
void | EnableOverHighlight (bool b) |
|
bool | IsEditable () |
|
void | Modified () |
|
virtual void | SetListener (albaObserver *Listener) |
|
virtual albaObserver * | GetListener () |
|
Definition at line 34 of file albaGUILutHistogramSwatch.h.
◆ albaGUILutHistogramSwatch() [1/2]
albaGUILutHistogramSwatch::albaGUILutHistogramSwatch |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = -1 , |
|
|
const wxPoint & |
pos = wxDefaultPosition , |
|
|
const wxSize & |
size = wxSize(184, 18) , |
|
|
long |
style = wxTAB_TRAVERSAL |
|
) |
| |
◆ albaGUILutHistogramSwatch() [2/2]
albaGUILutHistogramSwatch::albaGUILutHistogramSwatch |
( |
albaGUI * |
parent, |
|
|
wxWindowID |
id, |
|
|
wxString |
name, |
|
|
vtkDataSet * |
dataSet, |
|
|
mmaVolumeMaterial * |
material, |
|
|
wxSize |
size = wxSize(184, 18) , |
|
|
bool |
showText = true |
|
) |
| |
◆ SetMaterial()
◆ SetDataSet()
void albaGUILutHistogramSwatch::SetDataSet |
( |
vtkDataSet * |
dataSet | ) |
|
Set the VME for the histogram.
◆ SetEditable()
void albaGUILutHistogramSwatch::SetEditable |
( |
bool |
b | ) |
|
|
inline |
-if b=true LeftMouseButtonDown will pop-up the LutEditor -the user is notified anyway -default = false
Definition at line 54 of file albaGUILutHistogramSwatch.h.
◆ ShowThreshold()
void albaGUILutHistogramSwatch::ShowThreshold |
( |
bool |
b | ) |
|
Activate/Deactivate threshold view on LUT.
◆ EnableOverHighlight()
void albaGUILutHistogramSwatch::EnableOverHighlight |
( |
bool |
b | ) |
|
|
inline |
◆ IsEditable()
bool albaGUILutHistogramSwatch::IsEditable |
( |
| ) |
|
|
inline |
◆ Modified()
void albaGUILutHistogramSwatch::Modified |
( |
| ) |
|
◆ SetListener()
virtual void albaGUILutHistogramSwatch::SetListener |
( |
albaObserver * |
Listener | ) |
|
|
inlinevirtual |
◆ GetListener()
virtual albaObserver * albaGUILutHistogramSwatch::GetListener |
( |
| ) |
|
|
inlinevirtual |
◆ OnEraseBackground()
void albaGUILutHistogramSwatch::OnEraseBackground |
( |
wxEraseEvent & |
event | ) |
|
|
inlineprotected |
◆ OnPaint()
void albaGUILutHistogramSwatch::OnPaint |
( |
wxPaintEvent & |
event | ) |
|
|
protected |
◆ Update()
void albaGUILutHistogramSwatch::Update |
( |
| ) |
|
|
protected |
◆ OnLeftMouseButtonDown()
void albaGUILutHistogramSwatch::OnLeftMouseButtonDown |
( |
wxMouseEvent & |
event | ) |
|
|
protected |
◆ OnLeftMouseButtonUp()
void albaGUILutHistogramSwatch::OnLeftMouseButtonUp |
( |
wxMouseEvent & |
event | ) |
|
|
protected |
◆ OnMouseMotion()
void albaGUILutHistogramSwatch::OnMouseMotion |
( |
wxMouseEvent & |
event | ) |
|
|
protected |
◆ OnSize()
void albaGUILutHistogramSwatch::OnSize |
( |
wxSizeEvent & |
event | ) |
|
|
protected |
Update the panel when resized.
◆ GetLutIndexByPos()
int albaGUILutHistogramSwatch::GetLutIndexByPos |
( |
float |
fullWidth, |
|
|
float |
x |
|
) |
| |
|
protected |
◆ m_Listener
◆ m_Bmp
wxBitmap albaGUILutHistogramSwatch::m_Bmp |
|
protected |
◆ m_ShowThreshold
int albaGUILutHistogramSwatch::m_ShowThreshold |
|
protected |
◆ m_OverHighlight
int albaGUILutHistogramSwatch::m_OverHighlight |
|
protected |
◆ m_Highlighted
int albaGUILutHistogramSwatch::m_Highlighted |
|
protected |
◆ m_LastHighlighted
int albaGUILutHistogramSwatch::m_LastHighlighted |
|
protected |
◆ m_Material
◆ m_Lut
vtkLookupTable* albaGUILutHistogramSwatch::m_Lut |
|
protected |
◆ m_DataSet
vtkDataSet* albaGUILutHistogramSwatch::m_DataSet |
|
protected |
◆ m_MouseInWindow
bool albaGUILutHistogramSwatch::m_MouseInWindow |
|
protected |
◆ m_Tip
wxString albaGUILutHistogramSwatch::m_Tip |
|
protected |
◆ m_MouseX
int albaGUILutHistogramSwatch::m_MouseX |
|
protected |
◆ m_UpdateTime
unsigned long albaGUILutHistogramSwatch::m_UpdateTime |
|
protected |
◆ m_Editable
bool albaGUILutHistogramSwatch::m_Editable |
|
protected |
◆ m_Font
wxFont albaGUILutHistogramSwatch::m_Font |
|
protected |
The documentation for this class was generated from the following file: