Abstract base class of things in the scene which handle mouse events. More...
#include <interactive_object.h>
Public Member Functions | |
virtual void | enableInteraction (bool enable)=0 |
virtual const QCursor & | getCursor () const =0 |
virtual void | handleMouseEvent (ViewportMouseEvent &event)=0 |
virtual bool | isInteractive ()=0 |
virtual | ~InteractiveObject () |
Abstract base class of things in the scene which handle mouse events.
Currently (visualization-1.8) this is only needed as a bridge between interactive markers in the default plugin and the interaction tool in the main executable. Once the interaction tool is plugin-ized and put into the default plugin, this can probably be removed.
Definition at line 49 of file interactive_object.h.
virtual rviz::InteractiveObject::~InteractiveObject | ( | ) | [inline, virtual] |
Definition at line 52 of file interactive_object.h.
virtual void rviz::InteractiveObject::enableInteraction | ( | bool | enable | ) | [pure virtual] |
Implemented in rviz::InteractiveMarkerControl.
virtual const QCursor& rviz::InteractiveObject::getCursor | ( | ) | const [pure virtual] |
Implemented in rviz::InteractiveMarkerControl.
virtual void rviz::InteractiveObject::handleMouseEvent | ( | ViewportMouseEvent & | event | ) | [pure virtual] |
Implemented in rviz::InteractiveMarkerControl.
virtual bool rviz::InteractiveObject::isInteractive | ( | ) | [pure virtual] |
Implemented in rviz::InteractiveMarkerControl.