namespace mrpt::gui

Classes for creating GUI windows for 2D and 3D visualization.

mrpt_gui_grp

namespace gui {

// namespaces

namespace mrpt::gui::detail;
namespace mrpt::gui::internal;

// enums

enum mrptKeyCode;
enum mrptKeyModifier;

// structs

struct CDisplayWindowGUI_Params;

// classes

class C3DWindowDialog;
class CBaseGUIWindow;
class CDisplayWindow;
class CDisplayWindow3D;
class CDisplayWindow3DLocker;
class CDisplayWindowGUI;
class CDisplayWindowPlots;
class CGlCanvasBase;
class CGlCanvasBaseHeadless;
class CPanelCameraSelection;
class CWindowDialog;
class CWindowDialogPlots;
class MRPT2NanoguiGLCanvas;
class WxSubsystem;
class mrptEvent3DWindowGrabImageFile;
class mrptEventMouseDown;
class mrptEventMouseMove;
class mrptEventWindowChar;
class mrptEventWindowClosed;
class mrptEventWindowResize;
class wxMRPTImageControl;

// global variables

const char* default_mrpt_glfw_icon;
unsigned int default_mrpt_glfw_icon_width = 64;
unsigned int default_mrpt_glfw_icon_height = 64;
unsigned int default_mrpt_glfw_icon_transparent_color = 100;

// global 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
    );

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);
wxBitmap* MRPTImage2wxBitmap(const mrpt::img::CImage& img);
mrpt::img::CImage* wxImage2MRPTImage(const wxImage& img);
mrpt::img::CImage::Ptr wxImage2MRPTImagePtr(const wxImage& img);
mrptKeyModifier keyEventToMrptKeyModifier(const wxKeyEvent& ev);

} // namespace gui

Global Variables

const char* default_mrpt_glfw_icon

Returns the default MRPT icon data, as GIMP header format.

Global 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)