$search
#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 (wxKeyEvent &event) |
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_ |
Definition at line 51 of file tool.h.
enum rviz::Tool::Flags |
rviz::Tool::Tool | ( | const std::string & | name, | |
char | shortcut_key, | |||
VisualizationManager * | manager | |||
) |
virtual void rviz::Tool::activate | ( | ) | [pure virtual] |
Implemented in rviz::InteractionTool, rviz::MoveTool, rviz::PoseTool, and rviz::SelectionTool.
virtual void rviz::Tool::deactivate | ( | ) | [pure virtual] |
Implemented in rviz::InteractionTool, rviz::MoveTool, rviz::PoseTool, and rviz::SelectionTool.
virtual void rviz::Tool::enumerateProperties | ( | PropertyManager * | property_manager, | |
const CategoryPropertyWPtr & | parent | |||
) | [inline, virtual] |
Reimplemented in rviz::GoalTool, and rviz::InitialPoseTool.
virtual bool rviz::Tool::hasProperties | ( | ) | [inline, virtual] |
Reimplemented in rviz::GoalTool, rviz::InitialPoseTool, and rviz::InteractionTool.
virtual int rviz::Tool::processKeyEvent | ( | wxKeyEvent & | event | ) | [inline, virtual] |
Reimplemented in rviz::SelectionTool.
virtual int rviz::Tool::processMouseEvent | ( | ViewportMouseEvent & | event | ) | [pure virtual] |
Implemented in rviz::InteractionTool, rviz::MoveTool, rviz::PoseTool, and rviz::SelectionTool.
virtual void rviz::Tool::update | ( | float | wall_dt, | |
float | ros_dt | |||
) | [inline, virtual] |
Reimplemented in rviz::InteractionTool, and rviz::SelectionTool.
VisualizationManager* rviz::Tool::manager_ [protected] |
std::string rviz::Tool::name_ [protected] |
Ogre::SceneManager* rviz::Tool::scene_manager_ [protected] |
char rviz::Tool::shortcut_key_ [protected] |