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

osgEarth::Drivers::SeamlessOptions Class Reference

Inheritance diagram for osgEarth::Drivers::SeamlessOptions:
Collaboration diagram for osgEarth::Drivers::SeamlessOptions:

List of all members.

Public Member Functions

 SeamlessOptions (const ConfigOptions &options=ConfigOptions())
optional< int > & resolution ()
const optional< int > & resolution () const

Protected Member Functions

virtual Config getConfig () const
virtual void mergeConfig (const Config &conf)

Private Member Functions

void fromConfig (const Config &conf)

Private Attributes

optional< int > _resolution

Detailed Description

Definition at line 30 of file SeamlessOptions.


Constructor & Destructor Documentation

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

Definition at line 33 of file SeamlessOptions.

        : TerrainOptions(options), _resolution(64)
    {
        setDriver("seamless");
        fromConfig(_conf);
    }

Here is the call graph for this function:


Member Function Documentation

void osgEarth::Drivers::SeamlessOptions::fromConfig ( const Config conf) [inline, private]

Reimplemented from osgEarth::TerrainOptions.

Definition at line 56 of file SeamlessOptions.

    {
        conf.getIfSet("resolution", _resolution);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual Config osgEarth::Drivers::SeamlessOptions::getConfig ( ) const [inline, protected, virtual]

Gets or sets the name of the object

Reimplemented from osgEarth::TerrainOptions.

Definition at line 42 of file SeamlessOptions.

    {
        Config conf = TerrainOptions::getConfig();
        conf.updateIfSet("resolution", _resolution);
        return conf;
    }

Here is the call graph for this function:

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

Reimplemented from osgEarth::TerrainOptions.

Definition at line 49 of file SeamlessOptions.

Here is the call graph for this function:

optional<int>& osgEarth::Drivers::SeamlessOptions::resolution ( ) [inline]

Definition at line 39 of file SeamlessOptions.

{ return _resolution; }

Here is the caller graph for this function:

const optional<int>& osgEarth::Drivers::SeamlessOptions::resolution ( ) const [inline]

Definition at line 40 of file SeamlessOptions.

{ return _resolution; }

Member Data Documentation

Definition at line 60 of file SeamlessOptions.


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