Public Slots | Public Member Functions | Protected Attributes
rviz::PointTool Class Reference

#include <point_tool.h>

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

List of all members.

Public Slots

void updateAutoDeactivate ()
void updateTopic ()

Public Member Functions

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

Protected Attributes

BoolPropertyauto_deactivate_property_
QCursor hit_cursor_
ros::NodeHandle nh_
ros::Publisher pub_
QCursor std_cursor_
StringPropertytopic_property_

Detailed Description

The Point Tool allows the user to click on a point which gets published as a PointStamped message.

Definition at line 50 of file point_tool.h.


Constructor & Destructor Documentation

Definition at line 52 of file point_tool.cpp.

Definition at line 66 of file point_tool.cpp.


Member Function Documentation

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

Implements rviz::Tool.

Definition at line 76 of file point_tool.cpp.

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

Implements rviz::Tool.

Definition at line 80 of file point_tool.cpp.

void rviz::PointTool::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 70 of file point_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 93 of file point_tool.cpp.

Definition at line 89 of file point_tool.cpp.

Definition at line 84 of file point_tool.cpp.


Member Data Documentation

Definition at line 77 of file point_tool.h.

QCursor rviz::PointTool::hit_cursor_ [protected]

Definition at line 71 of file point_tool.h.

Definition at line 73 of file point_tool.h.

Definition at line 74 of file point_tool.h.

QCursor rviz::PointTool::std_cursor_ [protected]

Definition at line 70 of file point_tool.h.

Definition at line 76 of file point_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