Public Member Functions | Private Attributes
rviz::SelectionTool Class Reference

#include <selection_tool.h>

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

List of all members.

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_
MoveToolmove_tool_
bool moving_
int sel_start_x_
int sel_start_y_
bool selecting_

Detailed Description

Definition at line 48 of file selection_tool.h.


Constructor & Destructor Documentation

Definition at line 61 of file selection_tool.cpp.

Definition at line 72 of file selection_tool.cpp.


Member Function Documentation

void rviz::SelectionTool::activate ( ) [virtual]

Implements rviz::Tool.

Definition at line 82 of file selection_tool.cpp.

void rviz::SelectionTool::deactivate ( ) [virtual]

Implements rviz::Tool.

Definition at line 91 of file selection_tool.cpp.

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 77 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 175 of file selection_tool.cpp.

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 106 of file selection_tool.cpp.

void rviz::SelectionTool::update ( float  wall_dt,
float  ros_dt 
) [virtual]

Reimplemented from rviz::Tool.

Definition at line 96 of file selection_tool.cpp.


Member Data Documentation

Definition at line 72 of file selection_tool.h.

Definition at line 66 of file selection_tool.h.

Definition at line 74 of file selection_tool.h.

Definition at line 69 of file selection_tool.h.

Definition at line 70 of file selection_tool.h.

Definition at line 68 of file selection_tool.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Aug 27 2015 15:02:29