Go to the documentation of this file.
16 #if MRPT_HAS_WXWIDGETS
19 #include <wx/artprov.h>
20 #include <wx/bitmap.h>
21 #include <wx/busyinfo.h>
22 #include <wx/button.h>
23 #include <wx/checkbox.h>
24 #include <wx/choice.h>
25 #include <wx/colordlg.h>
27 #include <wx/dcclient.h>
28 #include <wx/dcmemory.h>
29 #include <wx/dirdlg.h>
30 #include <wx/filedlg.h>
33 #include <wx/imaglist.h>
37 #include <wx/msgdlg.h>
38 #include <wx/notebook.h>
41 #include <wx/progdlg.h>
42 #include <wx/radiobox.h>
43 #include <wx/settings.h>
45 #include <wx/spinctrl.h>
46 #include <wx/statbmp.h>
47 #include <wx/stattext.h>
48 #include <wx/statusbr.h>
49 #include <wx/string.h>
50 #include <wx/textctrl.h>
51 #include <wx/textdlg.h>
53 #include <wx/toolbar.h>
68 #if MRPT_HAS_WXWIDGETS
72 #define WX_START_TRY \
77 catch (std::exception & e) \
80 mrpt::exception_to_str(e), wxT("Exception"), wxOK, nullptr); \
84 wxMessageBox(_("Untyped exception!"), _("Exception"), wxOK, nullptr); \
131 wxWindow* parent, wxWindowID winID,
int x,
int y,
int width,
143 void OnPaint(wxPaintEvent& ev);
161 const std::string&
sect,
271 DECLARE_EVENT_TABLE()
wxTextCtrl * edRawlogLabel
static const long ID_TEXTCTRL3
static const long ID_BUTTON7
wxRadioBox * rbKinect_int
static const long ID_PANEL7
static const long ID_CHECKBOX7
static const long ID_STATICTEXT7
A panel to select the camera input from all the formats supported by MRPT.
static const long ID_CHECKBOX3
wxButton * btnBrowseVideo
void OnPaint(wxPaintEvent &ev)
wxBitmap * MRPTImage2wxBitmap(const mrpt::img::CImage &img)
Create a wxBitmap from a MRPT image.
wxSpinCtrl * opencvCamIndex
wxStaticText * StaticText11
static const long ID_STATICTEXT10
~CPanelCameraSelection() override
wxStaticText * StaticText9
static const long ID_TEXTCTRL8
static const long ID_CHECKBOX1
wxTextCtrl * edRawlogFile
void OnbtnBrowseRawlogClick(wxCommandEvent &event)
static const long ID_BUTTON9
wxButton * btnBrowseRawlogDir
std::shared_ptr< mrpt::img ::CImage > Ptr
static const long ID_NOTEBOOK1
static const long ID_SPINCTRL1
wxCheckBox * cbBumblebeeRectif
wxImage * MRPTImage2wxImage(const mrpt::img::CImage &img)
Create a wxImage from a MRPT image.
static const long ID_TEXTCTRL6
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
static const long ID_PANEL2
mrpt::img::CImage * wxImage2MRPTImage(const wxImage &img)
Create a MRPT image from a wxImage.
wxCheckBox * cbSR_chRange
static const long ID_STATICTEXT11
static const long ID_TEXTCTRL4
static const long ID_CHECKBOX5
static const long ID_PANEL6
static const long ID_CHOICE1
wxStaticText * StaticText8
static const long ID_TEXTCTRL1
static const long ID_STATICTEXT5
static const long ID_STATICTEXT1
void readConfigIntoVideoSourcePanel(const std::string §, const mrpt::config::CConfigFileBase *cfg) const
void writeConfigFromVideoSourcePanel(const std::string §, mrpt::config::CConfigFileBase *cfg) const
static const long ID_BUTTON8
This class allows loading and storing values and vectors of different types from a configuration text...
static const long ID_STATICTEXT4
static const long ID_STATICTEXT2
static const long ID_CHECKBOX4
wxRadioBox * rbBumblebeeSel
CPanelCameraSelection(wxWindow *parent, wxWindowID id=wxID_ANY)
wxStaticText * StaticText2
wxStaticText * StaticText6
wxChoice * cbOpencvResolution
wxNotebook * pagesCameras
mrptKeyModifier keyEventToMrptKeyModifier(const wxKeyEvent &ev)
Extracts the key modifiers from a wxKeyEvent.
void OnEraseBackground(wxEraseEvent &)
static const long ID_STATICTEXT9
static const long ID_RADIOBOX2
static const long ID_RADIOBOX1
wxCheckBox * cbKinect_Depth
wxMRPTImageControl(wxWindow *parent, wxWindowID winID, int x, int y, int width, int height)
static const long ID_PANEL5
~wxMRPTImageControl() override
wxButton * btnBrowseRawlog
A class for storing images as grayscale or RGB bitmaps.
void OnMouseClick(wxMouseEvent &ev)
void OnbtnBrowseVideoClick(wxCommandEvent &event)
void OnMouseMove(wxMouseEvent &ev)
static const long ID_CHECKBOX9
wxChoice * cbOpencvCamType
void GetBitmap(wxBitmap &bmp)
void OnbtnBrowseRawlogDirClick(wxCommandEvent &event)
static const long ID_TEXTCTRL7
void AssignImage(wxBitmap *img)
Assigns this image.
wxCheckBox * cbKinect_Int
static const long ID_PANEL3
wxStaticText * StaticText4
static const long ID_CHECKBOX8
A custom control to display the bitmap and avoid flicker.
static const long ID_STATICTEXT3
wxStaticText * StaticText3
static const long ID_TEXTCTRL2
static const long ID_STATICTEXT6
wxStaticText * StaticText5
wxStaticText * StaticText1
static const long ID_PANEL8
static const long ID_CHECKBOX6
static const long ID_CHECKBOX2
wxTextCtrl * edCustomCamConfig
wxPoint m_last_mouse_click
wxCheckBox * cbSR_chIntensity
wxStaticText * StaticText7
static const long ID_RADIOBOX3
mrpt::img::CImage::Ptr wxImage2MRPTImagePtr(const wxImage &img)
Create a MRPT image from a wxImage.
static const long ID_PANEL4
static const long ID_CHOICE2
static const long ID_STATICTEXT8
std::string selectedConfig
wxTextCtrl * edRawlogImgDir
wxPoint m_last_mouse_point
static const long ID_PANEL1
wxStaticText * StaticText10
Page generated by Doxygen 1.8.17 for MRPT 2.0.3 at Thu May 21 21:53:32 UTC 2020 | |