osgEarth 2.1.1
|
Public Member Functions | |
optional< URI > & | url () |
const optional< URI > & | url () const |
SimpleModelOptions (const ConfigOptions &options) | |
Config | getConfig () const |
Protected Member Functions | |
void | mergeConfig (const Config &conf) |
Private Member Functions | |
void | fromConfig (const Config &conf) |
Private Attributes | |
optional< URI > | _url |
Definition at line 29 of file SimpleModelOptions.
osgEarth::Drivers::SimpleModelOptions::SimpleModelOptions | ( | const ConfigOptions & | options | ) | [inline] |
Definition at line 36 of file SimpleModelOptions.
: ModelSourceOptions( options ) { setDriver( "simple" ); fromConfig( _conf ); }
void osgEarth::Drivers::SimpleModelOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::ModelSourceOptions.
Definition at line 55 of file SimpleModelOptions.
Config osgEarth::Drivers::SimpleModelOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::ModelSourceOptions.
Definition at line 42 of file SimpleModelOptions.
{ Config conf = ModelSourceOptions::getConfig(); conf.updateIfSet( "url", _url ); return conf; }
void osgEarth::Drivers::SimpleModelOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::ModelSourceOptions.
Definition at line 49 of file SimpleModelOptions.
{ ModelSourceOptions::mergeConfig( conf ); fromConfig( conf ); }
Definition at line 32 of file SimpleModelOptions.
{ return _url; }
Definition at line 33 of file SimpleModelOptions.
{ return _url; }
Definition at line 59 of file SimpleModelOptions.