OpenSceneGraph 2.8.4
Public Member Functions | Public Attributes | Friends
osgUtil::RenderLeaf Class Reference

Container class for all data required for rendering of drawables. More...

Inheritance diagram for osgUtil::RenderLeaf:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 RenderLeaf (osg::Drawable *drawable, osg::RefMatrix *projection, osg::RefMatrix *modelview, float depth=0.0f)
void set (osg::Drawable *drawable, osg::RefMatrix *projection, osg::RefMatrix *modelview, float depth=0.0f)
void reset ()
virtual void render (osg::RenderInfo &renderInfo, RenderLeaf *previous)
const osg::DrawablegetDrawable () const

Public Attributes

StateGraph_parent
osg::ref_ptr< osg::Drawable_drawable
osg::ref_ptr< osg::RefMatrix_projection
osg::ref_ptr< osg::RefMatrix_modelview
float _depth
bool _dynamic

Friends

class osgUtil::StateGraph
 Allow StateGraph to change the RenderLeaf's _parent.

Detailed Description

Container class for all data required for rendering of drawables.


Constructor & Destructor Documentation

osgUtil::RenderLeaf::RenderLeaf ( osg::Drawable drawable,
osg::RefMatrix projection,
osg::RefMatrix modelview,
float  depth = 0.0f 
) [inline]

Member Function Documentation

const osg::Drawable* osgUtil::RenderLeaf::getDrawable ( ) const [inline]
virtual void osgUtil::RenderLeaf::render ( osg::RenderInfo renderInfo,
RenderLeaf previous 
) [virtual]
void osgUtil::RenderLeaf::reset ( ) [inline]
void osgUtil::RenderLeaf::set ( osg::Drawable drawable,
osg::RefMatrix projection,
osg::RefMatrix modelview,
float  depth = 0.0f 
) [inline]

Friends And Related Function Documentation

friend class osgUtil::StateGraph [friend]

Allow StateGraph to change the RenderLeaf's _parent.


Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Sun Jan 8 2012 13:17:02 for the OpenSceneGraph by doxygen 1.7.4.