osgEarth 2.1.1
|
Public Member Functions | |
PointSymbol (const Config &conf=Config()) | |
optional< Fill > & | fill () |
const optional< Fill > & | fill () const |
optional< float > & | size () |
const optional< float > & | size () const |
virtual Config | getConfig () const |
virtual void | mergeConfig (const Config &conf) |
Protected Attributes | |
optional< Fill > | _fill |
optional< float > | _size |
Symbol that describes how to render point geometries.
Definition at line 30 of file PointSymbol.
Definition at line 66 of file GeometrySymbol.cpp.
Point fill properties.
Definition at line 36 of file PointSymbol.
{ return _fill; }
Definition at line 37 of file PointSymbol.
{ return _fill; }
Config PointSymbol::getConfig | ( | ) | const [virtual] |
Reimplemented from osgEarth::Symbology::Symbol.
Definition at line 33 of file PointSymbol.cpp.
{ Config conf = Symbol::getConfig(); conf.key() = "point"; conf.addObjIfSet( "fill", _fill ); conf.addIfSet( "size", _size ); return conf; }
void PointSymbol::mergeConfig | ( | const Config & | conf | ) | [virtual] |
Definition at line 43 of file PointSymbol.cpp.
{ conf.getObjIfSet( "fill", _fill ); conf.getIfSet( "size", _size ); }
const optional<float>& osgEarth::Symbology::PointSymbol::size | ( | ) | const [inline] |
Definition at line 41 of file PointSymbol.
{ return _size; }
optional<float>& osgEarth::Symbology::PointSymbol::size | ( | ) | [inline] |
Point size property
Definition at line 40 of file PointSymbol.
{ return _size; }
optional<Fill> osgEarth::Symbology::PointSymbol::_fill [protected] |
Definition at line 48 of file PointSymbol.
optional<float> osgEarth::Symbology::PointSymbol::_size [protected] |
Definition at line 49 of file PointSymbol.