Public Member Functions | List of all members
rviz::InteractiveObject Class Referenceabstract

Abstract base class of things in the scene which handle mouse events. More...

#include <interactive_object.h>

Inheritance diagram for rviz::InteractiveObject:
Inheritance graph
[legend]

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 ()
 

Detailed Description

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 48 of file interactive_object.h.

Constructor & Destructor Documentation

◆ ~InteractiveObject()

virtual rviz::InteractiveObject::~InteractiveObject ( )
inlinevirtual

Definition at line 51 of file interactive_object.h.

Member Function Documentation

◆ enableInteraction()

virtual void rviz::InteractiveObject::enableInteraction ( bool  enable)
pure virtual

◆ getCursor()

virtual const QCursor& rviz::InteractiveObject::getCursor ( ) const
pure virtual

◆ handleMouseEvent()

virtual void rviz::InteractiveObject::handleMouseEvent ( ViewportMouseEvent event)
pure virtual

◆ isInteractive()

virtual bool rviz::InteractiveObject::isInteractive ( )
pure virtual

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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Sat May 27 2023 02:06:26