#include <point_tool.h>
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 | |
BoolProperty * | auto_deactivate_property_ |
QCursor | hit_cursor_ |
ros::NodeHandle | nh_ |
ros::Publisher | pub_ |
QCursor | std_cursor_ |
StringProperty * | topic_property_ |
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.
Definition at line 52 of file point_tool.cpp.
rviz::PointTool::~PointTool | ( | ) | [virtual] |
Definition at line 66 of file point_tool.cpp.
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.
int rviz::PointTool::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::Tool.
Definition at line 93 of file point_tool.cpp.
void rviz::PointTool::updateAutoDeactivate | ( | ) | [slot] |
Definition at line 89 of file point_tool.cpp.
void rviz::PointTool::updateTopic | ( | ) | [slot] |
Definition at line 84 of file point_tool.cpp.
BoolProperty* rviz::PointTool::auto_deactivate_property_ [protected] |
Definition at line 77 of file point_tool.h.
QCursor rviz::PointTool::hit_cursor_ [protected] |
Definition at line 71 of file point_tool.h.
ros::NodeHandle rviz::PointTool::nh_ [protected] |
Definition at line 73 of file point_tool.h.
ros::Publisher rviz::PointTool::pub_ [protected] |
Definition at line 74 of file point_tool.h.
QCursor rviz::PointTool::std_cursor_ [protected] |
Definition at line 70 of file point_tool.h.
StringProperty* rviz::PointTool::topic_property_ [protected] |
Definition at line 76 of file point_tool.h.