VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtCdbEffectTextureVisitor Class Reference

Visitor that locates effect textures and installs them into the scene graph. Run this prior to running the Shader Generator to pick up normal maps(bump maps), night maps, light maps for CDB.

Inheritance diagram for makVrv::DtCdbEffectTextureVisitor:
Inheritance graph
[legend]

Public Member Functions

 DtCdbEffectTextureVisitor (DtEffectControllerFactory &effectFactory)
 
virtual ~DtCdbEffectTextureVisitor ()
 

Protected Types

typedef std::map
< DtCdbEffectTextureType,
osg::ref_ptr
< DtOsgEffectTextureController > > 
Controllers
 

Protected Member Functions

virtual void apply (osg::Node &node)
 
virtual void apply (osg::Geode &geode)
 
virtual void apply (osg::StateSet *stateSet)
 
virtual bool checkAndInstallEffectTexture (osg::StateSet *stateSet, osg::Texture *baseTexture, osg::Texture *effectTexture, int baseUnit, int effectUnit, DtCdbEffectTextureType type)
 

Protected Attributes

Controllers myControllers
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtCdbEffectTextureVisitor::DtCdbEffectTextureVisitor ( DtEffectControllerFactory effectFactory)

CTOR.

virtual makVrv::DtCdbEffectTextureVisitor::~DtCdbEffectTextureVisitor ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtCdbEffectTextureVisitor::apply ( osg::Node &  node)
protectedvirtual
virtual void makVrv::DtCdbEffectTextureVisitor::apply ( osg::Geode &  geode)
protectedvirtual
virtual void makVrv::DtCdbEffectTextureVisitor::apply ( osg::StateSet *  stateSet)
protectedvirtual
virtual bool makVrv::DtCdbEffectTextureVisitor::checkAndInstallEffectTexture ( osg::StateSet *  stateSet,
osg::Texture *  baseTexture,
osg::Texture *  effectTexture,
int  baseUnit,
int  effectUnit,
DtCdbEffectTextureType  type 
)
protectedvirtual

Member Data Documentation

Controllers makVrv::DtCdbEffectTextureVisitor::myControllers
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)