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 ()
virtual void onInitialize ()
virtual int processMouseEvent (ViewportMouseEvent &event)
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 45 of file interaction_tool.h.


Constructor & Destructor Documentation

rviz::InteractionTool::InteractionTool (  ) 

Definition at line 42 of file interaction_tool.cpp.

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

Definition at line 49 of file interaction_tool.cpp.


Member Function Documentation

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

Reimplemented from rviz::MoveTool.

Definition at line 59 of file interaction_tool.cpp.

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

Reimplemented from rviz::MoveTool.

Definition at line 65 of file interaction_tool.cpp.

void rviz::InteractionTool::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 53 of file interaction_tool.cpp.

int rviz::InteractionTool::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::MoveTool.

Definition at line 124 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 70 of file interaction_tool.cpp.


Member Data Documentation

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

Definition at line 64 of file interaction_tool.h.

Definition at line 66 of file interaction_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:47 2012