Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
rviz::FixedOrientationOrthoViewController Class Reference

#include <fixed_orientation_ortho_view_controller.h>

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

List of all members.

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_

Detailed Description

Definition at line 46 of file fixed_orientation_ortho_view_controller.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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.

Implements rviz::ViewController.

Definition at line 127 of file fixed_orientation_ortho_view_controller.cpp.

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.

Set the camera orientation based on angle_.

Definition at line 122 of file fixed_orientation_ortho_view_controller.cpp.

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.

Return internal state as a string.

Implements rviz::ViewController.

Definition at line 198 of file fixed_orientation_ortho_view_controller.cpp.

Definition at line 157 of file fixed_orientation_ortho_view_controller.cpp.


Member Data Documentation

Definition at line 77 of file fixed_orientation_ortho_view_controller.h.

Definition at line 78 of file fixed_orientation_ortho_view_controller.h.

Definition at line 76 of file fixed_orientation_ortho_view_controller.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