Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
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

Arrow * arrow_
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 54 of file pose_tool.cpp.

Definition at line 62 of file pose_tool.cpp.


Member Function Documentation

void rviz::PoseTool::activate ( ) [virtual]

Implements rviz::Tool.

Definition at line 67 of file pose_tool.cpp.

void rviz::PoseTool::deactivate ( ) [virtual]

Implements rviz::Tool.

Definition at line 72 of file pose_tool.cpp.

Ogre::Vector3 rviz::PoseTool::getPositionFromMouseXY ( Ogre::Viewport *  viewport,
int  mouse_x,
int  mouse_y 
) [protected]

Definition at line 77 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.

Implements rviz::Tool.

Definition at line 93 of file pose_tool.cpp.


Member Data Documentation

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.

Definition at line 72 of file pose_tool.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Mon Jan 6 2014 11:54:33