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 33 of file fixed_orientation_ortho_view_controller.cpp.

rviz::FixedOrientationOrthoViewController::~FixedOrientationOrthoViewController (  )  [virtual]

Definition at line 41 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 166 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 53 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 128 of file fixed_orientation_ortho_view_controller.cpp.

void rviz::FixedOrientationOrthoViewController::move ( float  x,
float  y 
) [protected]

Definition at line 161 of file fixed_orientation_ortho_view_controller.cpp.

void rviz::FixedOrientationOrthoViewController::onActivate (  )  [protected, virtual]

Implements rviz::ViewController.

Definition at line 110 of file fixed_orientation_ortho_view_controller.cpp.

void rviz::FixedOrientationOrthoViewController::onDeactivate (  )  [protected, virtual]

Implements rviz::ViewController.

Definition at line 118 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 134 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 123 of file fixed_orientation_ortho_view_controller.cpp.

void rviz::FixedOrientationOrthoViewController::orientCamera (  )  [protected]

Set the camera orientation based on angle_.

Definition at line 105 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 45 of file fixed_orientation_ortho_view_controller.cpp.

void rviz::FixedOrientationOrthoViewController::setPosition ( const Ogre::Vector3 &  pos_rel_target  )  [protected]

Definition at line 153 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 181 of file fixed_orientation_ortho_view_controller.cpp.

void rviz::FixedOrientationOrthoViewController::updateCamera (  )  [protected]

Definition at line 140 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Wed Jun 6 11:25:47 2012