osgEarth 2.1.1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

osgEarth::Drivers::FeatureGeomModelOptions Class Reference

Inheritance diagram for osgEarth::Drivers::FeatureGeomModelOptions:
Collaboration diagram for osgEarth::Drivers::FeatureGeomModelOptions:

List of all members.

Public Member Functions

GeometryCompilerOptionscompilerOptions ()
const GeometryCompilerOptionscompilerOptions () 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

Detailed Description

Definition at line 31 of file FeatureGeomModelOptions.


Constructor & Destructor Documentation

osgEarth::Drivers::FeatureGeomModelOptions::FeatureGeomModelOptions ( const ConfigOptions options = ConfigOptions()) [inline]

Definition at line 38 of file FeatureGeomModelOptions.

                                                                                 :
            FeatureModelSourceOptions( options )
        {
            setDriver( "feature_geom" );
            fromConfig( _conf );
        }

Member Function Documentation

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.

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;
        }

Here is the call graph for this function:

virtual void osgEarth::Drivers::FeatureGeomModelOptions::mergeConfig ( const Config conf) [inline, protected, virtual]

Reimplemented from osgEarth::Features::FeatureModelSourceOptions.

Definition at line 58 of file FeatureGeomModelOptions.

Here is the call graph for this function:


Member Data Documentation

Definition at line 69 of file FeatureGeomModelOptions.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines