osgEarth 2.1.1
|
Public Member Functions | |
TogglePathHandler (MeasureToolHandler *tool) | |
virtual void | onValueChanged (Control *control, bool value) |
Public Attributes | |
osg::ref_ptr< MeasureToolHandler > | _tool |
Definition at line 58 of file osgearth_measure.cpp.
TogglePathHandler::TogglePathHandler | ( | MeasureToolHandler * | tool | ) | [inline] |
Definition at line 60 of file osgearth_measure.cpp.
: _tool( tool ) { }
virtual void TogglePathHandler::onValueChanged | ( | Control * | control, |
bool | value | ||
) | [inline, virtual] |
Value events
Reimplemented from osgEarth::Util::Controls::ControlEventHandler.
Definition at line 64 of file osgearth_measure.cpp.
{ _tool->setIsPath( value ); }
osg::ref_ptr<MeasureToolHandler> TogglePathHandler::_tool |
Definition at line 68 of file osgearth_measure.cpp.