Go to the documentation of this file.
16 #if MRPT_HAS_WXWIDGETS
19 #include <wx/statbmp.h>
21 #include <wx/toolbar.h>
24 #include <wx/statusbr.h>
25 #include <wx/msgdlg.h>
26 #include <wx/artprov.h>
27 #include <wx/bitmap.h>
30 #include <wx/string.h>
31 #include <wx/msgdlg.h>
33 #include <wx/filedlg.h>
34 #include <wx/progdlg.h>
35 #include <wx/imaglist.h>
36 #include <wx/busyinfo.h>
38 #include <wx/textdlg.h>
39 #include <wx/dirdlg.h>
40 #include <wx/colordlg.h>
41 #include <wx/dcmemory.h>
44 #include <wx/spinctrl.h>
46 #include <wx/notebook.h>
47 #include <wx/button.h>
49 #include <wx/stattext.h>
50 #include <wx/textctrl.h>
51 #include <wx/choice.h>
52 #include <wx/radiobox.h>
53 #include <wx/settings.h>
54 #include <wx/checkbox.h>
56 #include <wx/dcclient.h>
71 #if MRPT_HAS_WXWIDGETS
75 #define _U(x) wxString::From8BitData(x)
83 #define WX_START_TRY \
88 catch (std::exception & e) \
91 wxString(e.what(), wxConvUTF8), wxT("Exception"), wxOK, nullptr); \
95 wxMessageBox(_("Untyped exception!"), _("Exception"), wxOK, nullptr); \
150 wxWindow* parent, wxWindowID winID,
int x,
int y,
int width,
162 void OnPaint(wxPaintEvent& ev);
288 DECLARE_EVENT_TABLE()
wxTextCtrl * edRawlogLabel
static const long ID_TEXTCTRL3
static const long ID_BUTTON7
mrptKeyModifier keyEventToMrptKeyModifier(const wxKeyEvent &ev)
Extracts the key modifiers from a wxKeyEvent.
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.
wxImage * MRPTImage2wxImage(const mrpt::img::CImage &img)
Create a wxImage from a MRPT image.
mrpt::img::CImage::Ptr wxImage2MRPTImagePtr(const wxImage &img)
Create a MRPT image from a wxImage.
static const long ID_CHECKBOX3
wxButton * btnBrowseVideo
void OnPaint(wxPaintEvent &ev)
wxSpinCtrl * opencvCamIndex
wxStaticText * StaticText11
static const long ID_STATICTEXT10
wxStaticText * StaticText9
static const long ID_TEXTCTRL8
static const long ID_CHECKBOX1
wxTextCtrl * edRawlogFile
void OnbtnBrowseRawlogClick(wxCommandEvent &event)
virtual ~wxMRPTImageControl()
static const long ID_BUTTON9
wxButton * btnBrowseRawlogDir
static const long ID_NOTEBOOK1
static const long ID_SPINCTRL1
wxCheckBox * cbBumblebeeRectif
static const long ID_TEXTCTRL6
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
static const long ID_PANEL2
wxCheckBox * cbSR_chRange
static const long ID_STATICTEXT11
static const long ID_TEXTCTRL4
static const long ID_CHECKBOX5
static const long ID_PANEL6
mrpt::img::CImage * wxImage2MRPTImage(const wxImage &img)
Create a MRPT image from a wxImage.
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
void OnEraseBackground(wxEraseEvent &)
static const long ID_STATICTEXT9
static const long ID_RADIOBOX2
static const long ID_RADIOBOX1
wxCheckBox * cbKinect_Depth
wxBitmap * MRPTImage2wxBitmap(const mrpt::img::CImage &img)
Create a wxBitmap from a MRPT image.
wxMRPTImageControl(wxWindow *parent, wxWindowID winID, int x, int y, int width, int height)
static const long ID_PANEL5
wxButton * btnBrowseRawlog
GLenum GLsizei GLsizei height
A class for storing images as grayscale or RGB bitmaps.
void OnMouseClick(wxMouseEvent &ev)
wxImage * IplImage2wxImage(void *img)
Create a wxImage from a IPL image.
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
std::shared_ptr< CImage > Ptr
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
virtual ~CPanelCameraSelection()
wxStaticText * StaticText5
wxStaticText * StaticText1
static const long ID_PANEL8
static const long ID_CHECKBOX6
static const long ID_CHECKBOX2
GLsizei const GLchar ** string
wxTextCtrl * edCustomCamConfig
wxPoint m_last_mouse_click
wxCheckBox * cbSR_chIntensity
This class implements a config file-like interface over a memory-stored string list.
wxStaticText * StaticText7
static const long ID_RADIOBOX3
static const long ID_PANEL4
static const long ID_CHOICE2
static const long ID_STATICTEXT8
mrpt::config::CConfigFileMemory selectedConfig
wxTextCtrl * edRawlogImgDir
wxPoint m_last_mouse_point
static const long ID_PANEL1
wxStaticText * StaticText10
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |