Inheritance diagram for osgShadow::ShadowMap:
Public Member Functions | |
| ShadowMap () | |
| ShadowMap (const ShadowMap &es, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgShadow, ShadowMap) | |
| void | setTextureUnit (unsigned int unit) |
| Set the texture unit that the shadow texture will be applied on. | |
| unsigned int | getTextureUnit () const |
| Get the texture unit that the shadow texture will be applied on. | |
| void | setAmbientBias (const osg::Vec2 &ambientBias) |
| Set the values for the ambient bias the shader will use. | |
| const osg::Vec2 & | getAmbientBias () const |
| Get the values that are used for the ambient bias in the shader. | |
| virtual void | init () |
| initialize the ShadowedScene and local cached data structures. | |
| virtual void | update (osg::NodeVisitor &nv) |
| run the update traversal of the ShadowedScene and update any loca chached data structures. | |
| virtual void | cull (osgUtil::CullVisitor &cv) |
| run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. | |
| virtual void | cleanSceneGraph () |
| Clean scene graph from any shadow technique specific nodes, state and drawables. | |
Protected Member Functions | |
| virtual | ~ShadowMap () |
Protected Attributes | |
| osg::ref_ptr< osg::Camera > | _camera |
| osg::ref_ptr< osg::TexGen > | _texgen |
| osg::ref_ptr< osg::Texture2D > | _texture |
| osg::ref_ptr< osg::StateSet > | _stateset |
| unsigned int | _textureUnit |
| osg::Vec2 | _ambientBias |
| osgShadow::ShadowMap::ShadowMap | ( | ) |
| osgShadow::ShadowMap::ShadowMap | ( | const ShadowMap & | es, | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
| virtual osgShadow::ShadowMap::~ShadowMap | ( | ) | [inline, protected, virtual] |
| osgShadow::ShadowMap::META_Object | ( | osgShadow | , | |
| ShadowMap | ||||
| ) |
| void osgShadow::ShadowMap::setTextureUnit | ( | unsigned int | unit | ) |
Set the texture unit that the shadow texture will be applied on.
| unsigned int osgShadow::ShadowMap::getTextureUnit | ( | ) | const [inline] |
Get the texture unit that the shadow texture will be applied on.
| void osgShadow::ShadowMap::setAmbientBias | ( | const osg::Vec2 & | ambientBias | ) |
Set the values for the ambient bias the shader will use.
| const osg::Vec2& osgShadow::ShadowMap::getAmbientBias | ( | ) | const [inline] |
Get the values that are used for the ambient bias in the shader.
| virtual void osgShadow::ShadowMap::init | ( | ) | [virtual] |
initialize the ShadowedScene and local cached data structures.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::ShadowMap::update | ( | osg::NodeVisitor & | nv | ) | [virtual] |
run the update traversal of the ShadowedScene and update any loca chached data structures.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::ShadowMap::cull | ( | osgUtil::CullVisitor & | cv | ) | [virtual] |
run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::ShadowMap::cleanSceneGraph | ( | ) | [virtual] |
Clean scene graph from any shadow technique specific nodes, state and drawables.
Reimplemented from osgShadow::ShadowTechnique.
osg::ref_ptr<osg::Camera> osgShadow::ShadowMap::_camera [protected] |
osg::ref_ptr<osg::TexGen> osgShadow::ShadowMap::_texgen [protected] |
osg::ref_ptr<osg::Texture2D> osgShadow::ShadowMap::_texture [protected] |
osg::ref_ptr<osg::StateSet> osgShadow::ShadowMap::_stateset [protected] |
unsigned int osgShadow::ShadowMap::_textureUnit [protected] |
osg::Vec2 osgShadow::ShadowMap::_ambientBias [protected] |