osgEarth 2.1.1
|
Public Member Functions | |
GeometryCompilerOptions & | compilerOptions () |
const GeometryCompilerOptions & | compilerOptions () const |
FeatureGeomModelOptions (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 | |
GeometryCompilerOptions | _compilerOptions |
Definition at line 31 of file FeatureGeomModelOptions.
osgEarth::Drivers::FeatureGeomModelOptions::FeatureGeomModelOptions | ( | const ConfigOptions & | options = ConfigOptions() | ) | [inline] |
Definition at line 38 of file FeatureGeomModelOptions.
: FeatureModelSourceOptions( options ) { setDriver( "feature_geom" ); fromConfig( _conf ); }
GeometryCompilerOptions& osgEarth::Drivers::FeatureGeomModelOptions::compilerOptions | ( | ) | [inline] |
Definition at line 34 of file FeatureGeomModelOptions.
{ return _compilerOptions; }
const GeometryCompilerOptions& osgEarth::Drivers::FeatureGeomModelOptions::compilerOptions | ( | ) | const [inline] |
Definition at line 35 of file FeatureGeomModelOptions.
{ return _compilerOptions; }
void osgEarth::Drivers::FeatureGeomModelOptions::fromConfig | ( | const Config & | conf | ) | [inline, private] |
Reimplemented from osgEarth::Features::FeatureModelSourceOptions.
Definition at line 65 of file FeatureGeomModelOptions.
{ _compilerOptions.mergeConfig(conf); }
Config osgEarth::Drivers::FeatureGeomModelOptions::getConfig | ( | ) | const [inline, virtual] |
Gets or sets the name of the object
Reimplemented from osgEarth::Features::FeatureModelSourceOptions.
Definition at line 46 of file FeatureGeomModelOptions.
{ Config conf = FeatureModelSourceOptions::getConfig(); // merges the configurations together, so you can still specify // compiler options at the model level Config compilerConfig = _compilerOptions.getConfig(); conf.merge( compilerConfig ); return conf; }
virtual void osgEarth::Drivers::FeatureGeomModelOptions::mergeConfig | ( | const Config & | conf | ) | [inline, protected, virtual] |
Reimplemented from osgEarth::Features::FeatureModelSourceOptions.
Definition at line 58 of file FeatureGeomModelOptions.
{ FeatureModelSourceOptions::mergeConfig( conf ); _compilerOptions.mergeConfig( conf ); fromConfig( conf ); }
Definition at line 69 of file FeatureGeomModelOptions.