OpenSceneGraph
3.0.1
|
Classes | |
struct | ViewData |
Public Types | |
typedef StandardShadowMap | ThisClass |
Convenient typedef used in definition of ViewData struct and methods. | |
typedef DebugShadowMap | BaseClass |
Convenient typedef used in definition of ViewData struct and methods. | |
Public Member Functions | |
StandardShadowMap () | |
Classic OSG constructor. | |
StandardShadowMap (const StandardShadowMap &ssm, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Classic OSG cloning constructor. | |
META_Object (osgShadow, StandardShadowMap) | |
Declaration of standard OSG object methods. | |
void | setBaseTextureUnit (unsigned int unit) |
unsigned int | getBaseTextureUnit (void) const |
void | setShadowTextureUnit (unsigned int unit) |
unsigned int | getShadowTextureUnit (void) const |
void | setBaseTextureCoordIndex (unsigned int index) |
unsigned int | getBaseTextureCoordIndex (void) const |
void | setShadowTextureCoordIndex (unsigned int index) |
unsigned int | getShadowTextureCoordIndex (void) const |
void | setTextureSize (const osg::Vec2s &textureSize) |
const osg::Vec2s & | getTextureSize () const |
void | setLight (osg::Light *light) |
osg::Light * | getLight (void) |
const osg::Light * | getLight (void) const |
osg::Shader * | getShadowVertexShader () |
osg::Shader * | getShadowFragmentShader () |
osg::Shader * | getMainVertexShader () |
osg::Shader * | getMainFragmentShader () |
void | setShadowVertexShader (osg::Shader *shader) |
void | setShadowFragmentShader (osg::Shader *shader) |
void | setMainVertexShader (osg::Shader *shader) |
void | setMainFragmentShader (osg::Shader *shader) |
Protected Member Functions | |
virtual | ~StandardShadowMap (void) |
Classic protected OSG destructor. | |
virtual void | updateTextureCoordIndices (unsigned int baseTexCoordIndex, unsigned int shadowTexCoordIndex) |
virtual void | searchAndReplaceShaderSource (osg::Shader *, std::string fromString, std::string toString) |
Protected Attributes | |
osg::ref_ptr< osg::Shader > | _mainVertexShader |
osg::ref_ptr< osg::Shader > | _mainFragmentShader |
osg::ref_ptr< osg::Shader > | _shadowVertexShader |
osg::ref_ptr< osg::Shader > | _shadowFragmentShader |
osg::ref_ptr< osg::Light > | _light |
float | _polygonOffsetFactor |
float | _polygonOffsetUnits |
osg::Vec2s | _textureSize |
unsigned int | _baseTextureUnit |
unsigned int | _shadowTextureUnit |
unsigned int | _baseTextureCoordIndex |
unsigned int | _shadowTextureCoordIndex |
Friends | |
struct | ViewData |
Convenient typedef used in definition of ViewData struct and methods.
Reimplemented from osgShadow::DebugShadowMap.
Reimplemented in osgShadow::MinimalDrawBoundsShadowMap, osgShadow::MinimalCullBoundsShadowMap, and osgShadow::MinimalShadowMap.
Convenient typedef used in definition of ViewData struct and methods.
Reimplemented from osgShadow::DebugShadowMap.
Reimplemented in osgShadow::MinimalDrawBoundsShadowMap, osgShadow::MinimalCullBoundsShadowMap, and osgShadow::MinimalShadowMap.
osgShadow::StandardShadowMap::StandardShadowMap | ( | ) |
Classic OSG constructor.
osgShadow::StandardShadowMap::StandardShadowMap | ( | const StandardShadowMap & | ssm, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
Classic OSG cloning constructor.
virtual osgShadow::StandardShadowMap::~StandardShadowMap | ( | void | ) | [protected, virtual] |
Classic protected OSG destructor.
unsigned int osgShadow::StandardShadowMap::getBaseTextureCoordIndex | ( | void | ) | const [inline] |
unsigned int osgShadow::StandardShadowMap::getBaseTextureUnit | ( | void | ) | const [inline] |
osg::Light* osgShadow::StandardShadowMap::getLight | ( | void | ) | [inline] |
const osg::Light* osgShadow::StandardShadowMap::getLight | ( | void | ) | const [inline] |
osg::Shader* osgShadow::StandardShadowMap::getMainFragmentShader | ( | ) | [inline] |
osg::Shader* osgShadow::StandardShadowMap::getMainVertexShader | ( | ) | [inline] |
osg::Shader* osgShadow::StandardShadowMap::getShadowFragmentShader | ( | ) | [inline] |
unsigned int osgShadow::StandardShadowMap::getShadowTextureCoordIndex | ( | void | ) | const [inline] |
unsigned int osgShadow::StandardShadowMap::getShadowTextureUnit | ( | void | ) | const [inline] |
osg::Shader* osgShadow::StandardShadowMap::getShadowVertexShader | ( | ) | [inline] |
const osg::Vec2s& osgShadow::StandardShadowMap::getTextureSize | ( | ) | const [inline] |
osgShadow::StandardShadowMap::META_Object | ( | osgShadow | , |
StandardShadowMap | |||
) |
Declaration of standard OSG object methods.
virtual void osgShadow::StandardShadowMap::searchAndReplaceShaderSource | ( | osg::Shader * | , |
std::string | fromString, | ||
std::string | toString | ||
) | [protected, virtual] |
void osgShadow::StandardShadowMap::setBaseTextureCoordIndex | ( | unsigned int | index | ) | [inline] |
void osgShadow::StandardShadowMap::setBaseTextureUnit | ( | unsigned int | unit | ) | [inline] |
void osgShadow::StandardShadowMap::setLight | ( | osg::Light * | light | ) | [inline] |
void osgShadow::StandardShadowMap::setMainFragmentShader | ( | osg::Shader * | shader | ) | [inline] |
void osgShadow::StandardShadowMap::setMainVertexShader | ( | osg::Shader * | shader | ) | [inline] |
void osgShadow::StandardShadowMap::setShadowFragmentShader | ( | osg::Shader * | shader | ) | [inline] |
void osgShadow::StandardShadowMap::setShadowTextureCoordIndex | ( | unsigned int | index | ) | [inline] |
void osgShadow::StandardShadowMap::setShadowTextureUnit | ( | unsigned int | unit | ) | [inline] |
void osgShadow::StandardShadowMap::setShadowVertexShader | ( | osg::Shader * | shader | ) | [inline] |
void osgShadow::StandardShadowMap::setTextureSize | ( | const osg::Vec2s & | textureSize | ) | [inline] |
virtual void osgShadow::StandardShadowMap::updateTextureCoordIndices | ( | unsigned int | baseTexCoordIndex, |
unsigned int | shadowTexCoordIndex | ||
) | [protected, virtual] |
friend struct ViewData [friend] |
Reimplemented in osgShadow::MinimalDrawBoundsShadowMap.
unsigned int osgShadow::StandardShadowMap::_baseTextureCoordIndex [protected] |
unsigned int osgShadow::StandardShadowMap::_baseTextureUnit [protected] |
osg::ref_ptr< osg::Light > osgShadow::StandardShadowMap::_light [protected] |
float osgShadow::StandardShadowMap::_polygonOffsetFactor [protected] |
float osgShadow::StandardShadowMap::_polygonOffsetUnits [protected] |
unsigned int osgShadow::StandardShadowMap::_shadowTextureCoordIndex [protected] |
unsigned int osgShadow::StandardShadowMap::_shadowTextureUnit [protected] |
osg::Vec2s osgShadow::StandardShadowMap::_textureSize [protected] |
![]() | Generated at Mon Oct 3 2011 12:39:48 for the OpenSceneGraph by doxygen 1.7.5. |