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
makVrv::DtOsgSkidmarkMapController Class Reference

Installs and control skid mark mapping effects. More...

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

Public Member Functions

 DtOsgSkidmarkMapController (const DtOsgFileCache &fileCache)
 CTOR.
virtual ~DtOsgSkidmarkMapController ()
 DTOR.
virtual osg::Texture * installEffectTexture (osg::Texture *baseTexture, int texUnit, osg::StateSet *stateSet, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames) const
 Install the effect texture from a list of possible effect texture names.
virtual bool installShaders (int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName) const
 install shaders for a stateset if required by this effect.
- Public Member Functions inherited from makVrv::DtOsgEffectTextureController
 DtOsgEffectTextureController (const DtOsgFileCache &fileCache, int type, const std::string &effectTypeCode)
 CTOR.
virtual const std::string & effectTypeCode () const
 The type code string for this effect.
virtual int effectTextureType () const
 return the effect texture type
virtual void findEffectTexture (const std::string &baseTextureName, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames, const osg::Texture *baseTexture, osg::ref_ptr< osg::Texture > &effectTexture) const
 Find the effect texture for this effect, if one exists.

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtOsgEffectTextureController
virtual ~DtOsgEffectTextureController ()
 DTOR.
virtual osgEarth::VirtualProgram * installVirtualProgram (int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName, const DtVirtualProgramParams &params) const
 installer helper function
virtual void applyDefaultShaderLODRanges (osgEarth::VirtualProgram *vp, const std::string &function) const
- Protected Attributes inherited from makVrv::DtOsgEffectTextureController
const int myEffectTextureType
const std::string myEffectTypeCode
float myDefaultMaxRange
const DtOsgFileCachemyFileCache

Detailed Description

Installs and control skid mark mapping effects.

Constructor & Destructor Documentation

makVrv::DtOsgSkidmarkMapController::DtOsgSkidmarkMapController ( const DtOsgFileCache fileCache)

CTOR.

virtual makVrv::DtOsgSkidmarkMapController::~DtOsgSkidmarkMapController ( )
virtual

DTOR.

Member Function Documentation

virtual osg::Texture* makVrv::DtOsgSkidmarkMapController::installEffectTexture ( osg::Texture *  baseTexture,
int  baseTexUnit,
osg::StateSet *  stateSet,
const osgDB::Options *  dbOptions,
const DtPossibleFileNamesCache possibleFilenames 
) const
virtual

Install the effect texture from a list of possible effect texture names.

Parameters
baseTextureThe pointer of the base texture.
baseTexUnitThe texture unit of the base texture.
stateSetThe osg::StateSet that the base texture resides in.
dbOptionsThe options passed from osg.
possibleFilenamesA list of of possible effect texture names.

Reimplemented from makVrv::DtOsgEffectTextureController.

virtual bool makVrv::DtOsgSkidmarkMapController::installShaders ( int  baseUnit,
int  effectUnit,
const osg::Texture *  tex,
osg::StateSet *  stateSet,
const std::string &  baseTextureName 
) const
virtual

install shaders for a stateset if required by this effect.

Reimplemented from makVrv::DtOsgEffectTextureController.


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)