OSGUIsh  0.3.1
Classes | Typedefs | Enumerations
OSGUIsh Namespace Reference

Classes

struct  HandlerParams
class  EventHandler
class  FocusPolicy
class  FocusPolicyFactory
class  FocusPolicyFactoryMason
class  ManualFocusPolicy
class  MouseDownFocusPolicy
class  MouseOverFocusPolicy
 A focus policy that puts the focus on the node under the mouse pointer. More...
struct  Intersection_t

Typedefs

typedef boost::shared_ptr
< FocusPolicy
FocusPolicyPtr
 A (smart) pointer to a FocusPolicy.
typedef osg::ref_ptr< osg::Node > NodePtr
 A (smart) pointer to a scene graph node.

Enumerations

enum  Event {
  EVENT_MOUSE_MOVE, EVENT_MOUSE_ENTER, EVENT_MOUSE_LEAVE, EVENT_MOUSE_DOWN,
  EVENT_MOUSE_UP, EVENT_CLICK, EVENT_DOUBLE_CLICK, EVENT_KEY_DOWN,
  EVENT_KEY_UP, EVENT_MOUSE_WHEEL_UP, EVENT_MOUSE_WHEEL_DOWN
}
 The events supported by OSGUIsh. More...

Typedef Documentation

typedef boost::shared_ptr<FocusPolicy> OSGUIsh::FocusPolicyPtr

A (smart) pointer to a FocusPolicy.

Definition at line 64 of file FocusPolicy.hpp.

typedef osg::ref_ptr<osg::Node> OSGUIsh::NodePtr

A (smart) pointer to a scene graph node.

Definition at line 23 of file Types.hpp.


Enumeration Type Documentation

The events supported by OSGUIsh.

Enumerator:
EVENT_MOUSE_MOVE 

A "mouse move" event; generated when the mouse pointer moves on the surface of a registered node. Movement is relative: if the mouse pointer is standing still, but the object under it is moving, mouse move events will be generated.

EVENT_MOUSE_ENTER 

A "mouse enter" event; generated when the mouse pointer goes over a registered node.

EVENT_MOUSE_LEAVE 

A "mouse leave" event; generated when the mouse pointer goes out of a registered node.

EVENT_MOUSE_DOWN 

A "mouse down" event; generated when a mouse button is pressed when the mouse cursor is over a registered node.

EVENT_MOUSE_UP 

A "mouse up" event; generated when a mouse button is released when the mouse cursor is over a registered node.

EVENT_CLICK 

A "click" event; generated when a mouse button is pressed and then released when the mouse cursor is over a registered node.

EVENT_DOUBLE_CLICK 

A "double click" event; generated when two EVENT_CLICK events are generated in rapid succession on the same registered node.

EVENT_KEY_DOWN 

A "key down" event; generated when a keyboard key is pressed while a registered node has the focus. Different FocusPolicys can be used to determine which node has the focus.

EVENT_KEY_UP 

A "key up" event; generated when a keyboard key is released while a registered node has the focus. Different FocusPolicys can be used to determine which node has the focus.

EVENT_MOUSE_WHEEL_UP 

A "mouse wheel up" event; generated when the mouse wheel is rolled up (forward) while a registered node has the focus. Different FocusPolicys can be used to determine which node has the focus.

EVENT_MOUSE_WHEEL_DOWN 

A "mouse wheel down" event; generated when the mouse wheel is rolled down (backward) while a registered node has the focus. Different FocusPolicys can be used to determine which node has the focus.

Definition at line 22 of file Events.hpp.