#include <vuMarchingCubes.h>
Inheritance diagram for vuMCSlider:
Public Types | |
enum | { idMCSSlider = vuMCRGBColor::idMCRGBLast, idMCSLast } |
Public Member Functions | |
vuMCSlider () | |
Default constructor. | |
vuMCSlider (wxWindow *p, const char *title, const char *format, vuMCDecorator< float > *cb, float min, float max, float val, int slMax=VU_MCS_SLIDER_MAX, bool cont=VU_MCS_CONTINUOUS_UPDATE) | |
virtual | ~vuMCSlider () |
Destructor. | |
operator float () | |
Value getter. | |
void | operator= (float val) |
Value setter. | |
float | Min () |
_min getter. | |
void | Min (float min) |
_min setter. | |
float | Max () |
_max getter. | |
void | Max (float max) |
_max setter. | |
const char * | Format () |
_format getter. | |
void | Format (const char *f) |
_format setter. | |
bool | UpdateMode () |
_updateMode getter. A value of true means, | |
void | UpdateMode (bool mode) |
_updateMode setter. | |
void | OnScroll (wxScrollEvent &event) |
DECLARE_DYNAMIC_CLASS (vuMCSlider) | |
DECLARE_EVENT_TABLE () | |
Private Member Functions | |
void | _setText (float val) |
void | _setValue (float val) |
float | _getValue () |
Private Attributes | |
float | _min |
float | _max |
int | _slMax |
wxStaticText * | _title |
const char * | _format |
wxStaticText * | _value |
wxSlider * | _slider |
vuMCDecorator< float > * | _callback |
bool | _updateMode |
The label which holds the value is updated automatically by the slider and by class updates.
Definition at line 687 of file vuMarchingCubes.h.
|
Definition at line 692 of file vuMarchingCubes.h. |
|
Default constructor.
Definition at line 719 of file vuMarchingCubes.h. |
|
Definition at line 591 of file vuMarchingCubes.cpp. |
|
Destructor.
Definition at line 613 of file vuMarchingCubes.cpp. References DEBUGD. |
|
Definition at line 636 of file vuMarchingCubes.cpp. References _max, _min, _slider, and DEBUG0. Referenced by Max(), Min(), OnScroll(), and operator float(). |
|
Definition at line 622 of file vuMarchingCubes.cpp. References _format, _value, and DEBUG0. Referenced by Max(), Min(), OnScroll(), and operator=(). |
|
Definition at line 628 of file vuMarchingCubes.cpp. References _max, _min, _slider, _slMax, _title, assert, DEBUG0, and DEBUG6. Referenced by Max(), Min(), and operator=(). |
|
|
|
Reimplemented from vuMCWidget. |
|
_format setter.
Definition at line 701 of file vuMarchingCubes.cpp. |
|
_format getter.
Definition at line 695 of file vuMarchingCubes.cpp. References DEBUG0. Referenced by vuMarchingCubes::init(). |
|
_max setter.
Definition at line 681 of file vuMarchingCubes.cpp. References _getValue(), _max, _min, _setText(), _setValue(), assert, DEBUG0, and max. |
Here is the call graph for this function:
|
_max getter.
Definition at line 675 of file vuMarchingCubes.cpp. References DEBUG0. Referenced by vuMarchingCubes::doThresChange(), and vuMarchingCubes::init(). |
|
_min setter.
Definition at line 661 of file vuMarchingCubes.cpp. References _getValue(), _max, _min, _setText(), _setValue(), assert, DEBUG0, and min. |
Here is the call graph for this function:
|
_min getter.
Definition at line 655 of file vuMarchingCubes.cpp. References DEBUG0. Referenced by vuMarchingCubes::doThresChange(), and vuMarchingCubes::init(). |
|
Definition at line 719 of file vuMarchingCubes.cpp. References _getValue(), _setText(), _updateMode, DEBUG0, DEBUG2, and VU_MCS_END_UPDATE. |
Here is the call graph for this function:
|
Value getter.
Definition at line 642 of file vuMarchingCubes.cpp. References _getValue(), and DEBUG0. |
Here is the call graph for this function:
|
Value setter.
Definition at line 648 of file vuMarchingCubes.cpp. References _setText(), _setValue(), and DEBUG0. |
Here is the call graph for this function:
|
_updateMode setter.
Definition at line 713 of file vuMarchingCubes.cpp. References _updateMode, and DEBUG0. |
|
_updateMode getter. A value of true means,
Definition at line 707 of file vuMarchingCubes.cpp. References DEBUG0. Referenced by vuMarchingCubes::addTop(), vuMarchingCubes::createSettingsNotebook(), and vuMarchingCubes::OnUpdateModeChecked(). |
|
Definition at line 708 of file vuMarchingCubes.h. |
|
Definition at line 704 of file vuMarchingCubes.h. Referenced by _setText(), and Format(). |
|
Definition at line 700 of file vuMarchingCubes.h. Referenced by _getValue(), _setValue(), Max(), and Min(). |
|
Definition at line 699 of file vuMarchingCubes.h. Referenced by _getValue(), _setValue(), Max(), and Min(). |
|
Definition at line 706 of file vuMarchingCubes.h. Referenced by _getValue(), and _setValue(). |
|
Definition at line 701 of file vuMarchingCubes.h. Referenced by _setValue(). |
|
Definition at line 703 of file vuMarchingCubes.h. Referenced by _setValue(). |
|
Definition at line 710 of file vuMarchingCubes.h. Referenced by OnScroll(), and UpdateMode(). |
|
Definition at line 705 of file vuMarchingCubes.h. Referenced by _setText(). |