|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Symbology::LineSymbol:
Collaboration diagram for osgEarth::Symbology::LineSymbol: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;
}
Here is the call graph for this function:| void LineSymbol::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Definition at line 41 of file LineSymbol.cpp.
{
conf.getObjIfSet("stroke", _stroke);
}
Here is the call graph for this function:Line stroking parameters
Definition at line 41 of file LineSymbol.
{ return _stroke; }
Here is the caller graph for this function:Definition at line 42 of file LineSymbol.
{ return _stroke; }
optional<Stroke> osgEarth::Symbology::LineSymbol::_stroke [protected] |
Definition at line 49 of file LineSymbol.
1.7.3