|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::MaskLayerOptions:
Collaboration diagram for osgEarth::MaskLayerOptions:Public Member Functions | |
| MaskLayerOptions (const ConfigOptions &options=ConfigOptions()) | |
| MaskLayerOptions (const std::string &name, const MaskSourceOptions &driverOptions=MaskSourceOptions()) | |
| optional< std::string > & | name () |
| const optional< std::string > & | name () const |
| optional< MaskSourceOptions > & | driver () |
| const optional < MaskSourceOptions > & | driver () const |
| virtual Config | getConfig () const |
| virtual void | mergeConfig (const Config &conf) |
Private Member Functions | |
| void | fromConfig (const Config &conf) |
| void | setDefaults () |
Private Attributes | |
| optional< std::string > | _name |
| optional< MaskSourceOptions > | _driver |
| MaskLayerOptions::MaskLayerOptions | ( | const ConfigOptions & | options = ConfigOptions() | ) |
Definition at line 27 of file MaskLayer.cpp.
: ConfigOptions( options ) { setDefaults(); fromConfig( _conf ); }
Here is the call graph for this function:| MaskLayerOptions::MaskLayerOptions | ( | const std::string & | name, |
| const MaskSourceOptions & | driverOptions = MaskSourceOptions() |
||
| ) |
Definition at line 34 of file MaskLayer.cpp.
: ConfigOptions() { setDefaults(); fromConfig( _conf ); _name = name; _driver = driverOptions; }
Here is the call graph for this function:| optional<MaskSourceOptions>& osgEarth::MaskLayerOptions::driver | ( | ) | [inline] |
| const optional<MaskSourceOptions>& osgEarth::MaskLayerOptions::driver | ( | ) | const [inline] |
| void MaskLayerOptions::fromConfig | ( | const Config & | conf | ) | [private] |
Definition at line 60 of file MaskLayer.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Config MaskLayerOptions::getConfig | ( | ) | const [virtual] |
Reimplemented from osgEarth::ConfigOptions.
Definition at line 50 of file MaskLayer.cpp.
{
Config conf = ConfigOptions::getConfig();
conf.updateIfSet( "name", _name );
return conf;
}
Here is the call graph for this function:| void MaskLayerOptions::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Reimplemented from osgEarth::ConfigOptions.
Definition at line 66 of file MaskLayer.cpp.
{
ConfigOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:| const optional<std::string>& osgEarth::MaskLayerOptions::name | ( | ) | const [inline] |
| optional<std::string>& osgEarth::MaskLayerOptions::name | ( | ) | [inline] |
| void MaskLayerOptions::setDefaults | ( | ) | [private] |
optional<std::string> osgEarth::MaskLayerOptions::_name [private] |
1.7.3