Go to the documentation of this file.
9 #ifndef CWINDOWMANAGER_H
10 #define CWINDOWMANAGER_H
117 const size_t unique_index = 0)
~CWindowManager()
Class destructor.
@ NICE
renders glyphs filled with antialiased outlines
CWindowManager(mrpt::gui::CDisplayWindow3D *win_in)
Class constructor.
void assignViewportParameters(double *x, double *y, double *width, double *height)
Assign position and size values for the placement of the next viewport.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void addTextMessage(const double x, const double y, const std::string &text, const mrpt::img::TColorf &color=mrpt::img::TColorf(1.0, 1.0, 1.0), const size_t unique_index=0, const mrpt::opengl::TOpenGLFont font=mrpt::opengl::MRPT_GLUT_BITMAP_TIMES_ROMAN_24)
Add 2D text messages overlapped to the 3D rendered scene.
Monitor events in the visualization window.
Class acts as a container for storing pointers to mrpt::gui::CDisplayWindow3D, mrpt::graphslam::CWind...
void assignTextMessageParameters(double *offset_y, int *text_index)
Assign the next available offset_y and text_index for the textMessage under construction.
bool isOpen()
Wrapper call around the CWindowDisplay3D.
mrpt::gui::CDisplayWindow3D * win
CDisplayWindow instance.
double m_viewp_y
vertical layout of the viewports
void setWindowObserverPtr(mrpt::graphslam::CWindowObserver *obsever_in)
Store the CWindowObserver pointer in the CWindowManager instance.
bool isOpen()
Returns false if the user has already closed the window.
void setCDisplayWindow3DPtr(mrpt::gui::CDisplayWindow3D *win_in)
Store the CDisplayWindow3D pointer in the CWindowManager instance.
A RGB color - floats in the range [0,1].
mrpt::graphslam::CWindowObserver * observer
CWindowObserver instance.
CWindowManager(mrpt::gui::CDisplayWindow3D *win_in, mrpt::graphslam::CWindowObserver *observer_in)
Class constructor.
GLenum GLsizei GLsizei height
void initCWindowManager()
Initialization method, to be called from the various Constructors.
Versatile class for consistent logging and management of output messages.
#define MRPT_LOG_DEBUG_STREAM(__CONTENTS)
Use: MRPT_LOG_DEBUG_STREAM("Var=" << value << " foo=" << foo_var);
CWindowManager()
Default class constructor.
GLsizei const GLchar ** string
void addTextMessage(const double x, const double y, const std::string &text, const mrpt::img::TColorf &color=mrpt::img::TColorf(1.0, 1.0, 1.0), const size_t unique_index=0)
Wrapper around the CDisplayWindow3D::addTextMessage method, so that the user does not have to specify...
void setLoggerName(const std::string &name)
Set the name of the COutputLogger instance.
bool m_fetched_displaywindow_pointer
A graphical user interface (GUI) for efficiently rendering 3D scenes in real-time.
bool m_fetched_observer_pointer
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 | |