view::CameraDrawCallback Class Reference

For broadcasting pre-draw and post-draw events for a View. More...

List of all members.

Public Types

enum  { PRE_DRAW = true, POST_DRAW = false }

Public Member Functions

 CameraDrawCallback (shptr< View > view, const bool preDraw)
virtual void operator() (const osg::Camera &) const

Private Attributes

shptr< ViewmView
const bool mPreDraw
 pre-draw or post-draw


Detailed Description

For broadcasting pre-draw and post-draw events for a View.

OSG calls this before and after rendering an osg::Camera. This is reflected to any listeners in the app registered by base::Event.


Member Enumeration Documentation

anonymous enum

Enumerator:
PRE_DRAW 
POST_DRAW 


Constructor & Destructor Documentation

view::CameraDrawCallback::CameraDrawCallback ( shptr< View view,
const bool  preDraw 
) [inline]


Member Function Documentation

virtual void view::CameraDrawCallback::operator() ( const osg::Camera &   )  const [inline, virtual]


Member Data Documentation

const bool view::CameraDrawCallback::mPreDraw [private]

pre-draw or post-draw


The documentation for this class was generated from the following file:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010