VR-Forces 4.7 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 | Static 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 (DtOsgFileCache &fileCache)
 CTOR.
virtual ~DtCdbEffectTextureVisitor ()
 DTOR.

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

Static Protected Attributes

static boost::mutex theVisitorMutex

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 ( DtOsgFileCache fileCache)

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
boost::mutex makVrv::DtCdbEffectTextureVisitor::theVisitorMutex
staticprotected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)