#include <selection_tool.h>

| Public Member Functions | |
| virtual void | activate () | 
| virtual void | deactivate () | 
| virtual void | onInitialize () | 
| virtual int | processKeyEvent (QKeyEvent *event, RenderPanel *panel) | 
| virtual int | processMouseEvent (ViewportMouseEvent &event) | 
| SelectionTool () | |
| virtual void | update (float wall_dt, float ros_dt) | 
| virtual | ~SelectionTool () | 
| Private Attributes | |
| M_Picked | highlight_ | 
| MoveTool * | move_tool_ | 
| bool | moving_ | 
| int | sel_start_x_ | 
| int | sel_start_y_ | 
| bool | selecting_ | 
Definition at line 48 of file selection_tool.h.
Definition at line 61 of file selection_tool.cpp.
| rviz::SelectionTool::~SelectionTool | ( | ) |  [virtual] | 
Definition at line 73 of file selection_tool.cpp.
| void rviz::SelectionTool::activate | ( | ) |  [virtual] | 
Implements rviz::Tool.
Definition at line 83 of file selection_tool.cpp.
| void rviz::SelectionTool::deactivate | ( | ) |  [virtual] | 
Implements rviz::Tool.
Definition at line 92 of file selection_tool.cpp.
| void rviz::SelectionTool::onInitialize | ( | ) |  [virtual] | 
Override onInitialize to do any setup needed after the DisplayContext has been set. This is called by Tool::initialize(). The base implementation here does nothing.
Reimplemented from rviz::Tool.
Definition at line 78 of file selection_tool.cpp.
| int rviz::SelectionTool::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 176 of file selection_tool.cpp.
| int rviz::SelectionTool::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 107 of file selection_tool.cpp.
| void rviz::SelectionTool::update | ( | float | wall_dt, | 
| float | ros_dt | ||
| ) |  [virtual] | 
Reimplemented from rviz::Tool.
Definition at line 97 of file selection_tool.cpp.
| M_Picked rviz::SelectionTool::highlight_  [private] | 
Definition at line 72 of file selection_tool.h.
| MoveTool* rviz::SelectionTool::move_tool_  [private] | 
Definition at line 66 of file selection_tool.h.
| bool rviz::SelectionTool::moving_  [private] | 
Definition at line 74 of file selection_tool.h.
| int rviz::SelectionTool::sel_start_x_  [private] | 
Definition at line 69 of file selection_tool.h.
| int rviz::SelectionTool::sel_start_y_  [private] | 
Definition at line 70 of file selection_tool.h.
| bool rviz::SelectionTool::selecting_  [private] | 
Definition at line 68 of file selection_tool.h.