9 #ifndef OSGEARTH_EFFECTMAP_EXTENSION
10 #define OSGEARTH_EFFECTMAP_EXTENSION 1
14 #include <osgEarth/Extension>
15 #include <osgEarth/MapNode>
22 using namespace osgEarth;
49 virtual void setDBOptions(
const osgDB::Options* dbOptions);
58 bool connect(MapNode* mapNode);
61 bool disconnect(MapNode* mapNode);
66 virtual void addEffectMapLayer(MapNode* mapNode);
70 virtual std::string generateShareTexUniformName();
74 virtual std::string generateShareTexMatUniformName();
86 #endif // OSGEARTH_EFFECTMAP_EXTENSION
osg::ref_ptr< const osgDB::Options > myDbOptions
Definition: EffectMapExtension.h:77
EffectMapExtension(const EffectMapExtension &rhs, const osg::CopyOp &op)
protected copy constructor that does nothing
Definition: EffectMapExtension.h:43
static std::set< EffectMapOptions::EffectType > theEffectTypes
Definition: EffectMapExtension.h:79
static int theEffectMapCount
Definition: EffectMapExtension.h:80
Extension for loading the effect mapping effect on demand.
Definition: EffectMapExtension.h:27
Effect that applies effect mapping to the terrain.
Definition: EffectMapTerrainEffect.h:30
virtual const ConfigOptions & getConfigOptions() const
get the configuration options for this extention (typecast of this object)
Definition: EffectMapExtension.h:52
effect map earth file options
EffectMapTerrainEffect * myEffect
Definition: EffectMapExtension.h:78
Options governing effect mapping of the terrain.
Definition: EffectMapOptions.h:27
Effect that applies effect mapping to the terrain.