|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Drivers::FeatureMaskOptions:
Collaboration diagram for osgEarth::Drivers::FeatureMaskOptions:Public Member Functions | |
| optional< FeatureSourceOptions > & | featureOptions () |
| const optional < FeatureSourceOptions > & | featureOptions () const |
| osg::ref_ptr< FeatureSource > & | featureSource () |
| const osg::ref_ptr < FeatureSource > & | featureSource () const |
| FeatureMaskOptions (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< FeatureSourceOptions > | _featureOptions |
| osg::ref_ptr< FeatureSource > | _featureSource |
Definition at line 31 of file FeatureMaskOptions.
| osgEarth::Drivers::FeatureMaskOptions::FeatureMaskOptions | ( | const ConfigOptions & | options = ConfigOptions() | ) | [inline] |
Definition at line 43 of file FeatureMaskOptions.
:
MaskSourceOptions( options )
{
setDriver( "feature" );
fromConfig( _conf );
}
| optional<FeatureSourceOptions>& osgEarth::Drivers::FeatureMaskOptions::featureOptions | ( | ) | [inline] |
Feature source from which to read the feature data
Definition at line 35 of file FeatureMaskOptions.
{ return _featureOptions; }
| const optional<FeatureSourceOptions>& osgEarth::Drivers::FeatureMaskOptions::featureOptions | ( | ) | const [inline] |
Definition at line 36 of file FeatureMaskOptions.
{ return _featureOptions; }
| const osg::ref_ptr<FeatureSource>& osgEarth::Drivers::FeatureMaskOptions::featureSource | ( | ) | const [inline] |
Definition at line 40 of file FeatureMaskOptions.
{ return _featureSource; }
| osg::ref_ptr<FeatureSource>& osgEarth::Drivers::FeatureMaskOptions::featureSource | ( | ) | [inline] |
A live feature source instance to use. Note, this does not serialize.
Definition at line 39 of file FeatureMaskOptions.
{ return _featureSource; }
| void osgEarth::Drivers::FeatureMaskOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::MaskSourceOptions.
Definition at line 64 of file FeatureMaskOptions.
{
if ( conf.hasChild("features") )
_featureOptions->merge( conf.child("features") );
}
Here is the call graph for this function:| Config osgEarth::Drivers::FeatureMaskOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::MaskSourceOptions.
Definition at line 51 of file FeatureMaskOptions.
{
Config conf = MaskSourceOptions::getConfig();
conf.updateObjIfSet( "features", _featureOptions );
return conf;
}
Here is the call graph for this function:| virtual void osgEarth::Drivers::FeatureMaskOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::MaskSourceOptions.
Definition at line 58 of file FeatureMaskOptions.
{
MaskSourceOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:Definition at line 69 of file FeatureMaskOptions.
osg::ref_ptr<FeatureSource> osgEarth::Drivers::FeatureMaskOptions::_featureSource [private] |
Definition at line 70 of file FeatureMaskOptions.
1.7.3