osgEarth 2.1.1
|
Public Member Functions | |
ElevationLayerOptions (const ConfigOptions &options=ConfigOptions()) | |
ElevationLayerOptions (const std::string &name, const TileSourceOptions &driverOptions) | |
virtual Config | getConfig () const |
virtual void | mergeConfig (const Config &conf) |
Private Member Functions | |
void | fromConfig (const Config &conf) |
void | setDefaults () |
Initialization and serialization options for an elevation layer.
Definition at line 35 of file ElevationLayer.
ElevationLayerOptions::ElevationLayerOptions | ( | const ConfigOptions & | options = ConfigOptions() | ) |
Constructs new elevation layer options.
Definition at line 30 of file ElevationLayer.cpp.
: TerrainLayerOptions( options ) { setDefaults(); fromConfig( _conf ); }
ElevationLayerOptions::ElevationLayerOptions | ( | const std::string & | name, |
const TileSourceOptions & | driverOptions | ||
) |
Constructs new elevation layer options, given the underlying driver options.
Definition at line 37 of file ElevationLayer.cpp.
: TerrainLayerOptions( name, driverOptions ) { setDefaults(); fromConfig( _conf ); }
void ElevationLayerOptions::fromConfig | ( | const Config & | conf | ) | [private] |
Reimplemented from osgEarth::TerrainLayerOptions.
Definition at line 59 of file ElevationLayer.cpp.
{
//NOP
}
Config ElevationLayerOptions::getConfig | ( | ) | const [virtual] |
Reimplemented from osgEarth::TerrainLayerOptions.
Definition at line 51 of file ElevationLayer.cpp.
{ Config conf = TerrainLayerOptions::getConfig(); //NOP return conf; }
void ElevationLayerOptions::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Reimplemented from osgEarth::TerrainLayerOptions.
Definition at line 65 of file ElevationLayer.cpp.
{ TerrainLayerOptions::mergeConfig( conf ); fromConfig( conf ); }
void ElevationLayerOptions::setDefaults | ( | ) | [private] |
Reimplemented from osgEarth::TerrainLayerOptions.
Definition at line 45 of file ElevationLayer.cpp.
{
//NOP
}