osgEarth 2.1.1
Public Member Functions | Public Attributes

TogglePathHandler Struct Reference

Inheritance diagram for TogglePathHandler:
Collaboration diagram for TogglePathHandler:

List of all members.

Public Member Functions

 TogglePathHandler (MeasureToolHandler *tool)
virtual void onValueChanged (Control *control, bool value)

Public Attributes

osg::ref_ptr< MeasureToolHandler_tool

Detailed Description

Definition at line 58 of file osgearth_measure.cpp.


Constructor & Destructor Documentation

TogglePathHandler::TogglePathHandler ( MeasureToolHandler tool) [inline]

Definition at line 60 of file osgearth_measure.cpp.

                                                 :
    _tool( tool )
    { }

Member Function Documentation

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 );
    }

Member Data Documentation

Definition at line 68 of file osgearth_measure.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines