Inheritance diagram for osgGA::EventVisitor:
Public Types | |
typedef std::list< osg::ref_ptr< GUIEventAdapter > > | EventList |
Public Member Functions | |
EventVisitor () | |
virtual | ~EventVisitor () |
void | setActionAdapter (osgGA::GUIActionAdapter *actionAdapter) |
osgGA::GUIActionAdapter * | getActionAdapter () |
const osgGA::GUIActionAdapter * | getActionAdapter () const |
void | setEventList (const EventList &events) |
EventList & | getEventList () |
const EventList & | getEventList () const |
void | addEvent (GUIEventAdapter *event) |
void | removeEvent (GUIEventAdapter *event) |
bool | getEventHandled () const |
void | setEventHandled (bool handled) |
virtual void | reset () |
Method to call to reset visitor. | |
virtual void | apply (osg::Node &node) |
During traversal each type of node calls its callbacks and its children traversed. | |
virtual void | apply (osg::Geode &node) |
virtual void | apply (osg::Billboard &node) |
virtual void | apply (osg::LightSource &node) |
virtual void | apply (osg::Group &node) |
virtual void | apply (osg::Transform &node) |
virtual void | apply (osg::Projection &node) |
virtual void | apply (osg::Switch &node) |
virtual void | apply (osg::LOD &node) |
virtual void | apply (osg::OccluderNode &node) |
Protected Member Functions | |
EventVisitor & | operator= (const EventVisitor &) |
Prevent unwanted copy operator. | |
void | handle_callbacks (osg::StateSet *stateset) |
void | handle_callbacks_and_traverse (osg::Node &node) |
void | handle_geode_callbacks (osg::Geode &node) |
void | traverseGeode (osg::Geode &geode) |
Protected Attributes | |
osgGA::GUIActionAdapter * | _actionAdapter |
EventList | _events |
bool | _handled |
This visitor traverses the scene graph, calling each nodes appCallback if it exists.
|
|
|
|
|
|
|
|
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
During traversal each type of node calls its callbacks and its children traversed.
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Prevent unwanted copy operator.
|
|
|
|
Method to call to reset visitor. Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|