osgEarth 2.1.1
|
Public Member Functions | |
ClickViewpointHandler (const Viewpoint &vp) | |
virtual void | onClick (class Control *control) |
Public Attributes | |
Viewpoint | _vp |
Definition at line 87 of file osgearth_viewer.cpp.
ClickViewpointHandler::ClickViewpointHandler | ( | const Viewpoint & | vp | ) | [inline] |
Definition at line 89 of file osgearth_viewer.cpp.
: _vp(vp) { }
virtual void ClickViewpointHandler::onClick | ( | class Control * | control | ) | [inline, virtual] |
Click event.
Reimplemented from osgEarth::Util::Controls::ControlEventHandler.
Definition at line 92 of file osgearth_viewer.cpp.
{ s_manip->setViewpoint( _vp, 4.5 ); }
Definition at line 90 of file osgearth_viewer.cpp.