An event sent by an mrpt::opengl::COpenGLViewport after calling the scene OpenGL drawing primitives and before doing a glSwapBuffers.
While handling this event you can call OpenGL glBegin(),glEnd(),gl* functions or those in mrpt::opengl::gl_utils to draw stuff *on the top* of the normal objects contained in the COpenGLScene.
IMPORTANTE NOTICE: Event handlers in your observer class will most likely be invoked from an internal GUI thread of MRPT, so all your code in the handler must be thread safe.
#include <mrpt/opengl/COpenGLViewport.h>

Public Member Functions | |
| mrptEventGLPostRender (const COpenGLViewport *obj) | |
| template<class EVENTTYPE > | |
| bool | isOfType () const |
| template<class EVENTTYPE > | |
| const EVENTTYPE * | getAs () const |
Public Attributes | |
| const COpenGLViewport *const | source_viewport |
| mrpt::system::TTimeStamp | timestamp |
Protected Member Functions | |
| virtual void | do_nothing () |
| Just to allow this class to be polymorphic. | |
| mrpt::opengl::mrptEventGLPostRender::mrptEventGLPostRender | ( | const COpenGLViewport * | obj | ) | [inline] |
Definition at line 393 of file COpenGLViewport.h.
| virtual void mrpt::opengl::mrptEventGLPostRender::do_nothing | ( | ) | [inline, protected, virtual] |
Just to allow this class to be polymorphic.
Reimplemented from mrpt::utils::mrptEvent.
Definition at line 391 of file COpenGLViewport.h.
| const EVENTTYPE* mrpt::utils::mrptEvent::getAs | ( | ) | const [inline, inherited] |
Definition at line 66 of file mrptEvent.h.
| bool mrpt::utils::mrptEvent::isOfType | ( | ) | const [inline, inherited] |
Definition at line 63 of file mrptEvent.h.
Definition at line 394 of file COpenGLViewport.h.
Definition at line 68 of file mrptEvent.h.
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |