Basic Image AlgorithmS Library
2.8.0
|
this provides a gui interface for the BIAS::Param class. More...
#include <Gui/ParamGUI.hh>
Public Member Functions | |
void | AddBoolWidgets (BIAS::ParamTypeBool *item) |
void | AddDoubleWidgets (BIAS::ParamTypeDouble *item) |
void | AddEnumWidgets (BIAS::ParamTypeEnum *item) |
void | AddIntWidgets (BIAS::ParamTypeInt *item) |
void | AddStringWidgets (BIAS::ParamTypeString *item) |
void | AddVecDblWidgets (BIAS::ParamTypeVecDbl *item) |
void | AddVecIntWidgets (BIAS::ParamTypeVecInt *item) |
ParamGUIPanel (wxWindow *parent) | |
~ParamGUIPanel () | |
Protected Member Functions | |
void | OnCheckBox (wxCommandEvent &event) |
void | OnChoice (wxCommandEvent &event) |
void | OnSpinCtrl (wxSpinEvent &event) |
void | OnTextEnter (wxCommandEvent &event) |
Protected Attributes | |
wxFlexGridSizer * | Grid_ |
wxWindow * | Parent_ |
this provides a gui interface for the BIAS::Param class.
It is derived from wxPanel and can therefor be integrated in any wx application
Definition at line 32 of file ParamGUI.hh.
ParamGUIPanel::ParamGUIPanel | ( | wxWindow * | parent | ) |
Definition at line 153 of file ParamGUI.cpp.
ParamGUIPanel::~ParamGUIPanel | ( | ) |
Definition at line 172 of file ParamGUI.cpp.
void ParamGUIPanel::AddBoolWidgets | ( | BIAS::ParamTypeBool * | item | ) |
Definition at line 210 of file ParamGUI.cpp.
References BIAS::AsciiToWx(), Grid_, BIAS::ParamTypeBase::Help_, BIAS::ItemAndWidget::item, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeBool::value_, and BIAS::ItemAndWidget::widget.
Referenced by BIAS::ParamGUI::GetPanel().
void ParamGUIPanel::AddDoubleWidgets | ( | BIAS::ParamTypeDouble * | item | ) |
Definition at line 234 of file ParamGUI.cpp.
References BIAS::AsciiToWx(), Grid_, BIAS::ParamTypeBase::Help_, BIAS::ItemAndWidget::item, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeDouble::value_, and BIAS::ItemAndWidget::widget.
Referenced by BIAS::ParamGUI::GetPanel().
void ParamGUIPanel::AddEnumWidgets | ( | BIAS::ParamTypeEnum * | item | ) |
Definition at line 328 of file ParamGUI.cpp.
References BIAS::wxChoiceWithMemory::AddDataToMemory(), BIAS::AsciiToWx(), BIAS::wxChoiceWithMemory::GetSelectionForIndex(), Grid_, BIAS::ParamTypeBase::Help_, BIAS::ItemAndWidget::item, BIAS::ParamTypeEnum::Map_, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeEnum::value_, and BIAS::ItemAndWidget::widget.
Referenced by BIAS::ParamGUI::GetPanel().
void ParamGUIPanel::AddIntWidgets | ( | BIAS::ParamTypeInt * | item | ) |
Definition at line 185 of file ParamGUI.cpp.
References BIAS::AsciiToWx(), BIAS::ItemAndWidget::item, and BIAS::ItemAndWidget::widget.
Referenced by BIAS::ParamGUI::GetPanel().
void ParamGUIPanel::AddStringWidgets | ( | BIAS::ParamTypeString * | item | ) |
Definition at line 259 of file ParamGUI.cpp.
References BIAS::AsciiToWx(), Grid_, BIAS::ParamTypeBase::Help_, BIAS::ItemAndWidget::item, BIAS::ParamTypeBase::Name_, BIAS::ParamTypeString::value_, and BIAS::ItemAndWidget::widget.
Referenced by BIAS::ParamGUI::GetPanel().
void ParamGUIPanel::AddVecDblWidgets | ( | BIAS::ParamTypeVecDbl * | item | ) |
Definition at line 282 of file ParamGUI.cpp.
References BIAS::AsciiToWx(), BIAS::ParamTypeVecDbl::GetValueString(), Grid_, BIAS::ParamTypeBase::Help_, BIAS::ItemAndWidget::item, BIAS::ParamTypeBase::Name_, and BIAS::ItemAndWidget::widget.
Referenced by BIAS::ParamGUI::GetPanel().
void ParamGUIPanel::AddVecIntWidgets | ( | BIAS::ParamTypeVecInt * | item | ) |
Definition at line 305 of file ParamGUI.cpp.
References BIAS::AsciiToWx(), BIAS::ParamTypeVecInt::GetValueString(), Grid_, BIAS::ParamTypeBase::Help_, BIAS::ItemAndWidget::item, BIAS::ParamTypeBase::Name_, and BIAS::ItemAndWidget::widget.
Referenced by BIAS::ParamGUI::GetPanel().
|
protected |
Definition at line 394 of file ParamGUI.cpp.
|
protected |
Definition at line 540 of file ParamGUI.cpp.
References BIAS::ParamTypeBase::CallbackObject_, BIAS::ParamTypeBase::Name_, BIAS::ParamCallbackInterface::ParameterChanged(), and BIAS::ParamTypeEnum::value_.
|
protected |
Definition at line 369 of file ParamGUI.cpp.
|
protected |
Definition at line 418 of file ParamGUI.cpp.
|
protected |
Definition at line 52 of file ParamGUI.hh.
Referenced by AddBoolWidgets(), AddDoubleWidgets(), AddEnumWidgets(), AddStringWidgets(), AddVecDblWidgets(), AddVecIntWidgets(), and ParamGUIPanel().
|
protected |
Definition at line 48 of file ParamGUI.hh.
Referenced by ParamGUIPanel().