OpenSceneGraph
3.4.0
|
CompositeDragger allows to create complex draggers that are composed of a hierarchy of Draggers. More...
Public Member Functions | |
virtual META_Node(osgManipulator, CompositeDragger) typedef std const CompositeDragger * | getComposite () const |
Returns 0 if this Dragger is not a CompositeDragger. | |
virtual CompositeDragger * | getComposite () |
Returns 0 if this Dragger is not a CompositeDragger. | |
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 |
Dragger * | getDragger (unsigned int i) |
const Dragger * | getDragger (unsigned int i) const |
bool | containsDragger (const Dragger *dragger) const |
DraggerList::iterator | findDragger (const Dragger *dragger) |
virtual void | setIntersectionMask (osg::Node::NodeMask intersectionMask) |
Set/Get the traversal mask used by this dragger when looking for intersections during event handling. | |
Protected Member Functions | |
CompositeDragger () | |
CompositeDragger (const CompositeDragger &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual | ~CompositeDragger () |
Protected Attributes | |
DraggerList | _draggerList |
CompositeDragger allows to create complex draggers that are composed of a hierarchy of Draggers.
osgManipulator::CompositeDragger::CompositeDragger | ( | ) | [inline, protected] |
osgManipulator::CompositeDragger::CompositeDragger | ( | const CompositeDragger & | rhs, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) | [protected] |
virtual osgManipulator::CompositeDragger::~CompositeDragger | ( | ) | [inline, protected, virtual] |
virtual bool osgManipulator::CompositeDragger::addDragger | ( | Dragger * | dragger | ) | [virtual] |
bool osgManipulator::CompositeDragger::containsDragger | ( | const Dragger * | dragger | ) | const |
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.
virtual CompositeDragger* osgManipulator::CompositeDragger::getComposite | ( | ) | [inline, virtual] |
Returns 0 if this Dragger is not a CompositeDragger.
Reimplemented from osgManipulator::Dragger.
Dragger* osgManipulator::CompositeDragger::getDragger | ( | unsigned int | i | ) | [inline] |
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::setIntersectionMask | ( | osg::Node::NodeMask | intersectionMask | ) | [virtual] |
Set/Get the traversal mask used by this dragger when looking for intersections during event handling.
This is useful to "hide" some geometry during event handling.
Reimplemented from osgManipulator::Dragger.
virtual void osgManipulator::CompositeDragger::setParentDragger | ( | Dragger * | parent | ) | [virtual] |
DraggerList osgManipulator::CompositeDragger::_draggerList [protected] |
![]() | Generated at Tue Dec 8 2015 00:16:48 for the OpenSceneGraph by doxygen 1.7.6.1. |