MRPT  1.9.9
mrpt::gui::CPanelCameraSelection Class Reference

Detailed Description

A panel to select the camera input from all the formats supported by MRPT.

Definition at line 154 of file WxUtils.h.

#include <mrpt/gui/WxUtils.h>

Inheritance diagram for mrpt::gui::CPanelCameraSelection:

Public Member Functions

 CPanelCameraSelection (wxWindow *parent, wxWindowID id=wxID_ANY)
 
 ~CPanelCameraSelection () override
 
void readConfigIntoVideoSourcePanel (const std::string &sect, const mrpt::config::CConfigFileBase *cfg) const
 
void writeConfigFromVideoSourcePanel (const std::string &sect, 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)
 

Constructor & Destructor Documentation

◆ CPanelCameraSelection()

CPanelCameraSelection::CPanelCameraSelection ( wxWindow *  parent,
wxWindowID  id = wxID_ANY 
)

Definition at line 252 of file WxUtils.cpp.

References OnbtnBrowseRawlogClick(), and OnbtnBrowseVideoClick().

Here is the call graph for this function:

◆ ~CPanelCameraSelection()

CPanelCameraSelection::~CPanelCameraSelection ( )
override

Definition at line 676 of file WxUtils.cpp.

Member Function Documentation

◆ OnbtnBrowseRawlogClick()

void CPanelCameraSelection::OnbtnBrowseRawlogClick ( wxCommandEvent &  event)
private

Definition at line 643 of file WxUtils.cpp.

References mrpt::system::directoryExists(), edRawlogFile, edRawlogImgDir, and mrpt::system::extractFileDirectory().

Referenced by CPanelCameraSelection().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnbtnBrowseRawlogDirClick()

void CPanelCameraSelection::OnbtnBrowseRawlogDirClick ( wxCommandEvent &  event)
private

Definition at line 666 of file WxUtils.cpp.

References edRawlogImgDir.

◆ OnbtnBrowseVideoClick()

void CPanelCameraSelection::OnbtnBrowseVideoClick ( wxCommandEvent &  event)
private

Definition at line 632 of file WxUtils.cpp.

References edVideoFile.

Referenced by CPanelCameraSelection().

Here is the caller graph for this function:

◆ readConfigIntoVideoSourcePanel()

void CPanelCameraSelection::readConfigIntoVideoSourcePanel ( const std::string sect,
const mrpt::config::CConfigFileBase cfg 
) const

◆ writeConfigFromVideoSourcePanel()

Member Data Documentation

◆ btnBrowseRawlog

wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseRawlog

Definition at line 193 of file WxUtils.h.

◆ btnBrowseRawlogDir

wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseRawlogDir

Definition at line 172 of file WxUtils.h.

◆ btnBrowseVideo

wxButton* mrpt::gui::CPanelCameraSelection::btnBrowseVideo

Definition at line 174 of file WxUtils.h.

◆ cbBumblebeeRectif

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbBumblebeeRectif

Definition at line 201 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ cbGrayscale

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbGrayscale

Definition at line 195 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ cbKinect_3D

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_3D

Definition at line 177 of file WxUtils.h.

Referenced by writeConfigFromVideoSourcePanel().

◆ cbKinect_Depth

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_Depth

Definition at line 204 of file WxUtils.h.

Referenced by writeConfigFromVideoSourcePanel().

◆ cbKinect_Int

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbKinect_Int

Definition at line 202 of file WxUtils.h.

Referenced by writeConfigFromVideoSourcePanel().

◆ cbOpencvCamType

wxChoice* mrpt::gui::CPanelCameraSelection::cbOpencvCamType

Definition at line 188 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ cbOpencvResolution

wxChoice* mrpt::gui::CPanelCameraSelection::cbOpencvResolution

Definition at line 212 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ cbSR_ch3D

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_ch3D

Definition at line 210 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ cbSR_chConf

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chConf

Definition at line 179 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ cbSR_chIntensity

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chIntensity

Definition at line 203 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ cbSR_chRange

wxCheckBox* mrpt::gui::CPanelCameraSelection::cbSR_chRange

Definition at line 196 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ edCustomCamConfig

wxTextCtrl* mrpt::gui::CPanelCameraSelection::edCustomCamConfig

Definition at line 185 of file WxUtils.h.

Referenced by writeConfigFromVideoSourcePanel().

◆ edIPcamURL

wxTextCtrl* mrpt::gui::CPanelCameraSelection::edIPcamURL

Definition at line 182 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ edRawlogFile

wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogFile

◆ edRawlogImgDir

wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogImgDir

◆ edRawlogLabel

wxTextCtrl* mrpt::gui::CPanelCameraSelection::edRawlogLabel

Definition at line 168 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ edSR_IP

wxTextCtrl* mrpt::gui::CPanelCameraSelection::edSR_IP

Definition at line 186 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ edVideoFile

wxTextCtrl* mrpt::gui::CPanelCameraSelection::edVideoFile

◆ ID_BUTTON7

const long CPanelCameraSelection::ID_BUTTON7 = wxNewId()
staticprotected

Definition at line 231 of file WxUtils.h.

◆ ID_BUTTON8

const long CPanelCameraSelection::ID_BUTTON8 = wxNewId()
staticprotected

Definition at line 235 of file WxUtils.h.

◆ ID_BUTTON9

const long CPanelCameraSelection::ID_BUTTON9 = wxNewId()
staticprotected

Definition at line 238 of file WxUtils.h.

◆ ID_CHECKBOX1

const long CPanelCameraSelection::ID_CHECKBOX1 = wxNewId()
staticprotected

Definition at line 244 of file WxUtils.h.

◆ ID_CHECKBOX2

const long CPanelCameraSelection::ID_CHECKBOX2 = wxNewId()
staticprotected

Definition at line 261 of file WxUtils.h.

◆ ID_CHECKBOX3

const long CPanelCameraSelection::ID_CHECKBOX3 = wxNewId()
staticprotected

Definition at line 250 of file WxUtils.h.

◆ ID_CHECKBOX4

const long CPanelCameraSelection::ID_CHECKBOX4 = wxNewId()
staticprotected

Definition at line 251 of file WxUtils.h.

◆ ID_CHECKBOX5

const long CPanelCameraSelection::ID_CHECKBOX5 = wxNewId()
staticprotected

Definition at line 252 of file WxUtils.h.

◆ ID_CHECKBOX6

const long CPanelCameraSelection::ID_CHECKBOX6 = wxNewId()
staticprotected

Definition at line 253 of file WxUtils.h.

◆ ID_CHECKBOX7

const long CPanelCameraSelection::ID_CHECKBOX7 = wxNewId()
staticprotected

Definition at line 255 of file WxUtils.h.

◆ ID_CHECKBOX8

const long CPanelCameraSelection::ID_CHECKBOX8 = wxNewId()
staticprotected

Definition at line 256 of file WxUtils.h.

◆ ID_CHECKBOX9

const long CPanelCameraSelection::ID_CHECKBOX9 = wxNewId()
staticprotected

Definition at line 257 of file WxUtils.h.

◆ ID_CHOICE1

const long CPanelCameraSelection::ID_CHOICE1 = wxNewId()
staticprotected

Definition at line 220 of file WxUtils.h.

◆ ID_CHOICE2

const long CPanelCameraSelection::ID_CHOICE2 = wxNewId()
staticprotected

Definition at line 222 of file WxUtils.h.

◆ ID_NOTEBOOK1

const long CPanelCameraSelection::ID_NOTEBOOK1 = wxNewId()
staticprotected

Definition at line 260 of file WxUtils.h.

◆ ID_PANEL1

const long CPanelCameraSelection::ID_PANEL1 = wxNewId()
staticprotected

Definition at line 254 of file WxUtils.h.

◆ ID_PANEL2

const long CPanelCameraSelection::ID_PANEL2 = wxNewId()
staticprotected

Definition at line 223 of file WxUtils.h.

◆ ID_PANEL3

const long CPanelCameraSelection::ID_PANEL3 = wxNewId()
staticprotected

Definition at line 226 of file WxUtils.h.

◆ ID_PANEL4

const long CPanelCameraSelection::ID_PANEL4 = wxNewId()
staticprotected

Definition at line 228 of file WxUtils.h.

◆ ID_PANEL5

const long CPanelCameraSelection::ID_PANEL5 = wxNewId()
staticprotected

Definition at line 232 of file WxUtils.h.

◆ ID_PANEL6

const long CPanelCameraSelection::ID_PANEL6 = wxNewId()
staticprotected

Definition at line 242 of file WxUtils.h.

◆ ID_PANEL7

const long CPanelCameraSelection::ID_PANEL7 = wxNewId()
staticprotected

Definition at line 246 of file WxUtils.h.

◆ ID_PANEL8

const long CPanelCameraSelection::ID_PANEL8 = wxNewId()
staticprotected

Definition at line 259 of file WxUtils.h.

◆ ID_RADIOBOX1

const long CPanelCameraSelection::ID_RADIOBOX1 = wxNewId()
staticprotected

Definition at line 243 of file WxUtils.h.

◆ ID_RADIOBOX2

const long CPanelCameraSelection::ID_RADIOBOX2 = wxNewId()
staticprotected

Definition at line 247 of file WxUtils.h.

◆ ID_RADIOBOX3

const long CPanelCameraSelection::ID_RADIOBOX3 = wxNewId()
staticprotected

Definition at line 258 of file WxUtils.h.

◆ ID_SPINCTRL1

const long CPanelCameraSelection::ID_SPINCTRL1 = wxNewId()
staticprotected

Definition at line 218 of file WxUtils.h.

◆ ID_STATICTEXT1

const long CPanelCameraSelection::ID_STATICTEXT1 = wxNewId()
staticprotected

Definition at line 217 of file WxUtils.h.

◆ ID_STATICTEXT10

const long CPanelCameraSelection::ID_STATICTEXT10 = wxNewId()
staticprotected

Definition at line 239 of file WxUtils.h.

◆ ID_STATICTEXT11

const long CPanelCameraSelection::ID_STATICTEXT11 = wxNewId()
staticprotected

Definition at line 241 of file WxUtils.h.

◆ ID_STATICTEXT2

const long CPanelCameraSelection::ID_STATICTEXT2 = wxNewId()
staticprotected

Definition at line 245 of file WxUtils.h.

◆ ID_STATICTEXT3

const long CPanelCameraSelection::ID_STATICTEXT3 = wxNewId()
staticprotected

Definition at line 219 of file WxUtils.h.

◆ ID_STATICTEXT4

const long CPanelCameraSelection::ID_STATICTEXT4 = wxNewId()
staticprotected

Definition at line 248 of file WxUtils.h.

◆ ID_STATICTEXT5

const long CPanelCameraSelection::ID_STATICTEXT5 = wxNewId()
staticprotected

Definition at line 236 of file WxUtils.h.

◆ ID_STATICTEXT6

const long CPanelCameraSelection::ID_STATICTEXT6 = wxNewId()
staticprotected

Definition at line 221 of file WxUtils.h.

◆ ID_STATICTEXT7

const long CPanelCameraSelection::ID_STATICTEXT7 = wxNewId()
staticprotected

Definition at line 224 of file WxUtils.h.

◆ ID_STATICTEXT8

const long CPanelCameraSelection::ID_STATICTEXT8 = wxNewId()
staticprotected

Definition at line 229 of file WxUtils.h.

◆ ID_STATICTEXT9

const long CPanelCameraSelection::ID_STATICTEXT9 = wxNewId()
staticprotected

Definition at line 233 of file WxUtils.h.

◆ ID_TEXTCTRL1

const long CPanelCameraSelection::ID_TEXTCTRL1 = wxNewId()
staticprotected

Definition at line 225 of file WxUtils.h.

◆ ID_TEXTCTRL2

const long CPanelCameraSelection::ID_TEXTCTRL2 = wxNewId()
staticprotected

Definition at line 230 of file WxUtils.h.

◆ ID_TEXTCTRL3

const long CPanelCameraSelection::ID_TEXTCTRL3 = wxNewId()
staticprotected

Definition at line 234 of file WxUtils.h.

◆ ID_TEXTCTRL4

const long CPanelCameraSelection::ID_TEXTCTRL4 = wxNewId()
staticprotected

Definition at line 249 of file WxUtils.h.

◆ ID_TEXTCTRL6

const long CPanelCameraSelection::ID_TEXTCTRL6 = wxNewId()
staticprotected

Definition at line 227 of file WxUtils.h.

◆ ID_TEXTCTRL7

const long CPanelCameraSelection::ID_TEXTCTRL7 = wxNewId()
staticprotected

Definition at line 237 of file WxUtils.h.

◆ ID_TEXTCTRL8

const long CPanelCameraSelection::ID_TEXTCTRL8 = wxNewId()
staticprotected

Definition at line 240 of file WxUtils.h.

◆ opencvCamIndex

wxSpinCtrl* mrpt::gui::CPanelCameraSelection::opencvCamIndex

Definition at line 181 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ pagesCameras

wxNotebook* mrpt::gui::CPanelCameraSelection::pagesCameras

Definition at line 205 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ Panel1

wxPanel* mrpt::gui::CPanelCameraSelection::Panel1

Definition at line 187 of file WxUtils.h.

◆ Panel2

wxPanel* mrpt::gui::CPanelCameraSelection::Panel2

Definition at line 209 of file WxUtils.h.

◆ Panel3

wxPanel* mrpt::gui::CPanelCameraSelection::Panel3

Definition at line 194 of file WxUtils.h.

◆ Panel4

wxPanel* mrpt::gui::CPanelCameraSelection::Panel4

Definition at line 176 of file WxUtils.h.

◆ Panel5

wxPanel* mrpt::gui::CPanelCameraSelection::Panel5

Definition at line 171 of file WxUtils.h.

◆ Panel6

wxPanel* mrpt::gui::CPanelCameraSelection::Panel6

Definition at line 192 of file WxUtils.h.

◆ pnKinect

wxPanel* mrpt::gui::CPanelCameraSelection::pnKinect

Definition at line 199 of file WxUtils.h.

◆ pnSwissRanger

wxPanel* mrpt::gui::CPanelCameraSelection::pnSwissRanger

Definition at line 206 of file WxUtils.h.

◆ rbBumblebeeSel

wxRadioBox* mrpt::gui::CPanelCameraSelection::rbBumblebeeSel

Definition at line 173 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ rbKinect_int

wxRadioBox* mrpt::gui::CPanelCameraSelection::rbKinect_int

Definition at line 178 of file WxUtils.h.

Referenced by writeConfigFromVideoSourcePanel().

◆ rbSR_usb

wxRadioBox* mrpt::gui::CPanelCameraSelection::rbSR_usb

Definition at line 191 of file WxUtils.h.

Referenced by readConfigIntoVideoSourcePanel(), and writeConfigFromVideoSourcePanel().

◆ StaticText1

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText1

Definition at line 189 of file WxUtils.h.

◆ StaticText10

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText10

Definition at line 169 of file WxUtils.h.

◆ StaticText11

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText11

Definition at line 184 of file WxUtils.h.

◆ StaticText2

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText2

Definition at line 175 of file WxUtils.h.

◆ StaticText3

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText3

Definition at line 190 of file WxUtils.h.

◆ StaticText4

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText4

Definition at line 211 of file WxUtils.h.

◆ StaticText5

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText5

Definition at line 197 of file WxUtils.h.

◆ StaticText6

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText6

Definition at line 180 of file WxUtils.h.

◆ StaticText7

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText7

Definition at line 198 of file WxUtils.h.

◆ StaticText8

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText8

Definition at line 183 of file WxUtils.h.

◆ StaticText9

wxStaticText* mrpt::gui::CPanelCameraSelection::StaticText9

Definition at line 170 of file WxUtils.h.




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