osgViewer::Renderer Class Reference

Inheritance diagram for osgViewer::Renderer:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Renderer (osg::Camera *camera)
osgUtil::SceneViewgetSceneView (unsigned int i)
void setDone (bool done)
bool getDone ()
void setGraphicsThreadDoesCull (bool flag)
bool getGraphicsThreadDoesCull () const
void cull ()
void draw ()
void cull_draw ()
virtual void operator() (osg::Object *object)
 Override the standard Operation opertator and dynamic cast object to a GraphicsContext, on success call operation()(GraphicsContext*).
virtual void operator() (osg::GraphicsContext *context)
virtual void release ()
 if this operation is a barrier then release it.

Protected Member Functions

void updateSceneView (osgUtil::SceneView *sceneView)
virtual ~Renderer ()

Protected Attributes

osg::observer_ptr
< osg::Camera
_camera
bool _done
bool _graphicsThreadDoesCull
osg::ref_ptr
< osgUtil::SceneView
_sceneView [2]
osg::ref_ptr
< osg::FlushDeletedGLObjectsOperation
_flushOperation
TheadSafeQueue _availableQueue
TheadSafeQueue _drawQueue

Classes

struct  TheadSafeQueue


Constructor & Destructor Documentation

osgViewer::Renderer::Renderer ( osg::Camera camera  ) 

virtual osgViewer::Renderer::~Renderer (  )  [protected, virtual]


Member Function Documentation

osgUtil::SceneView* osgViewer::Renderer::getSceneView ( unsigned int  i  )  [inline]

void osgViewer::Renderer::setDone ( bool  done  )  [inline]

bool osgViewer::Renderer::getDone (  )  [inline]

void osgViewer::Renderer::setGraphicsThreadDoesCull ( bool  flag  ) 

bool osgViewer::Renderer::getGraphicsThreadDoesCull (  )  const [inline]

void osgViewer::Renderer::cull (  ) 

void osgViewer::Renderer::draw (  ) 

void osgViewer::Renderer::cull_draw (  ) 

virtual void osgViewer::Renderer::operator() ( osg::Object object  )  [virtual]

Override the standard Operation opertator and dynamic cast object to a GraphicsContext, on success call operation()(GraphicsContext*).

Reimplemented from osg::GraphicsOperation.

virtual void osgViewer::Renderer::operator() ( osg::GraphicsContext context  )  [virtual]

Implements osg::GraphicsOperation.

virtual void osgViewer::Renderer::release (  )  [virtual]

if this operation is a barrier then release it.

Reimplemented from osg::Operation.

void osgViewer::Renderer::updateSceneView ( osgUtil::SceneView sceneView  )  [protected]


Member Data Documentation

osg::observer_ptr<osg::Camera> osgViewer::Renderer::_camera [protected]

bool osgViewer::Renderer::_done [protected]

bool osgViewer::Renderer::_graphicsThreadDoesCull [protected]

osg::ref_ptr<osgUtil::SceneView> osgViewer::Renderer::_sceneView[2] [protected]

osg::ref_ptr<osg::FlushDeletedGLObjectsOperation> osgViewer::Renderer::_flushOperation [protected]

TheadSafeQueue osgViewer::Renderer::_availableQueue [protected]

TheadSafeQueue osgViewer::Renderer::_drawQueue [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:53 2007 for the OpenSceneGraph by doxygen 1.5.3.