osgCal::TextureLayersFlatten::BaseRenderTechnic Class Reference

Inheritance diagram for osgCal::TextureLayersFlatten::BaseRenderTechnic:

osgCal::TextureLayersFlatten::DecalRenderTechnic osgCal::TextureLayersFlatten::LinearDodgeRenderTechnic osgCal::TextureLayersFlatten::MultiplyRenderTechnic osgCal::TextureLayersFlatten::NormalRenderTechnic osgCal::TextureLayersFlatten::OverlayRenderTechnic List of all members.

Public Member Functions

 BaseRenderTechnic (TextureLayersFlatten *_parent, osg::Texture2D *_textureA, osg::Texture2D *_textureB, osg::Texture2D *_textureOutput)
virtual ~BaseRenderTechnic ()
OSGCAL_EXPORT int getTechnicID () const
OSGCAL_EXPORT float getOpacity () const
OSGCAL_EXPORT void setOpacity (float)
OSGCAL_EXPORT const osg::Vec3f & getColorFactor () const
OSGCAL_EXPORT void setColorFactor (const osg::Vec3f &_col)
virtual void flushTextureCache ()

Protected Member Functions

virtual void setup (osg::Group *on)
virtual void updateCombiners ()

Protected Attributes

int technicID_
TextureLayersFlattenparent_
LayercreatedFromlayer_
osg::ref_ptr< osg::Texture2D > textureA_
osg::ref_ptr< osg::Texture2D > textureB_
osg::ref_ptr< osg::Texture2D > textureOutput_
osg::ref_ptr< osg::Group > parentGroup_
float opacity_
osg::Vec3f colorFactor_
std::vector< osg::ref_ptr<
Quad > > 
quads_

Friends

class TextureLayersFlatten

Constructor & Destructor Documentation

osgCal::TextureLayersFlatten::BaseRenderTechnic::BaseRenderTechnic ( TextureLayersFlatten _parent,
osg::Texture2D *  _textureA,
osg::Texture2D *  _textureB,
osg::Texture2D *  _textureOutput 
) [inline]

virtual osgCal::TextureLayersFlatten::BaseRenderTechnic::~BaseRenderTechnic (  )  [virtual]


Member Function Documentation

virtual void osgCal::TextureLayersFlatten::BaseRenderTechnic::flushTextureCache (  )  [virtual]

Reimplemented in osgCal::TextureLayersFlatten::DecalRenderTechnic, osgCal::TextureLayersFlatten::NormalRenderTechnic, osgCal::TextureLayersFlatten::OverlayRenderTechnic, osgCal::TextureLayersFlatten::LinearDodgeRenderTechnic, and osgCal::TextureLayersFlatten::MultiplyRenderTechnic.

OSGCAL_EXPORT const osg::Vec3f& osgCal::TextureLayersFlatten::BaseRenderTechnic::getColorFactor (  )  const [inline]

OSGCAL_EXPORT float osgCal::TextureLayersFlatten::BaseRenderTechnic::getOpacity (  )  const [inline]

OSGCAL_EXPORT int osgCal::TextureLayersFlatten::BaseRenderTechnic::getTechnicID (  )  const [inline]

OSGCAL_EXPORT void osgCal::TextureLayersFlatten::BaseRenderTechnic::setColorFactor ( const osg::Vec3f &  _col  ) 

OSGCAL_EXPORT void osgCal::TextureLayersFlatten::BaseRenderTechnic::setOpacity ( float   ) 

virtual void osgCal::TextureLayersFlatten::BaseRenderTechnic::setup ( osg::Group *  on  )  [inline, protected, virtual]

Reimplemented in osgCal::TextureLayersFlatten::DecalRenderTechnic, osgCal::TextureLayersFlatten::NormalRenderTechnic, osgCal::TextureLayersFlatten::OverlayRenderTechnic, osgCal::TextureLayersFlatten::LinearDodgeRenderTechnic, and osgCal::TextureLayersFlatten::MultiplyRenderTechnic.

virtual void osgCal::TextureLayersFlatten::BaseRenderTechnic::updateCombiners (  )  [protected, virtual]

Reimplemented in osgCal::TextureLayersFlatten::DecalRenderTechnic, osgCal::TextureLayersFlatten::NormalRenderTechnic, osgCal::TextureLayersFlatten::OverlayRenderTechnic, osgCal::TextureLayersFlatten::LinearDodgeRenderTechnic, and osgCal::TextureLayersFlatten::MultiplyRenderTechnic.


Friends And Related Function Documentation

friend class TextureLayersFlatten [friend]

Reimplemented in osgCal::TextureLayersFlatten::DecalRenderTechnic, osgCal::TextureLayersFlatten::NormalRenderTechnic, osgCal::TextureLayersFlatten::OverlayRenderTechnic, osgCal::TextureLayersFlatten::LinearDodgeRenderTechnic, and osgCal::TextureLayersFlatten::MultiplyRenderTechnic.


Member Data Documentation

osg::Vec3f osgCal::TextureLayersFlatten::BaseRenderTechnic::colorFactor_ [protected]

Layer* osgCal::TextureLayersFlatten::BaseRenderTechnic::createdFromlayer_ [protected]

float osgCal::TextureLayersFlatten::BaseRenderTechnic::opacity_ [protected]

TextureLayersFlatten* osgCal::TextureLayersFlatten::BaseRenderTechnic::parent_ [protected]

osg::ref_ptr<osg::Group> osgCal::TextureLayersFlatten::BaseRenderTechnic::parentGroup_ [protected]

std::vector< osg::ref_ptr<Quad> > osgCal::TextureLayersFlatten::BaseRenderTechnic::quads_ [protected]

int osgCal::TextureLayersFlatten::BaseRenderTechnic::technicID_ [protected]

osg::ref_ptr<osg::Texture2D> osgCal::TextureLayersFlatten::BaseRenderTechnic::textureA_ [protected]

osg::ref_ptr<osg::Texture2D> osgCal::TextureLayersFlatten::BaseRenderTechnic::textureB_ [protected]

osg::ref_ptr<osg::Texture2D> osgCal::TextureLayersFlatten::BaseRenderTechnic::textureOutput_ [protected]


The documentation for this class was generated from the following file:
Generated on Sun Oct 15 12:39:27 2006 for osgCal by  doxygen 1.4.7