openscenegraph
Public Member Functions | Protected Member Functions | Protected Attributes
osgManipulator::CompositeDragger Class Reference
Inheritance diagram for osgManipulator::CompositeDragger:
osgManipulator::Dragger osg::MatrixTransform osg::Transform osg::Group osg::Node osg::Object osg::Referenced osgManipulator::ScaleAxisDragger osgManipulator::TabBoxDragger osgManipulator::TabBoxTrackballDragger osgManipulator::TabPlaneDragger osgManipulator::TabPlaneTrackballDragger osgManipulator::TrackballDragger osgManipulator::TranslateAxisDragger osgManipulator::TranslatePlaneDragger

List of all members.

Public Member Functions

virtual META_Node(osgManipulator,
CompositeDragger) typedef std
const CompositeDragger
getComposite () const
virtual CompositeDraggergetComposite ()
virtual void setParentDragger (Dragger *parent)
virtual bool handle (const PointerInfo &pi, const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
virtual bool addDragger (Dragger *dragger)
virtual bool removeDragger (Dragger *dragger)
unsigned int getNumDraggers () const
DraggergetDragger (unsigned int i)
const DraggergetDragger (unsigned int i) const
bool containsDragger (const Dragger *dragger) const
DraggerList::iterator findDragger (const Dragger *dragger)

Protected Member Functions

 CompositeDragger ()
 CompositeDragger (const CompositeDragger &rhs, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
virtual ~CompositeDragger ()

Protected Attributes

DraggerList _draggerList

Detailed Description

CompositeDragger allows to create complex draggers that are composed of a hierarchy of Draggers.


Constructor & Destructor Documentation

virtual osgManipulator::CompositeDragger::~CompositeDragger ( ) [inline, protected, virtual]

Member Function Documentation

virtual bool osgManipulator::CompositeDragger::addDragger ( Dragger dragger) [virtual]
DraggerList::iterator osgManipulator::CompositeDragger::findDragger ( const Dragger dragger)
virtual META_Node (osgManipulator,CompositeDragger) typedef std const CompositeDragger* osgManipulator::CompositeDragger::getComposite ( ) const [inline, virtual]

Returns 0 if this Dragger is not a CompositeDragger.

Reimplemented from osgManipulator::Dragger.

Returns 0 if this Dragger is not a CompositeDragger.

Reimplemented from osgManipulator::Dragger.

const Dragger* osgManipulator::CompositeDragger::getDragger ( unsigned int  i) const [inline]
unsigned int osgManipulator::CompositeDragger::getNumDraggers ( ) const [inline]
virtual bool osgManipulator::CompositeDragger::handle ( const PointerInfo pi,
const osgGA::GUIEventAdapter ea,
osgGA::GUIActionAdapter aa 
) [virtual]

Reimplemented from osgManipulator::Dragger.

virtual bool osgManipulator::CompositeDragger::removeDragger ( Dragger dragger) [virtual]
virtual void osgManipulator::CompositeDragger::setParentDragger ( Dragger parent) [virtual]

Member Data Documentation


The documentation for this class was generated from the following file: