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

osgEarth::Drivers::AGGLiteOptions Class Reference

Inheritance diagram for osgEarth::Drivers::AGGLiteOptions:
Collaboration diagram for osgEarth::Drivers::AGGLiteOptions:

List of all members.

Public Member Functions

optional< bool > & relativeLineSize ()
const optional< bool > & relativeLineSize () const
optional< bool > & optimizeLineSampling ()
const optional< bool > & optimizeLineSampling () const
 AGGLiteOptions (const TileSourceOptions &options=TileSourceOptions())
Config getConfig () const

Protected Member Functions

void mergeConfig (const Config &conf)

Private Member Functions

void fromConfig (const Config &conf)

Private Attributes

optional< bool > _relativeLineSize
optional< bool > _optimizeLineSampling

Detailed Description

Definition at line 30 of file AGGLiteOptions.


Constructor & Destructor Documentation

osgEarth::Drivers::AGGLiteOptions::AGGLiteOptions ( const TileSourceOptions options = TileSourceOptions()) [inline]

Definition at line 51 of file AGGLiteOptions.


Member Function Documentation

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

Reimplemented from osgEarth::Features::FeatureTileSourceOptions.

Definition at line 75 of file AGGLiteOptions.

                                              {
            conf.getIfSet( "relative_line_size", _relativeLineSize );
            conf.getIfSet( "optimize_line_sampling", _optimizeLineSampling );
        }

Here is the call graph for this function:

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

Gets or sets the name of the object

Reimplemented from osgEarth::Features::FeatureTileSourceOptions.

Definition at line 61 of file AGGLiteOptions.

                                 {
            Config conf = FeatureTileSourceOptions::getConfig();
            conf.updateIfSet("relative_line_size", _relativeLineSize);
            conf.updateIfSet("optimize_line_sampling", _optimizeLineSampling);
            return conf;
        }

Here is the call graph for this function:

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

Reimplemented from osgEarth::Features::FeatureTileSourceOptions.

Definition at line 69 of file AGGLiteOptions.

Here is the call graph for this function:

const optional<bool>& osgEarth::Drivers::AGGLiteOptions::optimizeLineSampling ( ) const [inline]

Definition at line 48 of file AGGLiteOptions.

optional<bool>& osgEarth::Drivers::AGGLiteOptions::optimizeLineSampling ( ) [inline]

Whether to downsample line features to that they are no higher resolution than the target image resolution. Defaults to true, but you can disable this (for a possible performance increase) if you know your data to be of a relatively low resolution. (Default = true)

Definition at line 47 of file AGGLiteOptions.

optional<bool>& osgEarth::Drivers::AGGLiteOptions::relativeLineSize ( ) [inline]

If true, the rasterizer will adjust the line width based on the tile extent, having the effect of making lines appear approximately the same width at all scales. (Default = true)

Definition at line 38 of file AGGLiteOptions.

{ return _relativeLineSize; }
const optional<bool>& osgEarth::Drivers::AGGLiteOptions::relativeLineSize ( ) const [inline]

Definition at line 39 of file AGGLiteOptions.

{ return _relativeLineSize; }

Member Data Documentation

Definition at line 81 of file AGGLiteOptions.

Definition at line 80 of file AGGLiteOptions.


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