Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osgUtil::RenderToTextureStage Class Reference

Inheritance diagram for osgUtil::RenderToTextureStage:

osgUtil::RenderStage osgUtil::RenderBin osg::Object osg::Referenced List of all members.

Public Member Functions

 RenderToTextureStage ()
virtual osg::Object * cloneType () const
virtual osg::Object * clone (const osg::CopyOp &) const
virtual bool isSameKindAs (const osg::Object *obj) const
virtual const char * libraryName () const
virtual const char * className () const
virtual void reset ()
void setTexture (osg::Texture2D *texture)
osg::Texture2D * getTexture ()
void setImage (osg::Image *image)
osg::Image * getImage ()
virtual void draw (osg::State &state, RenderLeaf *&previous)

Protected Member Functions

virtual ~RenderToTextureStage ()

Protected Attributes

osg::ref_ptr< osg::Texture2D > _texture
osg::ref_ptr< osg::Image > _image

Detailed Description

RenderStage which copies the final image to an attached texture or image. Generally used as a pre-rendering stage.


Constructor & Destructor Documentation

osgUtil::RenderToTextureStage::RenderToTextureStage (   ) 
 

virtual osgUtil::RenderToTextureStage::~RenderToTextureStage (   )  [protected, virtual]
 


Member Function Documentation

virtual const char* osgUtil::RenderToTextureStage::className (   )  const [inline, virtual]
 

return the name of the object's class type. Must be defined by derived classes.

Reimplemented from osgUtil::RenderStage.

virtual osg::Object* osgUtil::RenderToTextureStage::clone (  const osg::CopyOp &   )  const [inline, virtual]
 

Reimplemented from osgUtil::RenderStage.

virtual osg::Object* osgUtil::RenderToTextureStage::cloneType (   )  const [inline, virtual]
 

Clone the type of an object, with Object* return type. Must be defined by derived classes.

Reimplemented from osgUtil::RenderStage.

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

Reimplemented from osgUtil::RenderStage.

osg::Image* osgUtil::RenderToTextureStage::getImage (   )  [inline]
 

osg::Texture2D* osgUtil::RenderToTextureStage::getTexture (   )  [inline]
 

virtual bool osgUtil::RenderToTextureStage::isSameKindAs (  const osg::Object *  obj  )  const [inline, virtual]
 

Reimplemented from osgUtil::RenderStage.

virtual const char* osgUtil::RenderToTextureStage::libraryName (   )  const [inline, virtual]
 

return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.

Reimplemented from osgUtil::RenderBin.

virtual void osgUtil::RenderToTextureStage::reset (   )  [virtual]
 

Reimplemented from osgUtil::RenderStage.

void osgUtil::RenderToTextureStage::setImage (  osg::Image *  image  )  [inline]
 

void osgUtil::RenderToTextureStage::setTexture (  osg::Texture2D *  texture  )  [inline]
 


Member Data Documentation

osg::ref_ptr<osg::Image> osgUtil::RenderToTextureStage::_image [protected]
 

osg::ref_ptr<osg::Texture2D> osgUtil::RenderToTextureStage::_texture [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri May 13 15:15:53 2005 for openscenegraph by  doxygen 1.4.2