Classes | |
class | mrpt::gui::wxMRPTImageControl |
A custom control to display the bitmap and avoid flicker. More... | |
class | mrpt::gui::CPanelCameraSelection |
A panel to select the camera input from all the formats supported by MRPT. More... | |
Namespaces | |
mrpt::gui::detail | |
Auxiliary structures used internally to mrpt. | |
Macros | |
#define | _U(x) (x) |
#define | WX_START_TRY |
#define | WX_END_TRY |
Functions | |
wxImage GUI_IMPEXP * | mrpt::gui::MRPTImage2wxImage (const mrpt::utils::CImage &img) |
Create a wxImage from a MRPT image. More... | |
wxBitmap GUI_IMPEXP * | mrpt::gui::MRPTImage2wxBitmap (const mrpt::utils::CImage &img) |
Create a wxBitmap from a MRPT image. More... | |
wxImage GUI_IMPEXP * | mrpt::gui::IplImage2wxImage (void *img) |
Create a wxImage from a IPL image. More... | |
mrpt::utils::CImage GUI_IMPEXP * | mrpt::gui::wxImage2MRPTImage (const wxImage &img) |
Create a MRPT image from a wxImage. More... | |
mrpt::utils::CImagePtr GUI_IMPEXP | mrpt::gui::wxImage2MRPTImagePtr (const wxImage &img) |
Create a MRPT image from a wxImage. More... | |
mrptKeyModifier | mrpt::gui::keyEventToMrptKeyModifier (const wxKeyEvent &ev) |
Extracts the key modifiers from a wxKeyEvent. More... | |
#define WX_END_TRY |
wxImage * mrpt::gui::IplImage2wxImage | ( | void * | img | ) |
Create a wxImage from a IPL image.
The new object must be freed by the user when not required anymore.
Definition at line 221 of file WxUtils.cpp.
References ASSERT_, and mrpt::system::os::memcpy().
mrptKeyModifier mrpt::gui::keyEventToMrptKeyModifier | ( | const wxKeyEvent & | ev | ) |
Extracts the key modifiers from a wxKeyEvent.
Definition at line 944 of file WxUtils.cpp.
References mrpt::gui::MRPTKMOD_ALT, mrpt::gui::MRPTKMOD_CMD, mrpt::gui::MRPTKMOD_CONTROL, mrpt::gui::MRPTKMOD_META, mrpt::gui::MRPTKMOD_NONE, and mrpt::gui::MRPTKMOD_SHIFT.
Referenced by mrpt::gui::CWindowDialog::OnChar(), and mrpt::gui::CWindowDialogPlots::OnChar().
wxBitmap * mrpt::gui::MRPTImage2wxBitmap | ( | const mrpt::utils::CImage & | img | ) |
Create a wxBitmap from a MRPT image.
The new object must be freed by the user when not required anymore.
Definition at line 158 of file WxUtils.cpp.
References mrpt::system::os::memcpy(), and THROW_EXCEPTION.
Referenced by mrpt::gui::wxMRPTImageControl::AssignImage().
wxImage * mrpt::gui::MRPTImage2wxImage | ( | const mrpt::utils::CImage & | img | ) |
Create a wxImage from a MRPT image.
The new object must be freed by the user when not required anymore.
Definition at line 29 of file WxUtils.cpp.
References mrpt::system::os::memcpy().
Referenced by mrpt::gui::CDisplayWindowPlots::image(), and mrpt::gui::CDisplayWindow::showImage().
mrpt::utils::CImage * mrpt::gui::wxImage2MRPTImage | ( | const wxImage & | img | ) |
Create a MRPT image from a wxImage.
The new object must be freed by the user when not required anymore. It is recommended to use wxImage2MRPTImagePtr instead since smart pointers are safer to manage.
Definition at line 265 of file WxUtils.cpp.
References mrpt::utils::CImage::loadFromMemoryBuffer().
Referenced by mrpt::gui::wxImage2MRPTImagePtr().
mrpt::utils::CImagePtr mrpt::gui::wxImage2MRPTImagePtr | ( | const wxImage & | img | ) |
Create a MRPT image from a wxImage.
The new object is returned as a smart pointer to a CImage object.
Definition at line 280 of file WxUtils.cpp.
References mrpt::gui::wxImage2MRPTImage().
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 |