Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

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 Methods

 RenderLeaf (osg::Drawable *drawable, osg::Matrix *projection, osg::Matrix *modelview, float depth=0.0f)
void set (osg::Drawable *drawable, osg::Matrix *projection, osg::Matrix *modelview, float depth=0.0f)
void reset ()
virtual void render (osg::State &state, RenderLeaf *previous)

Public Attributes

RenderGraph * _parent
osg::Drawable * _drawable
osg::ref_ptr< osg::Matrix > _projection
osg::ref_ptr< osg::Matrix > _modelview
float _depth

Friends

class osgUtil::RenderGraph
 allow RenderGraph 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::Matrix *    projection,
osg::Matrix *    modelview,
float    depth = 0.0f
)  [inline]
 


Member Function Documentation

virtual void osgUtil::RenderLeaf::render (  osg::State &    state,
RenderLeaf *    previous
)  [virtual]
 

void osgUtil::RenderLeaf::reset (    )  [inline]
 

void osgUtil::RenderLeaf::set (  osg::Drawable *    drawable,
osg::Matrix *    projection,
osg::Matrix *    modelview,
float    depth = 0.0f
)  [inline]
 


Friends And Related Function Documentation

friend class osgUtil::RenderGraph [friend]
 

allow RenderGraph to change the RenderLeaf's _parent.


Member Data Documentation

float osgUtil::RenderLeaf::_depth
 

osg::Drawable* osgUtil::RenderLeaf::_drawable
 

osg::ref_ptr<osg::Matrix> osgUtil::RenderLeaf::_modelview
 

RenderGraph* osgUtil::RenderLeaf::_parent
 

osg::ref_ptr<osg::Matrix> osgUtil::RenderLeaf::_projection
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:56:01 2002 for the Open Scene Graph by doxygen 1.2.16.