$search

rviz::PoseTool Class Reference

#include <pose_tool.h>

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

List of all members.

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::Arrowarrow_
Ogre::Vector3 pos_
State state_

Detailed Description

Definition at line 49 of file pose_tool.h.


Member Enumeration Documentation

enum rviz::PoseTool::State [protected]
Enumerator:
Position 
Orientation 

Definition at line 67 of file pose_tool.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 65 of file pose_tool.h.

Ogre::Vector3 rviz::PoseTool::pos_ [protected]

Definition at line 74 of file pose_tool.h.

Definition at line 72 of file pose_tool.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rviz
Author(s): Josh Faust, Dave Hershberger
autogenerated on Sat Mar 2 14:17:36 2013