Public Member Functions | Protected Member Functions | Protected Attributes
rviz::InteractionTool Class Reference

#include <interaction_tool.h>

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

List of all members.

Public Member Functions

virtual void activate ()
virtual void deactivate ()
 InteractionTool (const std::string &name, char shortcut_key, VisualizationManager *manager)
virtual int processMouseEvent (ViewportMouseEvent &event)
virtual void update (float wall_dt, float ros_dt)
virtual ~InteractionTool ()

Protected Member Functions

void updateFocus (const ViewportMouseEvent &event)
 Check if the mouse has moved from one object to another, and update focused_object_ if so.

Protected Attributes

InteractiveObjectWPtr focused_object_
 The object (control) which currently has the mouse focus.
uint64_t last_selection_frame_count_

Detailed Description

Definition at line 42 of file interaction_tool.h.


Constructor & Destructor Documentation

rviz::InteractionTool::InteractionTool ( const std::string &  name,
char  shortcut_key,
VisualizationManager manager 
)

Definition at line 51 of file interaction_tool.cpp.

Definition at line 58 of file interaction_tool.cpp.


Member Function Documentation

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

Reimplemented from rviz::MoveTool.

Definition at line 62 of file interaction_tool.cpp.

Reimplemented from rviz::MoveTool.

Definition at line 68 of file interaction_tool.cpp.

Reimplemented from rviz::MoveTool.

Definition at line 131 of file interaction_tool.cpp.

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

Reimplemented from rviz::Tool.

Definition at line 73 of file interaction_tool.cpp.

void rviz::InteractionTool::updateFocus ( const ViewportMouseEvent event) [protected]

Check if the mouse has moved from one object to another, and update focused_object_ if so.

Definition at line 77 of file interaction_tool.cpp.


Member Data Documentation

The object (control) which currently has the mouse focus.

Definition at line 62 of file interaction_tool.h.

Definition at line 64 of file interaction_tool.h.


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


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Mon Jan 6 2014 11:54:33