#include <point_head_view_controller.h>
Public Member Functions | |
virtual void | fromString (const std::string &str) |
virtual std::string | getClassName () |
const std::string & | getTopic () |
virtual void | handleMouseEvent (rviz::ViewportMouseEvent &evt) |
virtual void | lookAt (const Ogre::Vector3 &point) |
PointHeadViewController (rviz::ROSImageTexture &texture, rviz::VisualizationManager *manager, const std::string &name) | |
virtual void | reset () |
void | setTopic (const std::string &topic) |
virtual std::string | toString () |
virtual | ~PointHeadViewController () |
Protected Types | |
typedef actionlib::SimpleActionClient < pr2_controllers_msgs::PointHeadAction > | PointHeadActionClient |
Protected Member Functions | |
virtual void | onActivate () |
virtual void | onDeactivate () |
virtual void | onTargetFrameChanged (const Ogre::Vector3 &old_reference_position, const Ogre::Quaternion &old_reference_orientation) |
Protected Attributes | |
ros::Publisher | marker_pub_ |
PointHeadActionClient * | point_head_action_client_ |
rviz::ROSImageTexture & | texture_ |
std::string | topic_ |
Definition at line 54 of file point_head_view_controller.h.
typedef actionlib::SimpleActionClient<pr2_controllers_msgs::PointHeadAction> pr2_interactive_manipulation::PointHeadViewController::PointHeadActionClient [protected] |
Definition at line 88 of file point_head_view_controller.h.
pr2_interactive_manipulation::PointHeadViewController::PointHeadViewController | ( | rviz::ROSImageTexture & | texture, |
rviz::VisualizationManager * | manager, | ||
const std::string & | name | ||
) |
Definition at line 44 of file point_head_view_controller.cpp.
Definition at line 58 of file point_head_view_controller.cpp.
virtual void pr2_interactive_manipulation::PointHeadViewController::fromString | ( | const std::string & | str | ) | [inline, virtual] |
Implements rviz::ViewController.
Definition at line 63 of file point_head_view_controller.h.
virtual std::string pr2_interactive_manipulation::PointHeadViewController::getClassName | ( | ) | [inline, virtual] |
Implements rviz::ViewController.
Definition at line 67 of file point_head_view_controller.h.
const std::string& pr2_interactive_manipulation::PointHeadViewController::getTopic | ( | ) | [inline] |
Definition at line 69 of file point_head_view_controller.h.
void pr2_interactive_manipulation::PointHeadViewController::handleMouseEvent | ( | rviz::ViewportMouseEvent & | evt | ) | [virtual] |
Reimplemented from rviz::ViewController.
Definition at line 63 of file point_head_view_controller.cpp.
void pr2_interactive_manipulation::PointHeadViewController::lookAt | ( | const Ogre::Vector3 & | point | ) | [virtual] |
Implements rviz::ViewController.
Definition at line 138 of file point_head_view_controller.cpp.
virtual void pr2_interactive_manipulation::PointHeadViewController::onActivate | ( | ) | [inline, protected, virtual] |
Implements rviz::ViewController.
Definition at line 77 of file point_head_view_controller.h.
virtual void pr2_interactive_manipulation::PointHeadViewController::onDeactivate | ( | ) | [inline, protected, virtual] |
Implements rviz::ViewController.
Definition at line 78 of file point_head_view_controller.h.
virtual void pr2_interactive_manipulation::PointHeadViewController::onTargetFrameChanged | ( | const Ogre::Vector3 & | old_reference_position, |
const Ogre::Quaternion & | old_reference_orientation | ||
) | [inline, protected, virtual] |
Implements rviz::ViewController.
Definition at line 79 of file point_head_view_controller.h.
void pr2_interactive_manipulation::PointHeadViewController::reset | ( | ) | [virtual] |
Reset the view controller to some sane initial state, like looking at 0,0,0 of the target frame.
Implements rviz::ViewController.
Definition at line 96 of file point_head_view_controller.cpp.
void pr2_interactive_manipulation::PointHeadViewController::setTopic | ( | const std::string & | topic | ) |
Definition at line 78 of file point_head_view_controller.cpp.
virtual std::string pr2_interactive_manipulation::PointHeadViewController::toString | ( | ) | [inline, virtual] |
Implements rviz::ViewController.
Definition at line 64 of file point_head_view_controller.h.
Definition at line 80 of file point_head_view_controller.h.
PointHeadActionClient* pr2_interactive_manipulation::PointHeadViewController::point_head_action_client_ [protected] |
Definition at line 89 of file point_head_view_controller.h.
Definition at line 86 of file point_head_view_controller.h.
std::string pr2_interactive_manipulation::PointHeadViewController::topic_ [protected] |
Definition at line 91 of file point_head_view_controller.h.