MRPT  2.0.4
Classes | Namespaces | Macros
CDisplayWindowGUI.h File Reference
#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>
Include dependency graph for CDisplayWindowGUI.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mrpt::gui::CDisplayWindowGUI_Params
 Additional parameters to change the window behavior and OpenGL context. More...
 
class  mrpt::gui::CDisplayWindowGUI
 A window with powerful GUI capabilities, via the nanogui library. More...
 

Namespaces

 mrpt::gui
 Classes for creating GUI windows for 2D and 3D visualization.
 

Macros

#define NANOGUI_START_TRY
 
#define NANOGUI_END_TRY(_parentWindowRef_)
 

Macro Definition Documentation

◆ NANOGUI_END_TRY

#define NANOGUI_END_TRY (   _parentWindowRef_)
Value:
} \
catch (const std::exception& e) \
{ \
const auto sErr = mrpt::exception_to_str(e); \
auto dlg = new nanogui::MessageDialog( \
&_parentWindowRef_, nanogui::MessageDialog::Type::Warning, \
"Exception", sErr); \
dlg->setCallback([](int /*result*/) {}); \
}
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: exceptions.cpp:59

Definition at line 195 of file CDisplayWindowGUI.h.

◆ NANOGUI_START_TRY

#define NANOGUI_START_TRY
Value:
try \
{

Definition at line 192 of file CDisplayWindowGUI.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020