|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Drivers::WMSOptions:
Collaboration diagram for osgEarth::Drivers::WMSOptions:Public Member Functions | |
| optional< URI > & | url () |
| const optional< URI > & | url () const |
| optional< URI > & | capabilitiesUrl () |
| const optional< URI > & | capabilitiesUrl () const |
| optional< URI > & | tileServiceUrl () |
| const optional< URI > & | tileServiceUrl () const |
| optional< std::string > & | layers () |
| const optional< std::string > & | layers () const |
| optional< std::string > & | style () |
| const optional< std::string > & | style () const |
| optional< std::string > & | format () |
| const optional< std::string > & | format () const |
| optional< std::string > & | wmsFormat () |
| const optional< std::string > & | wmsFormat () const |
| optional< std::string > & | wmsVersion () |
| const optional< std::string > & | wmsVersion () const |
| optional< std::string > & | elevationUnit () |
| const optional< std::string > & | elevationUnit () const |
| optional< std::string > & | srs () |
| const optional< std::string > & | srs () const |
| optional< bool > & | transparent () |
| const optional< bool > & | transparent () const |
| optional< std::string > & | times () |
| const optional< std::string > & | times () const |
| optional< double > & | secondsPerFrame () |
| const optional< double > & | secondsPerFrame () const |
| WMSOptions (const TileSourceOptions &opt=TileSourceOptions()) | |
| Config | getConfig () const |
Protected Member Functions | |
| void | mergeConfig (const Config &conf) |
Private Member Functions | |
| void | fromConfig (const Config &conf) |
Private Attributes | |
| optional< URI > | _url |
| optional< URI > | _capabilitiesUrl |
| optional< URI > | _tileServiceUrl |
| optional< std::string > | _layers |
| optional< std::string > | _style |
| optional< std::string > | _format |
| optional< std::string > | _wmsFormat |
| optional< std::string > | _wmsVersion |
| optional< std::string > | _elevationUnit |
| optional< std::string > | _srs |
| optional< bool > | _transparent |
| optional< std::string > | _times |
| optional< double > | _secondsPerFrame |
Definition at line 30 of file WMSOptions.
| osgEarth::Drivers::WMSOptions::WMSOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 73 of file WMSOptions.
: TileSourceOptions( opt ), _wmsVersion( "1.1.1" ), _elevationUnit( "m" ), _transparent( true ), _secondsPerFrame( 1.0 ) { setDriver( "wms" ); fromConfig( _conf ); }
Definition at line 36 of file WMSOptions.
{ return _capabilitiesUrl; }
Definition at line 37 of file WMSOptions.
{ return _capabilitiesUrl; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::elevationUnit | ( | ) | [inline] |
Definition at line 57 of file WMSOptions.
{ return _elevationUnit; }
| const optional<std::string>& osgEarth::Drivers::WMSOptions::elevationUnit | ( | ) | const [inline] |
Definition at line 58 of file WMSOptions.
{ return _elevationUnit; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::format | ( | ) | [inline] |
Definition at line 48 of file WMSOptions.
{ return _format; }
| const optional<std::string>& osgEarth::Drivers::WMSOptions::format | ( | ) | const [inline] |
Definition at line 49 of file WMSOptions.
{ return _format; }
| void osgEarth::Drivers::WMSOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 109 of file WMSOptions.
{
conf.getIfSet("url", _url);
conf.getIfSet("capabilities_url", _capabilitiesUrl);
conf.getIfSet("tile_service_url", _tileServiceUrl);
conf.getIfSet("layers", _layers);
conf.getIfSet("style", _style);
conf.getIfSet("format", _format);
conf.getIfSet("wms_format", _wmsFormat);
conf.getIfSet("wms_version", _wmsVersion);
conf.getIfSet("elevation_unit", _elevationUnit);
conf.getIfSet("srs", _srs);
conf.getIfSet("transparent", _transparent);
conf.getIfSet("times", _times);
conf.getIfSet("seconds_per_frame", _secondsPerFrame );
}
Here is the call graph for this function:| Config osgEarth::Drivers::WMSOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 84 of file WMSOptions.
{
Config conf = TileSourceOptions::getConfig();
conf.updateIfSet("url", _url);
conf.updateIfSet("capabilities_url", _capabilitiesUrl);
conf.updateIfSet("tile_service_url", _tileServiceUrl);
conf.updateIfSet("layers", _layers);
conf.updateIfSet("style", _style);
conf.updateIfSet("format", _format);
conf.updateIfSet("wms_format", _wmsFormat);
conf.updateIfSet("wms_version", _wmsVersion);
conf.updateIfSet("elevation_unit", _elevationUnit);
conf.updateIfSet("srs", _srs);
conf.updateIfSet("transparent", _transparent);
conf.updateIfSet("times", _times);
conf.updateIfSet("seconds_per_frame", _secondsPerFrame );
return conf;
}
Here is the call graph for this function:| const optional<std::string>& osgEarth::Drivers::WMSOptions::layers | ( | ) | const [inline] |
Definition at line 43 of file WMSOptions.
{ return _layers; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::layers | ( | ) | [inline] |
Definition at line 42 of file WMSOptions.
{ return _layers; }
| void osgEarth::Drivers::WMSOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 103 of file WMSOptions.
{
TileSourceOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:| const optional<double>& osgEarth::Drivers::WMSOptions::secondsPerFrame | ( | ) | const [inline] |
Definition at line 70 of file WMSOptions.
{ return _secondsPerFrame; }
| optional<double>& osgEarth::Drivers::WMSOptions::secondsPerFrame | ( | ) | [inline] |
Definition at line 69 of file WMSOptions.
{ return _secondsPerFrame; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::srs | ( | ) | [inline] |
Definition at line 60 of file WMSOptions.
{ return _srs; }
| const optional<std::string>& osgEarth::Drivers::WMSOptions::srs | ( | ) | const [inline] |
Definition at line 61 of file WMSOptions.
{ return _srs; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::style | ( | ) | [inline] |
Definition at line 45 of file WMSOptions.
{ return _style; }
| const optional<std::string>& osgEarth::Drivers::WMSOptions::style | ( | ) | const [inline] |
Definition at line 46 of file WMSOptions.
{ return _style; }
Definition at line 40 of file WMSOptions.
{ return _tileServiceUrl; }
Definition at line 39 of file WMSOptions.
{ return _tileServiceUrl; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::times | ( | ) | [inline] |
Definition at line 66 of file WMSOptions.
{ return _times; }
| const optional<std::string>& osgEarth::Drivers::WMSOptions::times | ( | ) | const [inline] |
Definition at line 67 of file WMSOptions.
{ return _times; }
| optional<bool>& osgEarth::Drivers::WMSOptions::transparent | ( | ) | [inline] |
Definition at line 63 of file WMSOptions.
{ return _transparent; }
| const optional<bool>& osgEarth::Drivers::WMSOptions::transparent | ( | ) | const [inline] |
Definition at line 64 of file WMSOptions.
{ return _transparent; }
Definition at line 34 of file WMSOptions.
{ return _url; }
Definition at line 33 of file WMSOptions.
{ return _url; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::wmsFormat | ( | ) | [inline] |
Definition at line 51 of file WMSOptions.
{ return _wmsFormat; }
| const optional<std::string>& osgEarth::Drivers::WMSOptions::wmsFormat | ( | ) | const [inline] |
Definition at line 52 of file WMSOptions.
{ return _wmsFormat; }
| optional<std::string>& osgEarth::Drivers::WMSOptions::wmsVersion | ( | ) | [inline] |
Definition at line 54 of file WMSOptions.
{ return _wmsVersion; }
| const optional<std::string>& osgEarth::Drivers::WMSOptions::wmsVersion | ( | ) | const [inline] |
Definition at line 55 of file WMSOptions.
{ return _wmsVersion; }
Definition at line 126 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_elevationUnit [private] |
Definition at line 133 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_format [private] |
Definition at line 130 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_layers [private] |
Definition at line 128 of file WMSOptions.
optional<double> osgEarth::Drivers::WMSOptions::_secondsPerFrame [private] |
Definition at line 137 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_srs [private] |
Definition at line 134 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_style [private] |
Definition at line 129 of file WMSOptions.
Definition at line 127 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_times [private] |
Definition at line 136 of file WMSOptions.
optional<bool> osgEarth::Drivers::WMSOptions::_transparent [private] |
Definition at line 135 of file WMSOptions.
optional<URI> osgEarth::Drivers::WMSOptions::_url [private] |
Definition at line 125 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_wmsFormat [private] |
Definition at line 131 of file WMSOptions.
optional<std::string> osgEarth::Drivers::WMSOptions::_wmsVersion [private] |
Definition at line 132 of file WMSOptions.
1.7.3