![]() |
VR-Forces 4.10 Class Documentation
|
Base class for controllers that install and control effect textures. More...

Public Member Functions | |
| DtOsgEffectTextureController (DtDe &de, int type, const std::string &effectTypeCode) | |
| CTOR. More... | |
| virtual const std::string & | effectTypeCode () const |
| The type code string for this effect. More... | |
| virtual int | effectTextureType () const |
| return the effect texture type More... | |
| virtual osg::Texture * | installEffectTexture (osg::Texture *baseTexture, int baseTexUnit, osg::StateSet *stateSet, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames) const |
| Install the effect texture from a list of possible effect texture names. More... | |
| 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. More... | |
| 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. More... | |
Protected Member Functions | |
| virtual | ~DtOsgEffectTextureController () |
| DTOR. More... | |
| virtual osgEarth::VirtualProgram * | installVirtualProgram (int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName, const DtVirtualProgramParams ¶ms) const |
| installer helper function More... | |
| virtual void | applyDefaultShaderLODRanges (osgEarth::VirtualProgram *vp, const std::string &function) const |
Protected Attributes | |
| const int | myEffectTextureType |
| const std::string | myEffectTypeCode |
| float | myDefaultMaxRange |
| const DtOsgFileCache & | myFileCache |
| DtDe & | myDe |
Base class for controllers that install and control effect textures.
| makVrv::DtOsgEffectTextureController::DtOsgEffectTextureController | ( | DtDe & | de, |
| int | type, | ||
| const std::string & | effectTypeCode | ||
| ) |
CTOR.
|
protectedvirtual |
DTOR.
|
virtual |
The type code string for this effect.
|
virtual |
return the effect texture type
|
virtual |
Install the effect texture from a list of possible effect texture names.
| baseTexture | The pointer of the base texture. |
| baseTexUnit | The texture unit of the base texture. |
| stateSet | The osg::StateSet that the base texture resides in. |
| dbOptions | The options passed from osg. |
| possibleFilenames | A list of of possible effect texture names. |
Reimplemented in makVrv::DtOsgEmissivityMapController, makVrv::DtRainMaskMapController, makVrv::DtSnowMaskMapController, makVrv::DtOsgDetailMapController, makVrv::DtOsgLightMapController, makVrv::DtOsgSkidmarkMapController, and makVrv::DtOsgContaminantMapController.
|
virtual |
Find the effect texture for this effect, if one exists.
Reimplemented in makVrv::DtOsgConfigurableEffectController.
|
inlinevirtual |
install shaders for a stateset if required by this effect.
Reimplemented in makVrv::DtNightTextureController, makVrv::DtOsgEmissivityMapController, makVrv::DtRainMaskMapController, makVrv::DtSnowMaskMapController, makVrv::DtOsgConfigurableEffectController, makVrv::DtOsgDetailMapController, makVrv::DtOsgBumpMapController, makVrv::DtOsgSkidmarkMapController, makVrv::DtOsgContaminantMapController, makVrv::DtOsgLightMapController, makVrv::DtOsgAmbientOcclusionMapController, makVrv::DtOsgFlowNormalMapController, makVrv::DtOsgNormalMapController, makVrv::DtOsgReflectivityMapController, makVrv::DtOsgSpecularMapController, makVrv::DtSensorTextureController, makVrv::DtOsgFlowMapController, and makVrv::DtExampleEffectTextureController.
|
protectedvirtual |
installer helper function
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |