Public Member Functions | Protected Attributes | List of all members
rviz_visual_tools::KeyTool Class Reference

#include <key_tool.h>

Inheritance diagram for rviz_visual_tools::KeyTool:
Inheritance graph
[legend]

Public Member Functions

virtual void activate ()
 
virtual void deactivate ()
 
 KeyTool ()
 
virtual void onInitialize ()
 
virtual int processKeyEvent (QKeyEvent *event, rviz::RenderPanel *panel)
 
virtual int processMouseEvent (rviz::ViewportMouseEvent &event)
 
virtual ~KeyTool ()
 
- Public Member Functions inherited from rviz::Tool
bool accessAllKeys ()
 
virtual QString getClassId () const
 
const QCursor & getCursor ()
 
QString getDescription () const
 
const QIcon & getIcon ()
 
QString getName () const
 
virtual PropertygetPropertyContainer () const
 
char getShortcutKey ()
 
void initialize (DisplayContext *context)
 
virtual void load (const Config &config)
 
virtual void save (Config config) const
 
virtual void setClassId (const QString &class_id)
 
void setCursor (const QCursor &cursor)
 
void setDescription (const QString &description)
 
void setIcon (const QIcon &icon)
 
void setName (const QString &name)
 
void setStatus (const QString &message)
 
 Tool ()
 
virtual void update (float wall_dt, float ros_dt)
 
 ~Tool () override
 

Protected Attributes

rviz::MoveTool move_tool_
 
RemoteReciever remote_reciever_
 
- Protected Attributes inherited from rviz::Tool
bool access_all_keys_
 
DisplayContextcontext_
 
QCursor cursor_
 
QIcon icon_
 
Ogre::SceneManager * scene_manager_
 
char shortcut_key_
 

Additional Inherited Members

- Signals inherited from rviz::Tool
void close ()
 
void nameChanged (const QString &name)
 
- Public Attributes inherited from rviz::Tool
 Finished
 
 Render
 

Detailed Description

Definition at line 46 of file key_tool.h.

Constructor & Destructor Documentation

◆ KeyTool()

rviz_visual_tools::KeyTool::KeyTool ( )
default

◆ ~KeyTool()

rviz_visual_tools::KeyTool::~KeyTool ( )
virtualdefault

Member Function Documentation

◆ activate()

void rviz_visual_tools::KeyTool::activate ( )
virtual

Implements rviz::Tool.

Definition at line 58 of file key_tool.cpp.

◆ deactivate()

void rviz_visual_tools::KeyTool::deactivate ( )
virtual

Implements rviz::Tool.

Definition at line 62 of file key_tool.cpp.

◆ onInitialize()

void rviz_visual_tools::KeyTool::onInitialize ( )
virtual

Reimplemented from rviz::Tool.

Definition at line 53 of file key_tool.cpp.

◆ processKeyEvent()

int rviz_visual_tools::KeyTool::processKeyEvent ( QKeyEvent *  event,
rviz::RenderPanel panel 
)
virtual

Reimplemented from rviz::Tool.

Definition at line 66 of file key_tool.cpp.

◆ processMouseEvent()

int rviz_visual_tools::KeyTool::processMouseEvent ( rviz::ViewportMouseEvent event)
virtual

Reimplemented from rviz::Tool.

Definition at line 89 of file key_tool.cpp.

Member Data Documentation

◆ move_tool_

rviz::MoveTool rviz_visual_tools::KeyTool::move_tool_
protected

Definition at line 64 of file key_tool.h.

◆ remote_reciever_

RemoteReciever rviz_visual_tools::KeyTool::remote_reciever_
protected

Definition at line 65 of file key_tool.h.


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


rviz_visual_tools
Author(s): Dave Coleman
autogenerated on Mon Feb 28 2022 23:43:06