A panel to select the camera input from all the formats supported by MRPT.
#include <mrpt/gui/WxUtils.h>
Public Member Functions | |
CPanelCameraSelection (wxWindow *parent, wxWindowID id=wxID_ANY) | |
virtual | ~CPanelCameraSelection () |
void | readConfigIntoVideoSourcePanel (const std::string §, const mrpt::utils::CConfigFileBase *cfg) const |
void | writeConfigFromVideoSourcePanel (const std::string §, mrpt::utils::CConfigFileBase *cfg) const |
Public Attributes | |
wxTextCtrl * | edRawlogLabel |
wxStaticText * | StaticText10 |
wxStaticText * | StaticText9 |
wxPanel * | Panel5 |
wxButton * | btnBrowseRawlogDir |
wxRadioBox * | rbBumblebeeSel |
wxButton * | btnBrowseVideo |
wxStaticText * | StaticText2 |
wxPanel * | Panel4 |
wxCheckBox * | cbKinect_3D |
wxRadioBox * | rbKinect_int |
wxCheckBox * | cbSR_chConf |
wxStaticText * | StaticText6 |
wxSpinCtrl * | opencvCamIndex |
wxTextCtrl * | edIPcamURL |
wxStaticText * | StaticText8 |
wxStaticText * | StaticText11 |
wxTextCtrl * | edCustomCamConfig |
wxTextCtrl * | edSR_IP |
wxPanel * | Panel1 |
wxChoice * | cbOpencvCamType |
wxStaticText * | StaticText1 |
wxStaticText * | StaticText3 |
wxRadioBox * | rbSR_usb |
wxPanel * | Panel6 |
wxButton * | btnBrowseRawlog |
wxPanel * | Panel3 |
wxCheckBox * | cbGrayscale |
wxCheckBox * | cbSR_chRange |
wxStaticText * | StaticText5 |
wxStaticText * | StaticText7 |
wxPanel * | pnKinect |
wxTextCtrl * | edVideoFile |
wxCheckBox * | cbBumblebeeRectif |
wxCheckBox * | cbKinect_Int |
wxCheckBox * | cbSR_chIntensity |
wxCheckBox * | cbKinect_Depth |
wxNotebook * | pagesCameras |
wxPanel * | pnSwissRanger |
wxTextCtrl * | edRawlogFile |
wxTextCtrl * | edRawlogImgDir |
wxPanel * | Panel2 |
wxCheckBox * | cbSR_ch3D |
wxStaticText * | StaticText4 |
wxChoice * | cbOpencvResolution |
Static Protected Attributes | |
static const long | ID_STATICTEXT1 = wxNewId() |
static const long | ID_SPINCTRL1 = wxNewId() |
static const long | ID_STATICTEXT3 = wxNewId() |
static const long | ID_CHOICE1 = wxNewId() |
static const long | ID_STATICTEXT6 = wxNewId() |
static const long | ID_CHOICE2 = wxNewId() |
static const long | ID_PANEL2 = wxNewId() |
static const long | ID_STATICTEXT7 = wxNewId() |
static const long | ID_TEXTCTRL1 = wxNewId() |
static const long | ID_PANEL3 = wxNewId() |
static const long | ID_TEXTCTRL6 = wxNewId() |
static const long | ID_PANEL4 = wxNewId() |
static const long | ID_STATICTEXT8 = wxNewId() |
static const long | ID_TEXTCTRL2 = wxNewId() |
static const long | ID_BUTTON7 = wxNewId() |
static const long | ID_PANEL5 = wxNewId() |
static const long | ID_STATICTEXT9 = wxNewId() |
static const long | ID_TEXTCTRL3 = wxNewId() |
static const long | ID_BUTTON8 = wxNewId() |
static const long | ID_STATICTEXT5 = wxNewId() |
static const long | ID_TEXTCTRL7 = wxNewId() |
static const long | ID_BUTTON9 = wxNewId() |
static const long | ID_STATICTEXT10 = wxNewId() |
static const long | ID_TEXTCTRL8 = wxNewId() |
static const long | ID_STATICTEXT11 = wxNewId() |
static const long | ID_PANEL6 = wxNewId() |
static const long | ID_RADIOBOX1 = wxNewId() |
static const long | ID_CHECKBOX1 = wxNewId() |
static const long | ID_STATICTEXT2 = wxNewId() |
static const long | ID_PANEL7 = wxNewId() |
static const long | ID_RADIOBOX2 = wxNewId() |
static const long | ID_STATICTEXT4 = wxNewId() |
static const long | ID_TEXTCTRL4 = wxNewId() |
static const long | ID_CHECKBOX3 = wxNewId() |
static const long | ID_CHECKBOX4 = wxNewId() |
static const long | ID_CHECKBOX5 = wxNewId() |
static const long | ID_CHECKBOX6 = wxNewId() |
static const long | ID_PANEL1 = wxNewId() |
static const long | ID_CHECKBOX7 = wxNewId() |
static const long | ID_CHECKBOX8 = wxNewId() |
static const long | ID_CHECKBOX9 = wxNewId() |
static const long | ID_RADIOBOX3 = wxNewId() |
static const long | ID_PANEL8 = wxNewId() |
static const long | ID_NOTEBOOK1 = wxNewId() |
static const long | ID_CHECKBOX2 = wxNewId() |
Private Member Functions | |
void | OnbtnBrowseVideoClick (wxCommandEvent &event) |
void | OnbtnBrowseRawlogClick (wxCommandEvent &event) |
void | OnbtnBrowseRawlogDirClick (wxCommandEvent &event) |
CPanelCameraSelection::CPanelCameraSelection | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY |
||
) |
Definition at line 437 of file WxUtils.cpp.
References OnbtnBrowseRawlogClick(), OnbtnBrowseRawlogDirClick(), and OnbtnBrowseVideoClick().
|
virtual |
Definition at line 712 of file WxUtils.cpp.
|
private |
Definition at line 675 of file WxUtils.cpp.
References _U, mrpt::system::directoryExists(), edRawlogFile, edRawlogImgDir, and mrpt::system::extractFileDirectory().
Referenced by CPanelCameraSelection().
|
private |
Definition at line 698 of file WxUtils.cpp.
References edRawlogImgDir.
Referenced by CPanelCameraSelection().
|
private |
Definition at line 660 of file WxUtils.cpp.
References edVideoFile.
Referenced by CPanelCameraSelection().
void CPanelCameraSelection::readConfigIntoVideoSourcePanel | ( | const std::string & | sect, |
const mrpt::utils::CConfigFileBase * | cfg | ||
) | const |
Definition at line 867 of file WxUtils.cpp.
References _U, cbBumblebeeRectif, cbGrayscale, cbOpencvCamType, cbOpencvResolution, cbSR_ch3D, cbSR_chConf, cbSR_chIntensity, cbSR_chRange, edIPcamURL, edRawlogFile, edRawlogLabel, edSR_IP, edVideoFile, MRPT_END, MRPT_START, opencvCamIndex, pagesCameras, rbBumblebeeSel, rbSR_usb, mrpt::utils::CConfigFileBase::read_bool(), mrpt::utils::CConfigFileBase::read_int(), mrpt::utils::CConfigFileBase::read_string(), and THROW_EXCEPTION_FMT.
void CPanelCameraSelection::writeConfigFromVideoSourcePanel | ( | const std::string & | sect, |
mrpt::utils::CConfigFileBase * | cfg | ||
) | const |
Definition at line 722 of file WxUtils.cpp.
References cbBumblebeeRectif, cbGrayscale, cbKinect_3D, cbKinect_Depth, cbKinect_Int, cbOpencvCamType, cbOpencvResolution, cbSR_ch3D, cbSR_chConf, cbSR_chIntensity, cbSR_chRange, edCustomCamConfig, edIPcamURL, edRawlogFile, edRawlogImgDir, edRawlogLabel, edSR_IP, edVideoFile, mrpt::format(), mrpt::utils::CConfigFileMemory::getAllKeys(), mrpt::utils::CConfigFileMemory::getAllSections(), MRPT_END, MRPT_START, opencvCamIndex, pagesCameras, rbBumblebeeSel, rbKinect_int, rbSR_usb, mrpt::utils::CConfigFileBase::read_string(), THROW_EXCEPTION, and mrpt::utils::CConfigFileBase::write().
Referenced by mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests().
wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseRawlog |
wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseRawlogDir |
wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseVideo |
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbBumblebeeRectif |
Definition at line 212 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbGrayscale |
Definition at line 206 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_3D |
Definition at line 188 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_Depth |
Definition at line 215 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_Int |
Definition at line 213 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxChoice* mrpt::gui::CPanelCameraSelection::cbOpencvCamType |
Definition at line 199 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxChoice* mrpt::gui::CPanelCameraSelection::cbOpencvResolution |
Definition at line 223 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_ch3D |
Definition at line 221 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chConf |
Definition at line 190 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chIntensity |
Definition at line 214 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chRange |
Definition at line 207 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edCustomCamConfig |
Definition at line 196 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edIPcamURL |
Definition at line 193 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogFile |
Definition at line 218 of file WxUtils.h.
Referenced by OnbtnBrowseRawlogClick(), readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogImgDir |
Definition at line 219 of file WxUtils.h.
Referenced by OnbtnBrowseRawlogClick(), OnbtnBrowseRawlogDirClick(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogLabel |
Definition at line 179 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edSR_IP |
Definition at line 197 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edVideoFile |
Definition at line 211 of file WxUtils.h.
Referenced by OnbtnBrowseVideoClick(), readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
wxSpinCtrl* mrpt::gui::CPanelCameraSelection::opencvCamIndex |
Definition at line 192 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxNotebook* mrpt::gui::CPanelCameraSelection::pagesCameras |
Definition at line 216 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxRadioBox* mrpt::gui::CPanelCameraSelection::rbBumblebeeSel |
Definition at line 184 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxRadioBox* mrpt::gui::CPanelCameraSelection::rbKinect_int |
Definition at line 189 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxRadioBox* mrpt::gui::CPanelCameraSelection::rbSR_usb |
Definition at line 202 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText1 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText10 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText11 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText2 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText3 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText4 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText5 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText6 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText7 |
wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText8 |
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |