Public Member Functions | Protected Member Functions | Protected Attributes | Friends

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

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

References colorFactor_.

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

References opacity_.

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

References technicID_.

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

Friends And Related Function Documentation


Member Data Documentation

std::vector< osg::ref_ptr<Quad> > osgCal::TextureLayersFlatten::BaseRenderTechnic::quads_ [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: