#include <fixed_orientation_ortho_view_controller.h>
Public Member Functions | |
FixedOrientationOrthoViewController (VisualizationManager *manager, const std::string &name, Ogre::SceneNode *target_scene_node) | |
virtual void | fromString (const std::string &str) |
virtual std::string | getClassName () |
virtual void | handleMouseEvent (ViewportMouseEvent &evt) |
virtual void | lookAt (const Ogre::Vector3 &point_rel_world) |
virtual void | reset () |
virtual std::string | toString () |
virtual | ~FixedOrientationOrthoViewController () |
Static Public Member Functions | |
static std::string | getClassNameStatic () |
Protected Member Functions | |
void | move (float x, float y) |
virtual void | onActivate () |
virtual void | onDeactivate () |
virtual void | onTargetFrameChanged (const Ogre::Vector3 &old_reference_position, const Ogre::Quaternion &old_reference_orientation) |
virtual void | onUpdate (float dt, float ros_dt) |
void | orientCamera () |
void | setPosition (const Ogre::Vector3 &pos_rel_target) |
void | updateCamera () |
Protected Attributes | |
float | angle_ |
bool | dragging_ |
float | scale_ |
Definition at line 46 of file fixed_orientation_ortho_view_controller.h.
rviz::FixedOrientationOrthoViewController::FixedOrientationOrthoViewController | ( | VisualizationManager * | manager, |
const std::string & | name, | ||
Ogre::SceneNode * | target_scene_node | ||
) |
Definition at line 50 of file fixed_orientation_ortho_view_controller.cpp.
Definition at line 58 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::fromString | ( | const std::string & | str | ) | [virtual] |
Set internal state from a string.
Implements rviz::ViewController.
Definition at line 183 of file fixed_orientation_ortho_view_controller.cpp.
virtual std::string rviz::FixedOrientationOrthoViewController::getClassName | ( | ) | [inline, virtual] |
Implements rviz::ViewController.
Definition at line 59 of file fixed_orientation_ortho_view_controller.h.
static std::string rviz::FixedOrientationOrthoViewController::getClassNameStatic | ( | ) | [inline, static] |
Definition at line 58 of file fixed_orientation_ortho_view_controller.h.
void rviz::FixedOrientationOrthoViewController::handleMouseEvent | ( | ViewportMouseEvent & | evt | ) | [virtual] |
Reimplemented from rviz::ViewController.
Definition at line 70 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::lookAt | ( | const Ogre::Vector3 & | point_rel_world | ) | [virtual] |
Implements rviz::ViewController.
Definition at line 145 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::move | ( | float | x, |
float | y | ||
) | [protected] |
Definition at line 178 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::onActivate | ( | ) | [protected, virtual] |
Implements rviz::ViewController.
Definition at line 127 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::onDeactivate | ( | ) | [protected, virtual] |
Implements rviz::ViewController.
Definition at line 135 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::onTargetFrameChanged | ( | const Ogre::Vector3 & | old_reference_position, |
const Ogre::Quaternion & | old_reference_orientation | ||
) | [protected, virtual] |
Implements rviz::ViewController.
Definition at line 151 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::onUpdate | ( | float | dt, |
float | ros_dt | ||
) | [protected, virtual] |
Reimplemented from rviz::ViewController.
Definition at line 140 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::orientCamera | ( | ) | [protected] |
Set the camera orientation based on angle_.
Definition at line 122 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::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 62 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::setPosition | ( | const Ogre::Vector3 & | pos_rel_target | ) | [protected] |
Definition at line 170 of file fixed_orientation_ortho_view_controller.cpp.
std::string rviz::FixedOrientationOrthoViewController::toString | ( | ) | [virtual] |
Return internal state as a string.
Implements rviz::ViewController.
Definition at line 198 of file fixed_orientation_ortho_view_controller.cpp.
void rviz::FixedOrientationOrthoViewController::updateCamera | ( | ) | [protected] |
Definition at line 157 of file fixed_orientation_ortho_view_controller.cpp.
float rviz::FixedOrientationOrthoViewController::angle_ [protected] |
Definition at line 77 of file fixed_orientation_ortho_view_controller.h.
Definition at line 78 of file fixed_orientation_ortho_view_controller.h.
float rviz::FixedOrientationOrthoViewController::scale_ [protected] |
Definition at line 76 of file fixed_orientation_ortho_view_controller.h.