|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Drivers::FeatureSubModelOptions:
Collaboration diagram for osgEarth::Drivers::FeatureSubModelOptions:Public Member Functions | |
| optional< std::string > & | url () |
| const optional< std::string > & | url () const |
| optional< double > & | heightOffset () |
| const optional< double > & | heightOffset () const |
| FeatureSubModelOptions (const ConfigOptions &options=ConfigOptions()) | |
| Config | getConfig () const |
Protected Member Functions | |
| virtual void | mergeConfig (const Config &conf) |
Private Member Functions | |
| void | fromConfig (const Config &conf) |
Private Attributes | |
| optional< std::string > | _url |
| optional< double > | _heightOffset |
Definition at line 30 of file OverlayLabelSource.
| osgEarth::Drivers::FeatureSubModelOptions::FeatureSubModelOptions | ( | const ConfigOptions & | options = ConfigOptions() | ) | [inline] |
Definition at line 40 of file OverlayLabelSource.
:
FeatureModelSourceOptions( options )
{
setDriver( "feature_geom" );
fromConfig( _conf );
}
| void osgEarth::Drivers::FeatureSubModelOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::Features::FeatureModelSourceOptions.
Definition at line 62 of file OverlayLabelSource.
{
conf.getIfSet( "url", _url );
conf.getIfSet( "height_offset", _heightOffset );
}
Here is the call graph for this function:| Config osgEarth::Drivers::FeatureSubModelOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::Features::FeatureModelSourceOptions.
Definition at line 48 of file OverlayLabelSource.
{
Config conf = FeatureModelSourceOptions::getConfig();
conf.updateIfSet( "url", _url );
conf.updateIfSet( "height_offset", _heightOffset );
return conf;
}
Here is the call graph for this function:| optional<double>& osgEarth::Drivers::FeatureSubModelOptions::heightOffset | ( | ) | [inline] |
Definition at line 36 of file OverlayLabelSource.
{ return _heightOffset; }
| const optional<double>& osgEarth::Drivers::FeatureSubModelOptions::heightOffset | ( | ) | const [inline] |
Definition at line 37 of file OverlayLabelSource.
{ return _heightOffset; }
| virtual void osgEarth::Drivers::FeatureSubModelOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::Features::FeatureModelSourceOptions.
Definition at line 56 of file OverlayLabelSource.
{
FeatureModelSourceOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:| const optional<std::string>& osgEarth::Drivers::FeatureSubModelOptions::url | ( | ) | const [inline] |
Definition at line 34 of file OverlayLabelSource.
{ return _url; }
| optional<std::string>& osgEarth::Drivers::FeatureSubModelOptions::url | ( | ) | [inline] |
Definition at line 33 of file OverlayLabelSource.
{ return _url; }
optional<double> osgEarth::Drivers::FeatureSubModelOptions::_heightOffset [private] |
Definition at line 68 of file OverlayLabelSource.
optional<std::string> osgEarth::Drivers::FeatureSubModelOptions::_url [private] |
Definition at line 67 of file OverlayLabelSource.
1.7.3