openscenegraph
|
Public Types | |
typedef std::list < osg::ref_ptr < GUIEventAdapter > > | EventList |
![]() | |
enum | TraversalMode { TRAVERSE_NONE, TRAVERSE_PARENTS, TRAVERSE_ALL_CHILDREN, TRAVERSE_ACTIVE_CHILDREN } |
enum | VisitorType { NODE_VISITOR = 0, UPDATE_VISITOR, EVENT_VISITOR, COLLECT_OCCLUDER_VISITOR, CULL_VISITOR } |
Protected Member Functions | |
EventVisitor & | operator= (const EventVisitor &) |
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 |
osg::ref_ptr< GUIEventAdapter > | _accumulateEventState |
bool | _handled |
EventQueue::Events | _events |
![]() | |
VisitorType | _visitorType |
unsigned int | _traversalNumber |
ref_ptr< FrameStamp > | _frameStamp |
TraversalMode | _traversalMode |
Node::NodeMask | _traversalMask |
Node::NodeMask | _nodeMaskOverride |
NodePath | _nodePath |
ref_ptr< Referenced > | _userData |
ref_ptr< DatabaseRequestHandler > | _databaseRequestHandler |
ref_ptr< ImageRequestHandler > | _imageRequestHandler |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
Basic EventVisitor implementation for animating a scene. This visitor traverses the scene graph, calling each nodes appCallback if it exists.
typedef std::list< osg::ref_ptr<GUIEventAdapter> > osgGA::EventVisitor::EventList |
osgGA::EventVisitor::EventVisitor | ( | ) |
|
virtual |
void osgGA::EventVisitor::addEvent | ( | GUIEventAdapter * | event) |
|
inlinevirtual |
During traversal each type of node calls its callbacks and its children traversed.
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inlinevirtual |
Reimplemented from osg::NodeVisitor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
References osg::Node::getEventCallback(), and osg::Node::getStateSet().
|
inlineprotected |
References osg::Node::getEventCallback(), and osg::Node::getStateSet().
|
inline |
|
inlineprotected |
Prevent unwanted copy operator.
void osgGA::EventVisitor::removeEvent | ( | GUIEventAdapter * | event) |
|
virtual |
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.
|
inline |
|
inline |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |