Public Member Functions | List of all members
rviz::MoveTool Class Reference

#include <move_tool.h>

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

Public Member Functions

virtual void activate ()
 
virtual void deactivate ()
 
 MoveTool ()
 
virtual int processKeyEvent (QKeyEvent *event, RenderPanel *panel)
 
virtual int processMouseEvent (ViewportMouseEvent &event)
 
- Public Member Functions inherited from rviz::Tool
bool accessAllKeys ()
 
virtual QString getClassId () const
 Return the class identifier which was used to create this instance. This version just returns whatever was set with setClassId(). More...
 
const QCursor & getCursor ()
 Get current cursor of this tool. More...
 
QString getDescription () const
 Set the description of the tool. This is called by ToolManager during tool initialization. More...
 
const QIcon & getIcon ()
 Get the icon of this tool. More...
 
QString getName () const
 
virtual PropertygetPropertyContainer () const
 Return the container for properties of this Tool. More...
 
char getShortcutKey ()
 
void initialize (DisplayContext *context)
 
virtual void load (const Config &config)
 Load properties from the given Config. More...
 
virtual void save (Config config) const
 Save this entire tool into the given Config node. More...
 
virtual void setClassId (const QString &class_id)
 Set the class identifier used to create this instance. Typically this will be set by the factory object which created it. More...
 
void setCursor (const QCursor &cursor)
 Set the cursor for this tool. More...
 
void setDescription (const QString &description)
 
void setIcon (const QIcon &icon)
 Set the toolbar icon for this tool (will also set its cursor). More...
 
void setName (const QString &name)
 Set the name of the tool. More...
 
void setStatus (const QString &message)
 
 Tool ()
 
virtual void update (float wall_dt, float ros_dt)
 
virtual ~Tool ()
 

Additional Inherited Members

- Public Types inherited from rviz::Tool
enum  { Render = 1, Finished = 2 }
 
- Signals inherited from rviz::Tool
void close ()
 
- Protected Member Functions inherited from rviz::Tool
virtual void onInitialize ()
 
- Protected Attributes inherited from rviz::Tool
bool access_all_keys_
 
DisplayContextcontext_
 
QCursor cursor_
 
QIcon icon_
 
Ogre::SceneManager * scene_manager_
 
char shortcut_key_
 

Detailed Description

Definition at line 40 of file move_tool.h.

Constructor & Destructor Documentation

rviz::MoveTool::MoveTool ( )

Definition at line 43 of file move_tool.cpp.

Member Function Documentation

virtual void rviz::MoveTool::activate ( )
inlinevirtual

Implements rviz::Tool.

Definition at line 45 of file move_tool.h.

virtual void rviz::MoveTool::deactivate ( )
inlinevirtual

Implements rviz::Tool.

Definition at line 46 of file move_tool.h.

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

Process a key event. Override if your tool should handle any other keypresses than the tool shortcuts, which are handled separately.

Reimplemented from rviz::Tool.

Definition at line 60 of file move_tool.cpp.

int rviz::MoveTool::processMouseEvent ( ViewportMouseEvent event)
virtual

Process a mouse event. This is the central function of all the tools, as it defines how the mouse is used.

Reimplemented from rviz::Tool.

Definition at line 50 of file move_tool.cpp.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Wed Aug 28 2019 04:01:53