MRPT
1.9.9
|
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) | |
~CPanelCameraSelection () override | |
void | readConfigIntoVideoSourcePanel (const std::string §, const mrpt::config::CConfigFileBase *cfg) const |
void | writeConfigFromVideoSourcePanel (const std::string §, mrpt::config::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 252 of file WxUtils.cpp.
References OnbtnBrowseRawlogClick(), and OnbtnBrowseVideoClick().
|
override |
Definition at line 676 of file WxUtils.cpp.
|
private |
Definition at line 643 of file WxUtils.cpp.
References mrpt::system::directoryExists(), edRawlogFile, edRawlogImgDir, and mrpt::system::extractFileDirectory().
Referenced by CPanelCameraSelection().
|
private |
Definition at line 666 of file WxUtils.cpp.
References edRawlogImgDir.
|
private |
Definition at line 632 of file WxUtils.cpp.
References edVideoFile.
Referenced by CPanelCameraSelection().
void CPanelCameraSelection::readConfigIntoVideoSourcePanel | ( | const std::string & | sect, |
const mrpt::config::CConfigFileBase * | cfg | ||
) | const |
Definition at line 851 of file WxUtils.cpp.
References 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::config::CConfigFileBase::read_bool(), mrpt::config::CConfigFileBase::read_int(), mrpt::config::CConfigFileBase::read_string(), THROW_EXCEPTION_FMT, and url.
void CPanelCameraSelection::writeConfigFromVideoSourcePanel | ( | const std::string & | sect, |
mrpt::config::CConfigFileBase * | cfg | ||
) | const |
Definition at line 685 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::config::CConfigFileMemory::getAllKeys(), mrpt::config::CConfigFileMemory::getAllSections(), MRPT_END, MRPT_START, opencvCamIndex, pagesCameras, rbBumblebeeSel, rbKinect_int, rbSR_usb, mrpt::config::CConfigFileBase::read_string(), mrpt::img::CImage::setImagesPathBase(), THROW_EXCEPTION, and mrpt::config::CConfigFileBase::write().
wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseRawlog |
wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseRawlogDir |
wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseVideo |
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbBumblebeeRectif |
Definition at line 201 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbGrayscale |
Definition at line 195 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_3D |
Definition at line 177 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_Depth |
Definition at line 204 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_Int |
Definition at line 202 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxChoice* mrpt::gui::CPanelCameraSelection::cbOpencvCamType |
Definition at line 188 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxChoice* mrpt::gui::CPanelCameraSelection::cbOpencvResolution |
Definition at line 212 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_ch3D |
Definition at line 210 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chConf |
Definition at line 179 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chIntensity |
Definition at line 203 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chRange |
Definition at line 196 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edCustomCamConfig |
Definition at line 185 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edIPcamURL |
Definition at line 182 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogFile |
Definition at line 207 of file WxUtils.h.
Referenced by OnbtnBrowseRawlogClick(), readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogImgDir |
Definition at line 208 of file WxUtils.h.
Referenced by OnbtnBrowseRawlogClick(), OnbtnBrowseRawlogDirClick(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogLabel |
Definition at line 168 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edSR_IP |
Definition at line 186 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxTextCtrl* mrpt::gui::CPanelCameraSelection::edVideoFile |
Definition at line 200 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 181 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxNotebook* mrpt::gui::CPanelCameraSelection::pagesCameras |
Definition at line 205 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxRadioBox* mrpt::gui::CPanelCameraSelection::rbBumblebeeSel |
Definition at line 173 of file WxUtils.h.
Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().
wxRadioBox* mrpt::gui::CPanelCameraSelection::rbKinect_int |
Definition at line 178 of file WxUtils.h.
Referenced by writeConfigFromVideoSourcePanel().
wxRadioBox* mrpt::gui::CPanelCameraSelection::rbSR_usb |
Definition at line 191 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.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |