VR-Forces 4.10 Class Documentation
 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. More...

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

Public Member Functions

 DtCdbEffectTextureVisitor (DtEffectControllerFactory &effectFactory)
 CTOR. More...
 
virtual ~DtCdbEffectTextureVisitor ()
 DTOR. More...
 

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
 

Detailed Description

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

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 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)