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

osgEarth::Drivers::FeatureSubModelOptions Class Reference

Inheritance diagram for osgEarth::Drivers::FeatureSubModelOptions:
Collaboration diagram for osgEarth::Drivers::FeatureSubModelOptions:

List of all members.

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

Detailed Description

Definition at line 30 of file OverlayLabelSource.


Constructor & Destructor Documentation

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

Definition at line 40 of file OverlayLabelSource.

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

Member Function Documentation

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.

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

Member Data Documentation

Definition at line 68 of file OverlayLabelSource.

Definition at line 67 of file OverlayLabelSource.


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