#include <vuMarchingCubes.h>
Inheritance diagram for vuMCHistogram:
Public Types | |
enum | { idMCHPaint = vuMCSlider::idMCSLast, idCbxDelayedUpdate, idClkHistogram, idMCHLast } |
Public Member Functions | |
vuMCHistogram () | |
Default constructor. | |
vuMCHistogram (wxWindow *p, wxSize size, vuMCDecorator< int > *cb=NULL) | |
virtual | ~vuMCHistogram () |
Destructor. | |
void | Clear () |
void | Flush () |
void | Inc (int i, int val=1) |
void | SetSelColor (vuVector c) |
void | SetSelColor (wxColour &c) |
void | Select (int type) |
void | OnTextChange (wxString txt) |
void | OnClicked (int idx) |
void | OnDelayedUpdateChecked (wxCommandEvent &event) |
DECLARE_DYNAMIC_CLASS (vuMCHistogram) | |
DECLARE_EVENT_TABLE () | |
Private Attributes | |
wxCheckBox * | _delayedUpdate |
Checkbox which controlls the widget repainting. | |
wxWindow * | _parent |
We remember the parent for the OnPaint event handler. | |
_HistoCanvas * | _histoDC |
This widget plots the histogram. | |
wxStaticText * | _desc |
If the mouse is over a bar in the histogram, it's value is shown here. | |
vuMCDecorator< int > * | _callback |
The widget also provides a checkbox to change the GUI update behaviour.
Definition at line 865 of file vuMarchingCubes.h.
|
Definition at line 870 of file vuMarchingCubes.h. |
|
Default constructor.
Definition at line 894 of file vuMarchingCubes.h. |
|
Definition at line 952 of file vuMarchingCubes.cpp. |
|
Destructor.
Definition at line 967 of file vuMarchingCubes.cpp. References DEBUGD. |
|
Definition at line 975 of file vuMarchingCubes.cpp. References _histoDC, DEBUG0, and _HistoCanvas::Reset(). Referenced by vuMCMCBHistoCallback::Clear(). |
Here is the call graph for this function:
|
|
|
Reimplemented from vuMCWidget. |
|
Definition at line 981 of file vuMarchingCubes.cpp. References _histoDC, DEBUG0, and _HistoCanvas::OnPaint(). Referenced by vuMCMCBHistoCallback::Flush(), vuMarchingCubes::OnChar(), OnClicked(), vuMarchingCubes::OnCubeChange(), vuMarchingCubes::OnThresChange(), and Select(). |
Here is the call graph for this function:
|
Definition at line 989 of file vuMarchingCubes.cpp. References _histoDC, DEBUG0, and _HistoCanvas::Inc(). Referenced by vuMCMCBHistoCallback::Inc(). |
Here is the call graph for this function:
|
Definition at line 1021 of file vuMarchingCubes.cpp. References _histoDC, DEBUG0, DEBUG5, Flush(), and _HistoCanvas::Select(). Referenced by _HistoCanvas::OnMouse(). |
Here is the call graph for this function:
|
Definition at line 1032 of file vuMarchingCubes.cpp. References _delayedUpdate, _histoDC, DEBUG0, and _HistoCanvas::DelayedUpdate(). |
Here is the call graph for this function:
|
Definition at line 1015 of file vuMarchingCubes.cpp. Referenced by _HistoCanvas::OnMotion(), and _HistoCanvas::OnPaint(). |
|
Definition at line 1008 of file vuMarchingCubes.cpp. References _histoDC, DEBUG0, Flush(), and _HistoCanvas::Select(). Referenced by vuMarchingCubes::OnCubeChange(), and vuMarchingCubes::onDblClick(). |
Here is the call graph for this function:
|
Definition at line 1002 of file vuMarchingCubes.cpp. References _histoDC, DEBUG0, and _HistoCanvas::SetSelColor(). |
Here is the call graph for this function:
|
Definition at line 995 of file vuMarchingCubes.cpp. References _histoDC, DEBUG0, and _HistoCanvas::SetSelColor(). Referenced by vuMarchingCubes::init(), and vuMarchingCubes::OnSetObjectColor(). |
Here is the call graph for this function:
|
Definition at line 889 of file vuMarchingCubes.h. |
|
Checkbox which controlls the widget repainting.
Definition at line 880 of file vuMarchingCubes.h. Referenced by OnDelayedUpdateChecked(). |
|
If the mouse is over a bar in the histogram, it's value is shown here.
Definition at line 887 of file vuMarchingCubes.h. Referenced by OnTextChange(). |
|
This widget plots the histogram.
Definition at line 884 of file vuMarchingCubes.h. Referenced by Clear(), Flush(), Inc(), OnClicked(), OnDelayedUpdateChecked(), Select(), and SetSelColor(). |
|
We remember the parent for the OnPaint event handler.
Definition at line 882 of file vuMarchingCubes.h. |