osgEarth 2.1.1
Public Member Functions

osgEarth::Util::Controls::ControlEventHandler Class Reference

Inheritance diagram for osgEarth::Util::Controls::ControlEventHandler:
Collaboration diagram for osgEarth::Util::Controls::ControlEventHandler:

List of all members.

Public Member Functions

virtual void onClick (class Control *control)
virtual void onClick (class Control *control, int mouseButtonMask)
virtual void onClick (class Control *control, const osg::Vec2f &pos, int mouseButtonMask)
virtual void onValueChanged (class Control *control, bool value)
virtual void onValueChanged (class Control *control, double value)
virtual void onValueChanged (class Control *control, float value)
virtual void onValueChanged (class Control *control, int value)
virtual void onValueChanged (class Control *control, const osg::Vec3f &value)
virtual void onValueChanged (class Control *control, const osg::Vec2f &value)
virtual void onValueChanged (class Control *control, const osg::Vec3d &value)
virtual void onValueChanged (class Control *control, const osg::Vec2d &value)
virtual void onValueChanged (class Control *control, const std::string &value)
virtual void onValueChanged (class Control *control, void *value)

Detailed Description

Definition at line 95 of file Controls.


Member Function Documentation

virtual void osgEarth::Util::Controls::ControlEventHandler::onClick ( class Control control) [inline, virtual]

Click event.

Reimplemented in ClickViewpointHandler.

Definition at line 99 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onClick ( class Control control,
int  mouseButtonMask 
) [inline, virtual]

Click event with mouse button mask (see osgGA::GUIEventAdapter::MouseButtonMask)

Reimplemented in AddVertsModeHandler, EditModeHandler, ChangeStyleHandler, EditHandler, ChangeImageHandler, AddLayerHandler, RemoveLayerHandler, and MoveLayerHandler.

Definition at line 102 of file Controls.

{ onClick(control); }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void osgEarth::Util::Controls::ControlEventHandler::onClick ( class Control control,
const osg::Vec2f &  pos,
int  mouseButtonMask 
) [inline, virtual]

Click event with click position (negative values mean you're in the left/top padding)

Reimplemented in MyClickHandler.

Definition at line 105 of file Controls.

{ onClick(control, mouseButtonMask); }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
const osg::Vec2d &  value 
) [inline, virtual]

Definition at line 115 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
const osg::Vec3d &  value 
) [inline, virtual]

Definition at line 114 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
const osg::Vec2f &  value 
) [inline, virtual]

Definition at line 113 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
const osg::Vec3f &  value 
) [inline, virtual]

Definition at line 112 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
int  value 
) [inline, virtual]

Definition at line 111 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
float  value 
) [inline, virtual]

Reimplemented in MySliderHandler, RotateImage, OpacityHandler, LayerOpacityHandler, and SkySliderHandler.

Definition at line 110 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
double  value 
) [inline, virtual]

Definition at line 109 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
bool  value 
) [inline, virtual]

Value events

Reimplemented in ToggleNode, EnabledHandler, TogglePathHandler, ToggleModeHandler, LayerEnabledHandler, and ToggleNodeHandler.

Definition at line 108 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
const std::string &  value 
) [inline, virtual]

Definition at line 116 of file Controls.

{ }
virtual void osgEarth::Util::Controls::ControlEventHandler::onValueChanged ( class Control control,
void *  value 
) [inline, virtual]

Definition at line 117 of file Controls.

{ }

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