|
OSGUIsh
0.3.1
|
#include <ManualFocusPolicy.hpp>
Public Member Functions | |
| ManualFocusPolicy (NodePtr &focusedNode) | |
Constructs a ManualFocusPolicy. | |
| virtual void | updateFocus (const osgGA::GUIEventAdapter &ea, const NodePtr nodeUnderMouse) |
A focus policy that doesn't change the focus. That is, it leaves all the work to be done manually by the programmer.
Definition at line 24 of file ManualFocusPolicy.hpp.
| OSGUIsh::ManualFocusPolicy::ManualFocusPolicy | ( | NodePtr & | focusedNode | ) |
Constructs a ManualFocusPolicy.
| virtual void OSGUIsh::ManualFocusPolicy::updateFocus | ( | const osgGA::GUIEventAdapter & | ea, |
| const NodePtr | nodeUnderMouse | ||
| ) | [virtual] |
Concrete subclasses of FocusPolicy will implement this so that setFocusedNode() is called whenever it is necessary to change the focus according to the policy.
This is called for every event arriving via OSG, after the signals are called.
| ea | The event generated by OSG. |
| nodeUnderMouse | The node under the mouse pointer. |
Implements OSGUIsh::FocusPolicy.
1.7.5.1