
Public Member Functions | |
| virtual void | setCommandManager (CommandManager *cm) |
| CommandManager * | getCommandManager () |
| const CommandManager * | getCommandManager () const |
| virtual void | setParentDragger (Dragger *parent) |
| Dragger * | getParentDragger () |
| const Dragger * | getParentDragger () const |
| virtual const CompositeDragger * | getComposite () const |
| virtual CompositeDragger * | getComposite () |
| virtual bool | handle (const PointerInfo &, const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &) |
Protected Member Functions | |
| Dragger () | |
| virtual | ~Dragger () |
Protected Attributes | |
| CommandManager * | _commandManager |
| Dragger * | _parentDragger |
| osgManipulator::Dragger::Dragger | ( | ) | [protected] |
| virtual osgManipulator::Dragger::~Dragger | ( | ) | [protected, virtual] |
| virtual void osgManipulator::Dragger::setCommandManager | ( | CommandManager * | cm | ) | [inline, virtual] |
Set/Get the CommandManager. Draggers use CommandManager to dispatch commands.
Reimplemented in osgManipulator::CompositeDragger.
| CommandManager* osgManipulator::Dragger::getCommandManager | ( | ) | [inline] |
| const CommandManager* osgManipulator::Dragger::getCommandManager | ( | ) | const [inline] |
| virtual void osgManipulator::Dragger::setParentDragger | ( | Dragger * | parent | ) | [inline, virtual] |
Set/Get parent dragger. For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger.
Reimplemented in osgManipulator::CompositeDragger.
| Dragger* osgManipulator::Dragger::getParentDragger | ( | ) | [inline] |
| const Dragger* osgManipulator::Dragger::getParentDragger | ( | ) | const [inline] |
| virtual const CompositeDragger* osgManipulator::Dragger::getComposite | ( | ) | const [inline, virtual] |
Returns 0 if this Dragger is not a CompositeDragger.
Reimplemented in osgManipulator::CompositeDragger.
| virtual CompositeDragger* osgManipulator::Dragger::getComposite | ( | ) | [inline, virtual] |
Returns 0 if this Dragger is not a CompositeDragger.
Reimplemented in osgManipulator::CompositeDragger.
| virtual bool osgManipulator::Dragger::handle | ( | const PointerInfo & | , | |
| const osgGA::GUIEventAdapter & | , | |||
| osgGA::GUIActionAdapter & | ||||
| ) | [inline, virtual] |
Reimplemented in osgManipulator::CompositeDragger, osgManipulator::RotateCylinderDragger, osgManipulator::RotateSphereDragger, osgManipulator::Scale1DDragger, osgManipulator::Scale2DDragger, osgManipulator::TabPlaneDragger, osgManipulator::Translate1DDragger, osgManipulator::Translate2DDragger, and osgManipulator::TranslatePlaneDragger.
CommandManager* osgManipulator::Dragger::_commandManager [protected] |
Dragger* osgManipulator::Dragger::_parentDragger [protected] |
1.5.6