osgGA::CompositeGUIEventHandler Class Reference

Inheritance diagram for osgGA::CompositeGUIEventHandler:

osgGA::GUIEventHandler osg::NodeCallback osg::Drawable::EventCallback osg::Object osg::Object osg::Referenced osg::Referenced List of all members.

Public Types

typedef std::vector< osg::ref_ptr<
GUIEventHandler > > 
ChildList

Public Member Functions

virtual const char * className () const
virtual const CompositeGUIEventHandlergetComposite () const
virtual CompositeGUIEventHandlergetComposite ()
virtual bool handle (const GUIEventAdapter &ea, GUIActionAdapter &aa, osg::Object *object, osg::NodeVisitor *nv)
virtual void accept (GUIEventHandlerVisitor &v)
virtual void getUsage (osg::ApplicationUsage &usage) const
virtual bool addChild (GUIEventHandler *geh)
virtual bool removeChild (GUIEventHandler *geh)
unsigned int getNumChildren () const
GUIEventHandlergetChild (unsigned int i)
const GUIEventHandlergetChild (unsigned int i) const
bool containsNode (const GUIEventHandler *node) const
ChildList::iterator findChild (const GUIEventHandler *node)

Detailed Description

CompositeGUIEventHandler allows GUIEventHandlers to be composed into hierarchies.


Member Typedef Documentation

typedef std::vector< osg::ref_ptr<GUIEventHandler> > osgGA::CompositeGUIEventHandler::ChildList


Member Function Documentation

virtual void osgGA::CompositeGUIEventHandler::accept ( GUIEventHandlerVisitor v  )  [inline, virtual]

Accept visits from GUIEventHandler visitors

Reimplemented from osgGA::GUIEventHandler.

virtual bool osgGA::CompositeGUIEventHandler::addChild ( GUIEventHandler geh  )  [virtual]

virtual const char* osgGA::CompositeGUIEventHandler::className (  )  const [inline, virtual]

return the name of the object's class type. Must be defined by derived classes.

Implements osg::Object.

bool osgGA::CompositeGUIEventHandler::containsNode ( const GUIEventHandler node  )  const [inline]

ChildList::iterator osgGA::CompositeGUIEventHandler::findChild ( const GUIEventHandler node  )  [inline]

const GUIEventHandler* osgGA::CompositeGUIEventHandler::getChild ( unsigned int  i  )  const [inline]

GUIEventHandler* osgGA::CompositeGUIEventHandler::getChild ( unsigned int  i  )  [inline]

virtual CompositeGUIEventHandler* osgGA::CompositeGUIEventHandler::getComposite (  )  [inline, virtual]

Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.

Reimplemented from osgGA::GUIEventHandler.

virtual const CompositeGUIEventHandler* osgGA::CompositeGUIEventHandler::getComposite (  )  const [inline, virtual]

Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.

Reimplemented from osgGA::GUIEventHandler.

unsigned int osgGA::CompositeGUIEventHandler::getNumChildren (  )  const [inline]

virtual void osgGA::CompositeGUIEventHandler::getUsage ( osg::ApplicationUsage usage  )  const [virtual]

Get the keyboard and mouse usage of this manipulator.

Reimplemented from osgGA::GUIEventHandler.

virtual bool osgGA::CompositeGUIEventHandler::handle ( const GUIEventAdapter ea,
GUIActionAdapter aa,
osg::Object object,
osg::NodeVisitor nv 
) [virtual]

Handle events, return true if handled, false otherwise.

Reimplemented from osgGA::GUIEventHandler.

virtual bool osgGA::CompositeGUIEventHandler::removeChild ( GUIEventHandler geh  )  [virtual]


The documentation for this class was generated from the following file:
Generated on Sun Oct 1 13:17:09 2006 for openscenegraph by  doxygen 1.4.7