|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Drivers::DebugOptions:
Collaboration diagram for osgEarth::Drivers::DebugOptions:Public Member Functions | |
| optional< std::string > & | colorCode () |
| const optional< std::string > & | colorCode () const |
| optional< bool > & | tms () |
| const optional< bool > & | tms () const |
| DebugOptions (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< std::string > | _colorCode |
| optional< bool > | _tms |
Definition at line 29 of file DebugOptions.
| osgEarth::Drivers::DebugOptions::DebugOptions | ( | const TileSourceOptions & | opt = TileSourceOptions() | ) | [inline] |
Definition at line 39 of file DebugOptions.
: TileSourceOptions( opt ), _colorCode( "#000000" ), _tms( false ) { setDriver( "debug" ); fromConfig( _conf ); }
| optional<std::string>& osgEarth::Drivers::DebugOptions::colorCode | ( | ) | [inline] |
Definition at line 32 of file DebugOptions.
{ return _colorCode; }
| const optional<std::string>& osgEarth::Drivers::DebugOptions::colorCode | ( | ) | const [inline] |
Definition at line 33 of file DebugOptions.
{ return _colorCode; }
| void osgEarth::Drivers::DebugOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 62 of file DebugOptions.
{
conf.getIfSet( "color", _colorCode );
conf.getIfSet( "tms", _tms);
}
Here is the call graph for this function:| Config osgEarth::Drivers::DebugOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 48 of file DebugOptions.
{
Config conf = TileSourceOptions::getConfig();
conf.updateIfSet( "color", _colorCode );
conf.updateIfSet( "tms", _tms );
return conf;
}
Here is the call graph for this function:| void osgEarth::Drivers::DebugOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::TileSourceOptions.
Definition at line 56 of file DebugOptions.
{
TileSourceOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:| optional<bool>& osgEarth::Drivers::DebugOptions::tms | ( | ) | [inline] |
Definition at line 35 of file DebugOptions.
{ return _tms; }
| const optional<bool>& osgEarth::Drivers::DebugOptions::tms | ( | ) | const [inline] |
Definition at line 36 of file DebugOptions.
{ return _tms; }
optional<std::string> osgEarth::Drivers::DebugOptions::_colorCode [private] |
Definition at line 67 of file DebugOptions.
optional<bool> osgEarth::Drivers::DebugOptions::_tms [private] |
Definition at line 68 of file DebugOptions.
1.7.3