|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Features::GeometryCompilerOptions:
Collaboration diagram for osgEarth::Features::GeometryCompilerOptions:Definition at line 34 of file GeometryCompiler.
| GeometryCompilerOptions::GeometryCompilerOptions | ( | const ConfigOptions & | conf = ConfigOptions() | ) |
Definition at line 49 of file GeometryCompiler.cpp.
: ConfigOptions( conf ), _maxGranularity_deg( 5.0 ), _mergeGeometry( false ), _clustering( true ) { fromConfig(_conf); }
Here is the call graph for this function:| optional<bool>& osgEarth::Features::GeometryCompilerOptions::clustering | ( | ) | [inline] |
Whether to cluster feature geometries together for speed
Definition at line 57 of file GeometryCompiler.
{ return _clustering; }
Here is the caller graph for this function:| const optional<bool>& osgEarth::Features::GeometryCompilerOptions::clustering | ( | ) | const [inline] |
Definition at line 58 of file GeometryCompiler.
{ return _clustering; }
| const optional<StringExpression>& osgEarth::Features::GeometryCompilerOptions::featureName | ( | ) | const [inline] |
Definition at line 54 of file GeometryCompiler.
{ return _featureNameExpr; }
| optional<StringExpression>& osgEarth::Features::GeometryCompilerOptions::featureName | ( | ) | [inline] |
Expression to evaluate to extract a feature's readable name
Definition at line 53 of file GeometryCompiler.
{ return _featureNameExpr; }
Here is the caller graph for this function:| void GeometryCompilerOptions::fromConfig | ( | const Config & | conf | ) | [private] |
Definition at line 59 of file GeometryCompiler.cpp.
{
conf.getIfSet ( "max_granularity", _maxGranularity_deg );
conf.getIfSet ( "merge_geometry", _mergeGeometry );
conf.getIfSet ( "clustering", _clustering );
conf.getObjIfSet( "feature_name", _featureNameExpr );
conf.getIfSet ( "geo_interpolation", "great_circle", _geoInterp, GEOINTERP_GREAT_CIRCLE );
conf.getIfSet ( "geo_interpolation", "rhumb_line", _geoInterp, GEOINTERP_RHUMB_LINE );
}
Here is the call graph for this function:
Here is the caller graph for this function:| const optional<GeoInterpolation>& osgEarth::Features::GeometryCompilerOptions::geoInterp | ( | ) | const [inline] |
Definition at line 46 of file GeometryCompiler.
{ return _geoInterp; }
| optional<GeoInterpolation>& osgEarth::Features::GeometryCompilerOptions::geoInterp | ( | ) | [inline] |
Interpolation type to use for geodetic points
Definition at line 45 of file GeometryCompiler.
{ return _geoInterp; }
Here is the caller graph for this function:| Config GeometryCompilerOptions::getConfig | ( | ) | const [virtual] |
Reimplemented from osgEarth::ConfigOptions.
Definition at line 70 of file GeometryCompiler.cpp.
{
Config conf = ConfigOptions::getConfig();
conf.addIfSet ( "max_granularity", _maxGranularity_deg );
conf.addIfSet ( "merge_geometry", _mergeGeometry );
conf.addIfSet ( "clustering", _clustering );
conf.addObjIfSet( "feature_name", _featureNameExpr );
conf.addIfSet ( "geo_interpolation", "great_circle", _geoInterp, GEOINTERP_GREAT_CIRCLE );
conf.addIfSet ( "geo_interpolation", "rhumb_line", _geoInterp, GEOINTERP_RHUMB_LINE );
return conf;
}
Here is the call graph for this function:| const optional<double>& osgEarth::Features::GeometryCompilerOptions::maxGranularity | ( | ) | const [inline] |
Definition at line 42 of file GeometryCompiler.
{ return _maxGranularity_deg; }
| optional<double>& osgEarth::Features::GeometryCompilerOptions::maxGranularity | ( | ) | [inline] |
Maximum span of a generated edge, in degrees. Applicable to geocentric maps only
Definition at line 41 of file GeometryCompiler.
{ return _maxGranularity_deg; }
Here is the caller graph for this function:| void GeometryCompilerOptions::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Reimplemented from osgEarth::ConfigOptions.
Definition at line 83 of file GeometryCompiler.cpp.
{
ConfigOptions::mergeConfig( conf );
fromConfig( conf );
}
Here is the call graph for this function:| optional<bool>& osgEarth::Features::GeometryCompilerOptions::mergeGeometry | ( | ) | [inline] |
Whether to merge geometry from multiple features
Definition at line 49 of file GeometryCompiler.
{ return _mergeGeometry; }
Here is the caller graph for this function:| const optional<bool>& osgEarth::Features::GeometryCompilerOptions::mergeGeometry | ( | ) | const [inline] |
Definition at line 50 of file GeometryCompiler.
{ return _mergeGeometry; }
| optional<double>& osgEarth::Features::GeometryCompilerOptions::resampleMaxLength | ( | ) | [inline] |
Definition at line 64 of file GeometryCompiler.
{ return _resampleMaxLength; }
Here is the caller graph for this function:| const optional<double>& osgEarth::Features::GeometryCompilerOptions::resampleMaxLength | ( | ) | const [inline] |
Definition at line 65 of file GeometryCompiler.
{ return _resampleMaxLength;}
| optional<osgEarth::Features::ResampleFilter::ResampleMode>& osgEarth::Features::GeometryCompilerOptions::resampleMode | ( | ) | [inline] |
Definition at line 61 of file GeometryCompiler.
{ return _resampleMode;}
Here is the caller graph for this function:| const optional<osgEarth::Features::ResampleFilter::ResampleMode>& osgEarth::Features::GeometryCompilerOptions::resampleMode | ( | ) | const [inline] |
Definition at line 62 of file GeometryCompiler.
{ return _resampleMode;}
optional<bool> osgEarth::Features::GeometryCompilerOptions::_clustering [private] |
Definition at line 78 of file GeometryCompiler.
Definition at line 77 of file GeometryCompiler.
Definition at line 75 of file GeometryCompiler.
optional<double> osgEarth::Features::GeometryCompilerOptions::_maxGranularity_deg [private] |
Definition at line 74 of file GeometryCompiler.
optional<bool> osgEarth::Features::GeometryCompilerOptions::_mergeGeometry [private] |
Definition at line 76 of file GeometryCompiler.
optional<double> osgEarth::Features::GeometryCompilerOptions::_resampleMaxLength [private] |
Definition at line 80 of file GeometryCompiler.
optional<osgEarth::Features::ResampleFilter::ResampleMode> osgEarth::Features::GeometryCompilerOptions::_resampleMode [private] |
Definition at line 79 of file GeometryCompiler.
1.7.3