|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Symbology::PolygonSymbol:
Collaboration diagram for osgEarth::Symbology::PolygonSymbol: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; }
Here is the caller graph for this function: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;
}
Here is the call graph for this function:| void PolygonSymbol::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Definition at line 41 of file PolygonSymbol.cpp.
{
conf.getObjIfSet( "fill", _fill );
}
Here is the call graph for this function:optional<Fill> osgEarth::Symbology::PolygonSymbol::_fill [protected] |
Definition at line 48 of file PolygonSymbol.
1.7.3