Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Public Attributes | Protected Member Functions
mrpt::opengl::mrptEventGLPostRender Class Reference

Detailed Description

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>

Inheritance diagram for mrpt::opengl::mrptEventGLPostRender:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 mrptEventGLPostRender (const COpenGLViewport *obj)

Public Attributes

const COpenGLViewport *const source_viewport

Protected Member Functions

virtual void do_nothing ()
 Just to allow this class to be polymorphic.

Constructor & Destructor Documentation

mrpt::opengl::mrptEventGLPostRender::mrptEventGLPostRender ( const COpenGLViewport *  obj) [inline]

Definition at line 393 of file COpenGLViewport.h.


Member Function Documentation

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.


Member Data Documentation

Definition at line 394 of file COpenGLViewport.h.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Sun Oct 16 12:16:33 UTC 2011