osgEarth 2.1.1
|
Public Member Functions | |
LineSymbol (const Config &conf=Config()) | |
optional< Stroke > & | stroke () |
const optional< Stroke > & | stroke () const |
virtual Config | getConfig () const |
virtual void | mergeConfig (const Config &conf) |
Protected Attributes | |
optional< Stroke > | _stroke |
Symbol that describes how to draw linear geometry.
Definition at line 35 of file LineSymbol.
Definition at line 53 of file GeometrySymbol.cpp.
Config LineSymbol::getConfig | ( | ) | const [virtual] |
Reimplemented from osgEarth::Symbology::Symbol.
Definition at line 32 of file LineSymbol.cpp.
{ Config conf = Symbol::getConfig(); conf.key() = "line"; conf.addObjIfSet("stroke", _stroke); return conf; }
void LineSymbol::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Definition at line 41 of file LineSymbol.cpp.
{ conf.getObjIfSet("stroke", _stroke); }
Line stroking parameters
Definition at line 41 of file LineSymbol.
{ return _stroke; }
Definition at line 42 of file LineSymbol.
{ return _stroke; }
optional<Stroke> osgEarth::Symbology::LineSymbol::_stroke [protected] |
Definition at line 49 of file LineSymbol.