#include <view_controller.h>

Public Member Functions | |
| void | activate (Ogre::Camera *camera, const std::string &reference_frame) |
| void | deactivate () |
| virtual void | fromString (const std::string &str)=0 |
| virtual std::string | getClassName ()=0 |
| const std::string & | getName () |
| virtual void | handleMouseEvent (ViewportMouseEvent &evt) |
| virtual void | lookAt (const Ogre::Vector3 &point)=0 |
| void | setReferenceFrame (const std::string &reference_frame) |
| virtual std::string | toString ()=0 |
| void | update (float dt, float ros_dt) |
| ViewController (VisualizationManager *manager, const std::string &name) | |
| virtual | ~ViewController () |
Protected Member Functions | |
| virtual void | onActivate ()=0 |
| virtual void | onDeactivate ()=0 |
| virtual void | onReferenceFrameChanged (const Ogre::Vector3 &old_reference_position, const Ogre::Quaternion &old_reference_orientation)=0 |
| virtual void | onUpdate (float dt, float ros_dt) |
| void | updateReferenceNode () |
Protected Attributes | |
| Ogre::Camera * | camera_ |
| VisualizationManager * | manager_ |
| std::string | name_ |
| std::string | reference_frame_ |
| Ogre::SceneNode * | reference_node_ |
Definition at line 49 of file view_controller.h.
| rviz::ViewController::ViewController | ( | VisualizationManager * | manager, | |
| const std::string & | name | |||
| ) |
Definition at line 42 of file view_controller.cpp.
| rviz::ViewController::~ViewController | ( | ) | [virtual] |
Definition at line 50 of file view_controller.cpp.
| void rviz::ViewController::activate | ( | Ogre::Camera * | camera, | |
| const std::string & | reference_frame | |||
| ) |
Definition at line 55 of file view_controller.cpp.
| void rviz::ViewController::deactivate | ( | ) |
Definition at line 64 of file view_controller.cpp.
| virtual void rviz::ViewController::fromString | ( | const std::string & | str | ) | [pure virtual] |
Implemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
| virtual std::string rviz::ViewController::getClassName | ( | ) | [pure virtual] |
Implemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
| const std::string& rviz::ViewController::getName | ( | ) | [inline] |
Definition at line 59 of file view_controller.h.
| virtual void rviz::ViewController::handleMouseEvent | ( | ViewportMouseEvent & | evt | ) | [inline, virtual] |
Reimplemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
Definition at line 61 of file view_controller.h.
| virtual void rviz::ViewController::lookAt | ( | const Ogre::Vector3 & | point | ) | [pure virtual] |
Implemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
| virtual void rviz::ViewController::onActivate | ( | ) | [protected, pure virtual] |
Implemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
| virtual void rviz::ViewController::onDeactivate | ( | ) | [protected, pure virtual] |
Implemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
| virtual void rviz::ViewController::onReferenceFrameChanged | ( | const Ogre::Vector3 & | old_reference_position, | |
| const Ogre::Quaternion & | old_reference_orientation | |||
| ) | [protected, pure virtual] |
Implemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
| virtual void rviz::ViewController::onUpdate | ( | float | dt, | |
| float | ros_dt | |||
| ) | [inline, protected, virtual] |
Reimplemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
Definition at line 71 of file view_controller.h.
| void rviz::ViewController::setReferenceFrame | ( | const std::string & | reference_frame | ) |
Definition at line 77 of file view_controller.cpp.
| virtual std::string rviz::ViewController::toString | ( | ) | [pure virtual] |
Implemented in rviz::FixedOrientationOrthoViewController, rviz::FPSViewController, and rviz::OrbitViewController.
| void rviz::ViewController::update | ( | float | dt, | |
| float | ros_dt | |||
| ) |
Definition at line 71 of file view_controller.cpp.
| void rviz::ViewController::updateReferenceNode | ( | ) | [protected] |
Definition at line 87 of file view_controller.cpp.
Ogre::Camera* rviz::ViewController::camera_ [protected] |
Definition at line 76 of file view_controller.h.
VisualizationManager* rviz::ViewController::manager_ [protected] |
Definition at line 75 of file view_controller.h.
std::string rviz::ViewController::name_ [protected] |
Definition at line 80 of file view_controller.h.
std::string rviz::ViewController::reference_frame_ [protected] |
Definition at line 77 of file view_controller.h.
Ogre::SceneNode* rviz::ViewController::reference_node_ [protected] |
Definition at line 78 of file view_controller.h.