osgEarth 2.1.1
|
Public Member Functions | |
SeamlessOptions (const ConfigOptions &options=ConfigOptions()) | |
optional< int > & | resolution () |
const optional< int > & | resolution () const |
Protected Member Functions | |
virtual Config | getConfig () const |
virtual void | mergeConfig (const Config &conf) |
Private Member Functions | |
void | fromConfig (const Config &conf) |
Private Attributes | |
optional< int > | _resolution |
Definition at line 30 of file SeamlessOptions.
osgEarth::Drivers::SeamlessOptions::SeamlessOptions | ( | const ConfigOptions & | options = ConfigOptions() | ) | [inline] |
Definition at line 33 of file SeamlessOptions.
: TerrainOptions(options), _resolution(64) { setDriver("seamless"); fromConfig(_conf); }
void osgEarth::Drivers::SeamlessOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::TerrainOptions.
Definition at line 56 of file SeamlessOptions.
{ conf.getIfSet("resolution", _resolution); }
virtual Config osgEarth::Drivers::SeamlessOptions::getConfig | ( | ) | const [inline, protected, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TerrainOptions.
Definition at line 42 of file SeamlessOptions.
{ Config conf = TerrainOptions::getConfig(); conf.updateIfSet("resolution", _resolution); return conf; }
virtual void osgEarth::Drivers::SeamlessOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::TerrainOptions.
Definition at line 49 of file SeamlessOptions.
{ TerrainOptions::mergeConfig(conf); fromConfig(conf); }
optional<int>& osgEarth::Drivers::SeamlessOptions::resolution | ( | ) | [inline] |
Definition at line 39 of file SeamlessOptions.
{ return _resolution; }
const optional<int>& osgEarth::Drivers::SeamlessOptions::resolution | ( | ) | const [inline] |
Definition at line 40 of file SeamlessOptions.
{ return _resolution; }
optional<int> osgEarth::Drivers::SeamlessOptions::_resolution [private] |
Definition at line 60 of file SeamlessOptions.