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 49 of file selection_tool.h.


Constructor & Destructor Documentation

rviz::SelectionTool::SelectionTool (  ) 

Definition at line 60 of file selection_tool.cpp.

rviz::SelectionTool::~SelectionTool (  )  [virtual]

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

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

Override onInitialize to do any setup needed after the VisualizationManager 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 173 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.

Implements rviz::Tool.

Definition at line 104 of file selection_tool.cpp.

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

Reimplemented from rviz::Tool.

Definition at line 94 of file selection_tool.cpp.


Member Data Documentation

Definition at line 73 of file selection_tool.h.

Definition at line 67 of file selection_tool.h.

Definition at line 75 of file selection_tool.h.

Definition at line 70 of file selection_tool.h.

Definition at line 71 of file selection_tool.h.

Definition at line 69 of file selection_tool.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Wed Jun 6 11:25:48 2012