14#ifndef OSGGA_EVENTHANDLER
15#define OSGGA_EVENTHANDLER 1
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
The 'GA' in osgGA stands for 'GUI Abstraction'; the osgGA namespace provides facilities to help devel...
Definition Callback:21
Definition ApplicationUsage:26
Callback()
Definition Callback:38
Deprecated.
Definition Callback:215
NodeCallback()
Definition Callback:219
virtual NodeCallback * asNodeCallback()
Definition Callback:227
virtual DrawableEventCallback * asDrawableEventCallback()
Definition Callback:330
DrawableEventCallback()
Definition Callback:322
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Pure virtual base class for drawable geometry.
Definition Drawable:89
Base class for all internal nodes in the scene graph.
Definition Node:72
virtual Node * asNode()
Convert 'this' into a Node pointer if Object is a Node, otherwise return 0.
Definition Node:100
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
virtual NodeVisitor * asNodeVisitor()
Convert 'this' into a NodeVisitor pointer if Object is a NodeVisitor, otherwise return 0.
Definition Object:111
Object()
Construct an object.
Definition Object:69
Base Event class.
Definition Event:27
virtual void operator()(osg::Node *node, osg::NodeVisitor *nv)
Event traversal node callback method.
virtual bool handle(osgGA::Event *event, osg::Object *object, osg::NodeVisitor *nv)
Handle event.
virtual NodeCallback * asNodeCallback()
Definition EventHandler:46
virtual void getUsage(osg::ApplicationUsage &) const
Get the user interface usage of this event handler, i.e.
Definition EventHandler:73
virtual const NodeCallback * asNodeCallback() const
Definition EventHandler:47
virtual void event(osg::NodeVisitor *nv, osg::Drawable *drawable)
Event traversal drawable callback method.
virtual const DrawableEventCallback * asDrawableEventCallback() const
Definition EventHandler:50
virtual bool run(osg::Object *object, osg::Object *data)
NodeCallback overrides the Callback::run() method to adapt it the old style NodeCallback::operator()(...
Definition EventHandler:55
EventHandler()
Definition EventHandler:37
virtual DrawableEventCallback * asDrawableEventCallback()
Definition EventHandler:49
virtual const EventHandler * asEventHandler() const
Definition EventHandler:53
EventHandler(const EventHandler &eh, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Definition EventHandler:38
virtual EventHandler * asEventHandler()
Definition EventHandler:52
META_Object(osgGA, EventHandler)
#define OSGGA_EXPORT
Definition Export:40