osgEarth 2.1.1
|
Public Member Functions | |
PolygonSymbol (const Config &conf=Config()) | |
optional< Fill > & | fill () |
const optional< Fill > & | fill () const |
virtual Config | getConfig () const |
virtual void | mergeConfig (const Config &conf) |
Protected Attributes | |
optional< Fill > | _fill |
Symbol that describes how to render a polygonal geometry.
Definition at line 34 of file PolygonSymbol.
Definition at line 60 of file GeometrySymbol.cpp.
Polygon fill properties.
Definition at line 40 of file PolygonSymbol.
{ return _fill; }
Definition at line 41 of file PolygonSymbol.
{ return _fill; }
Config PolygonSymbol::getConfig | ( | ) | const [virtual] |
Reimplemented from osgEarth::Symbology::Symbol.
Definition at line 32 of file PolygonSymbol.cpp.
{ Config conf = Symbol::getConfig(); conf.key() = "polygon"; conf.addObjIfSet( "fill", _fill ); return conf; }
void PolygonSymbol::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Definition at line 41 of file PolygonSymbol.cpp.
{ conf.getObjIfSet( "fill", _fill ); }
optional<Fill> osgEarth::Symbology::PolygonSymbol::_fill [protected] |
Definition at line 48 of file PolygonSymbol.