9 #ifndef OSGEARTH_EFFECTMAP_EXTENSION
10 #define OSGEARTH_EFFECTMAP_EXTENSION 1
14 #include <osgEarth/Extension>
15 #include <osgEarth/MapNode>
16 #include <osgEarth/Controls>
23 using namespace osgEarth;
50 virtual void setDBOptions(
const osgDB::Options* dbOptions);
59 bool connect(MapNode* mapNode);
62 bool disconnect(MapNode* mapNode);
67 virtual void addEffectMapLayer(MapNode* mapNode);
71 virtual std::string generateShareTexUniformName();
75 virtual std::string generateShareTexMatUniformName();
87 #endif // OSGEARTH_EFFECTMAP_EXTENSION
osg::ref_ptr< const osgDB::Options > myDbOptions
Definition: EffectMapExtension.h:78
EffectMapExtension(const EffectMapExtension &rhs, const osg::CopyOp &op)
protected copy constructor that does nothing
Definition: EffectMapExtension.h:44
static std::set< EffectMapOptions::EffectType > theEffectTypes
Definition: EffectMapExtension.h:80
static int theEffectMapCount
Definition: EffectMapExtension.h:81
Extension for loading the effect mapping effect on demand.
Definition: EffectMapExtension.h:28
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:53
effect map earth file options
EffectMapTerrainEffect * myEffect
Definition: EffectMapExtension.h:79
Options governing effect mapping of the terrain.
Definition: EffectMapOptions.h:27
Effect that applies effect mapping to the terrain.