$search
#include <pose_tool.h>
Public Member Functions | |
virtual void | activate () |
virtual void | deactivate () |
PoseTool (const std::string &name, char shortcut_key, VisualizationManager *manager) | |
virtual int | processMouseEvent (ViewportMouseEvent &event) |
virtual | ~PoseTool () |
Protected Types | |
enum | State { Position, Orientation } |
Protected Member Functions | |
Ogre::Vector3 | getPositionFromMouseXY (Ogre::Viewport *viewport, int mouse_x, int mouse_y) |
virtual void | onPoseSet (double x, double y, double theta)=0 |
Protected Attributes | |
ogre_tools::Arrow * | arrow_ |
Ogre::Vector3 | pos_ |
State | state_ |
Definition at line 49 of file pose_tool.h.
enum rviz::PoseTool::State [protected] |
Definition at line 67 of file pose_tool.h.
rviz::PoseTool::PoseTool | ( | const std::string & | name, | |
char | shortcut_key, | |||
VisualizationManager * | manager | |||
) |
Definition at line 56 of file pose_tool.cpp.
rviz::PoseTool::~PoseTool | ( | ) | [virtual] |
Definition at line 64 of file pose_tool.cpp.
void rviz::PoseTool::activate | ( | ) | [virtual] |
Implements rviz::Tool.
Definition at line 69 of file pose_tool.cpp.
void rviz::PoseTool::deactivate | ( | ) | [virtual] |
Implements rviz::Tool.
Definition at line 74 of file pose_tool.cpp.
Ogre::Vector3 rviz::PoseTool::getPositionFromMouseXY | ( | Ogre::Viewport * | viewport, | |
int | mouse_x, | |||
int | mouse_y | |||
) | [protected] |
Definition at line 79 of file pose_tool.cpp.
virtual void rviz::PoseTool::onPoseSet | ( | double | x, | |
double | y, | |||
double | theta | |||
) | [protected, pure virtual] |
Implemented in rviz::GoalTool, and rviz::InitialPoseTool.
int rviz::PoseTool::processMouseEvent | ( | ViewportMouseEvent & | event | ) | [virtual] |
Implements rviz::Tool.
Definition at line 95 of file pose_tool.cpp.
ogre_tools::Arrow* rviz::PoseTool::arrow_ [protected] |
Definition at line 65 of file pose_tool.h.
Ogre::Vector3 rviz::PoseTool::pos_ [protected] |
Definition at line 74 of file pose_tool.h.
State rviz::PoseTool::state_ [protected] |
Definition at line 72 of file pose_tool.h.