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)
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.

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.

template<class EVENTTYPE >
const EVENTTYPE* mrpt::utils::mrptEvent::getAs ( ) const [inline, inherited]

Definition at line 66 of file mrptEvent.h.

template<class EVENTTYPE >
bool mrpt::utils::mrptEvent::isOfType ( ) const [inline, inherited]

Definition at line 63 of file mrptEvent.h.


Member Data Documentation

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