osgCal::TextureLayersFlatten Class Reference

List of all members.

Public Types

enum  PIXELOP {
  PIXELOP_DECAL, PIXELOP_NORMAL, PIXELOP_OVERLAY, PIXELOP_LINEARDODGE,
  PIXELOP_MULTIPLY
}

Public Member Functions

 TextureLayersFlatten ()
virtual ~TextureLayersFlatten ()
void init (int width, int height, std::vector< Layer > &layers, osg::Group *on, osg::Texture2D *myOutputTexture=NULL, osg::Texture2D *colorMask=NULL, osg::Texture2D *maskOn=NULL, bool bUseOldLayersParams=true)
const std::vector< Layer > & getOrgLayer () const
BaseRenderTechnicgetBaseRenderTechnic (unsigned int _index)
int getNbBaseRenderTechnics () const
osg::Texture2D * getOutputTexture ()
void setOutputTexture (osg::Texture2D *_tex)
OSGCAL_EXPORT void flushTextureCacheForAllBRT ()

Static Public Member Functions

static void resetBinCounter ()
static void destroy ()

Protected Member Functions

void setupLastColorMaskPass (osg::Group *on)

Protected Attributes

std::vector< BaseRenderTechnic * > technics_
std::vector< LayerorgLayers_
osg::ref_ptr< osg::Texture2D > outputTexture_
osg::ref_ptr< osg::Texture2D > colorMask_
osg::ref_ptr< osg::Texture2D > maskOn_
osg::ref_ptr< osg::MatrixTransform > modelview_abs_
osg::ref_ptr< osg::Projection > projection_
int width_
int height_
osg::ref_ptr< Quadquads_ [2]

Classes

class  BaseRenderTechnic
class  DecalRenderTechnic
class  Layer
class  LinearDodgeRenderTechnic
class  MultiplyRenderTechnic
class  MyGeometry
class  NormalRenderTechnic
class  OverlayRenderTechnic
class  Quad
class  QuadParams

Member Enumeration Documentation

enum osgCal::TextureLayersFlatten::PIXELOP
 

Enumerator:
PIXELOP_DECAL 
PIXELOP_NORMAL 
PIXELOP_OVERLAY 
PIXELOP_LINEARDODGE 
PIXELOP_MULTIPLY 


Constructor & Destructor Documentation

osgCal::TextureLayersFlatten::TextureLayersFlatten  ) 
 

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


Member Function Documentation

static void osgCal::TextureLayersFlatten::destroy  )  [static]
 

OSGCAL_EXPORT void osgCal::TextureLayersFlatten::flushTextureCacheForAllBRT  ) 
 

BaseRenderTechnic* osgCal::TextureLayersFlatten::getBaseRenderTechnic unsigned int  _index  )  [inline]
 

int osgCal::TextureLayersFlatten::getNbBaseRenderTechnics  )  const [inline]
 

const std::vector<Layer>& osgCal::TextureLayersFlatten::getOrgLayer  )  const [inline]
 

osg::Texture2D* osgCal::TextureLayersFlatten::getOutputTexture  )  [inline]
 

void osgCal::TextureLayersFlatten::init int  width,
int  height,
std::vector< Layer > &  layers,
osg::Group *  on,
osg::Texture2D *  myOutputTexture = NULL,
osg::Texture2D *  colorMask = NULL,
osg::Texture2D *  maskOn = NULL,
bool  bUseOldLayersParams = true
 

static void osgCal::TextureLayersFlatten::resetBinCounter  )  [static]
 

void osgCal::TextureLayersFlatten::setOutputTexture osg::Texture2D *  _tex  )  [inline]
 

void osgCal::TextureLayersFlatten::setupLastColorMaskPass osg::Group *  on  )  [protected]
 


Member Data Documentation

osg::ref_ptr<osg::Texture2D> osgCal::TextureLayersFlatten::colorMask_ [protected]
 

int osgCal::TextureLayersFlatten::height_ [protected]
 

osg::ref_ptr<osg::Texture2D> osgCal::TextureLayersFlatten::maskOn_ [protected]
 

osg::ref_ptr<osg::MatrixTransform> osgCal::TextureLayersFlatten::modelview_abs_ [protected]
 

std::vector<Layer> osgCal::TextureLayersFlatten::orgLayers_ [protected]
 

osg::ref_ptr<osg::Texture2D> osgCal::TextureLayersFlatten::outputTexture_ [protected]
 

osg::ref_ptr<osg::Projection> osgCal::TextureLayersFlatten::projection_ [protected]
 

osg::ref_ptr<Quad> osgCal::TextureLayersFlatten::quads_[2] [protected]
 

std::vector<BaseRenderTechnic*> osgCal::TextureLayersFlatten::technics_ [protected]
 

int osgCal::TextureLayersFlatten::width_ [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 23:43:05 2006 for osgCal by  doxygen 1.4.6