Classes for creating GUI windows for 2D and 3D visualization.
mrpt_gui_grp
Namespaces | |
detail | |
Auxiliary structures used internally to mrpt. | |
Classes | |
class | C3DWindowDialog |
class | CBaseGUIWindow |
The base class for GUI window classes. More... | |
class | CDisplayWindow |
This class creates a window as a graphical user interface (GUI) for displaying images to the user. More... | |
class | CDisplayWindow3D |
A graphical user interface (GUI) for efficiently rendering 3D scenes in real-time. More... | |
class | CDisplayWindow3DLocker |
Auxiliary class for safely claiming the 3DScene of a mrpt::gui::CDisplayWindow3D. More... | |
class | CDisplayWindowPlots |
Create a GUI window and display plots with MATLAB-like interfaces and commands. More... | |
class | CGlCanvasBase |
This base class implements a working with opengl::Camera and a OpenGL canvas, and it's used in gui::CWxGLCanvasBase and gui::CQtGlCanvasBase. More... | |
class | CPanelCameraSelection |
A panel to select the camera input from all the formats supported by MRPT. More... | |
class | CWindowDialog |
The wx dialog for gui::CDisplayWindow. More... | |
class | CWindowDialogPlots |
The wx dialog for gui::CDisplayWindowPlots. More... | |
class | mrptEvent3DWindowGrabImageFile |
An event sent by a CDisplayWindow3D window when an image is saved after enabling this feature with CDisplayWindow3D::grabImagesStart() More... | |
class | mrptEventMouseDown |
An event sent by a window upon a mouse click, giving the (x,y) pixel coordinates. More... | |
class | mrptEventMouseMove |
An event sent by a window when the mouse is moved over it. More... | |
class | mrptEventWindowChar |
An event sent by a window upon a char pressed by the user. More... | |
class | mrptEventWindowClosed |
An event sent by a window upon when it's about to be closed, either manually by the user or programmatically. More... | |
class | mrptEventWindowResize |
An event sent by a window upon resize. More... | |
class | wxMRPTImageControl |
A custom control to display the bitmap and avoid flicker. More... | |
class | WxSubsystem |
This class implements the GUI thread required for the wxWidgets-based GUI. More... | |
Functions | |
void | show_mrpt_about_box_wxWidgets (void *parent_wx_window, const std::string &appName, const std::string &additionalInfo=std::string(), const bool showStandardInfo=true) |
Shows the standard MRPT GUI "About Box" (wxWidgets version) More... | |
void | show_mrpt_about_box_Qt (const std::string &appName, const std::string &additionalInfo=std::string(), const bool showStandardInfo=true) |
void | tryCatch (const std::function< void()> &tryPart, const std::string &catchMessage) |
void | showErrorMessage (const std::string &str) |
wxImage * | MRPTImage2wxImage (const mrpt::img::CImage &img) |
Create a wxImage from a MRPT image. More... | |
wxBitmap * | MRPTImage2wxBitmap (const mrpt::img::CImage &img) |
Create a wxBitmap from a MRPT image. More... | |
wxImage * | IplImage2wxImage (void *img) |
Create a wxImage from a IPL image. More... | |
mrpt::img::CImage * | wxImage2MRPTImage (const wxImage &img) |
Create a MRPT image from a wxImage. More... | |
mrpt::img::CImage::Ptr | wxImage2MRPTImagePtr (const wxImage &img) |
Create a MRPT image from a wxImage. More... | |
mrptKeyModifier | keyEventToMrptKeyModifier (const wxKeyEvent &ev) |
Extracts the key modifiers from a wxKeyEvent. More... | |
Definition at line 25 of file keycodes.h.
Enumerator | |
---|---|
MRPTKMOD_NONE | |
MRPTKMOD_ALT | |
MRPTKMOD_CONTROL | |
MRPTKMOD_ALTGR | |
MRPTKMOD_SHIFT | |
MRPTKMOD_META | |
MRPTKMOD_WIN | |
MRPTKMOD_CMD |
Definition at line 159 of file keycodes.h.
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 236 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 1135 of file WxUtils.cpp.
References MRPTKMOD_ALT, MRPTKMOD_CMD, MRPTKMOD_CONTROL, MRPTKMOD_META, MRPTKMOD_NONE, and MRPTKMOD_SHIFT.
Referenced by mrpt::gui::CWindowDialog::OnChar(), and mrpt::gui::CWindowDialogPlots::OnChar().
wxBitmap * mrpt::gui::MRPTImage2wxBitmap | ( | const mrpt::img::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 167 of file WxUtils.cpp.
References mrpt::system::os::memcpy(), and THROW_EXCEPTION.
Referenced by mrpt::gui::wxMRPTImageControl::AssignImage().
wxImage * mrpt::gui::MRPTImage2wxImage | ( | const mrpt::img::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 28 of file WxUtils.cpp.
References mrpt::system::os::memcpy().
Referenced by mrpt::gui::CDisplayWindowPlots::image(), and mrpt::gui::CDisplayWindow::showImage().
void mrpt::gui::show_mrpt_about_box_Qt | ( | const std::string & | appName, |
const std::string & | additionalInfo = std::string() , |
||
const bool | showStandardInfo = true |
||
) |
Definition at line 19 of file about_box_qt.cpp.
References THROW_EXCEPTION.
void mrpt::gui::show_mrpt_about_box_wxWidgets | ( | void * | parent_wx_window, |
const std::string & | appName, | ||
const std::string & | additionalInfo = std::string() , |
||
const bool | showStandardInfo = true |
||
) |
Shows the standard MRPT GUI "About Box" (wxWidgets version)
Definition at line 19 of file about_box_wx.cpp.
References THROW_EXCEPTION.
void mrpt::gui::showErrorMessage | ( | const std::string & | str | ) |
void mrpt::gui::tryCatch | ( | const std::function< void()> & | tryPart, |
const std::string & | catchMessage | ||
) |
Definition at line 24 of file error_box.cpp.
References showErrorMessage().
mrpt::img::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 279 of file WxUtils.cpp.
References mrpt::img::CImage::loadFromMemoryBuffer().
Referenced by wxImage2MRPTImagePtr().
mrpt::img::CImage::Ptr 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 295 of file WxUtils.cpp.
References wxImage2MRPTImage().
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 |