#include <mrpt/core/exceptions.h>
#include <mrpt/gui/MRPT2NanoguiGLCanvas.h>
#include <mrpt/gui/internal/NanoGUICanvasHeadless.h>
#include <mrpt/opengl/COpenGLScene.h>
#include <mutex>
#include <string>
#include <mrpt/config.h>
#include <nanogui/nanogui.h>
Go to the source code of this file.
|
| mrpt::gui |
| Classes for creating GUI windows for 2D and 3D visualization.
|
|
◆ NANOGUI_END_TRY
#define NANOGUI_END_TRY |
( |
|
_parentWindowRef_ | ) |
|
Value:} \
catch (const std::exception& e) \
{ \
auto dlg = new nanogui::MessageDialog( \
&_parentWindowRef_, nanogui::MessageDialog::Type::Warning, \
"Exception", sErr); \
dlg->setCallback([](int ) {}); \
}
std::string exception_to_str(const std::exception &e)
Builds a nice textual representation of a nested exception, which if generated using MRPT macros (THR...
Definition at line 195 of file CDisplayWindowGUI.h.
◆ NANOGUI_START_TRY
#define NANOGUI_START_TRY |