#include <tool.h>

Public Types | |
| enum | Flags { Render = 1 << 0, Finished = 1 << 1 } |
Public Member Functions | |
| virtual void | activate ()=0 |
| virtual void | deactivate ()=0 |
| virtual void | enumerateProperties (PropertyManager *property_manager, const CategoryPropertyWPtr &parent) |
| const std::string & | getName () |
| char | getShortcutKey () |
| virtual bool | hasProperties () |
| virtual int | processKeyEvent (QKeyEvent *event, RenderPanel *panel) |
| virtual int | processMouseEvent (ViewportMouseEvent &event)=0 |
| Tool (const std::string &name, char shortcut_key, VisualizationManager *manager) | |
| virtual void | update (float wall_dt, float ros_dt) |
| virtual | ~Tool () |
Protected Attributes | |
| VisualizationManager * | manager_ |
| std::string | name_ |
| Ogre::SceneManager * | scene_manager_ |
| char | shortcut_key_ |
| enum rviz::Tool::Flags |
| rviz::Tool::Tool | ( | const std::string & | name, |
| char | shortcut_key, | ||
| VisualizationManager * | manager | ||
| ) |
| virtual rviz::Tool::~Tool | ( | ) | [inline, virtual] |
| virtual void rviz::Tool::activate | ( | ) | [pure virtual] |
Implemented in rviz::PoseTool, rviz::SelectionTool, rviz::InteractionTool, and rviz::MoveTool.
| virtual void rviz::Tool::deactivate | ( | ) | [pure virtual] |
Implemented in rviz::PoseTool, rviz::SelectionTool, rviz::InteractionTool, and rviz::MoveTool.
| virtual void rviz::Tool::enumerateProperties | ( | PropertyManager * | property_manager, |
| const CategoryPropertyWPtr & | parent | ||
| ) | [inline, virtual] |
Reimplemented in rviz::GoalTool, and rviz::InitialPoseTool.
| const std::string& rviz::Tool::getName | ( | void | ) | [inline] |
| char rviz::Tool::getShortcutKey | ( | ) | [inline] |
| virtual bool rviz::Tool::hasProperties | ( | ) | [inline, virtual] |
Reimplemented in rviz::GoalTool, and rviz::InitialPoseTool.
| virtual int rviz::Tool::processKeyEvent | ( | QKeyEvent * | event, |
| RenderPanel * | panel | ||
| ) | [inline, virtual] |
Reimplemented in rviz::SelectionTool, and rviz::MoveTool.
| virtual int rviz::Tool::processMouseEvent | ( | ViewportMouseEvent & | event | ) | [pure virtual] |
Implemented in rviz::PoseTool, rviz::SelectionTool, rviz::InteractionTool, and rviz::MoveTool.
| virtual void rviz::Tool::update | ( | float | wall_dt, |
| float | ros_dt | ||
| ) | [inline, virtual] |
Reimplemented in rviz::SelectionTool, and rviz::InteractionTool.
VisualizationManager* rviz::Tool::manager_ [protected] |
std::string rviz::Tool::name_ [protected] |
Ogre::SceneManager* rviz::Tool::scene_manager_ [protected] |
char rviz::Tool::shortcut_key_ [protected] |