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

#include <focus_tool.h>

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

List of all members.

Public Member Functions

virtual void activate ()
virtual void deactivate ()
 FocusTool ()
virtual void onInitialize ()
virtual int processMouseEvent (ViewportMouseEvent &event)
virtual ~FocusTool ()

Protected Attributes

QCursor hit_cursor_
QCursor std_cursor_

Detailed Description

The Focus Tool allows the user to set the focal point of the current view controller with a single mouse click.

Definition at line 42 of file focus_tool.h.


Constructor & Destructor Documentation

Definition at line 47 of file focus_tool.cpp.

Definition at line 52 of file focus_tool.cpp.


Member Function Documentation

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

Implements rviz::Tool.

Definition at line 62 of file focus_tool.cpp.

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

Implements rviz::Tool.

Definition at line 66 of file focus_tool.cpp.

void rviz::FocusTool::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 56 of file focus_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 70 of file focus_tool.cpp.


Member Data Documentation

QCursor rviz::FocusTool::hit_cursor_ [protected]

Definition at line 57 of file focus_tool.h.

QCursor rviz::FocusTool::std_cursor_ [protected]

Definition at line 56 of file focus_tool.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Mon Oct 6 2014 07:26:37