$search

rviz::ViewController Class Reference

#include <view_controller.h>

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

List of all members.

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 setTargetFrame (const std::string &reference_frame)
virtual std::string toString ()=0
void update (float dt, float ros_dt)
 ViewController (VisualizationManager *manager, const std::string &name, Ogre::SceneNode *target_scene_node)
virtual ~ViewController ()

Protected Member Functions

virtual void onActivate ()=0
virtual void onDeactivate ()=0
virtual void onTargetFrameChanged (const Ogre::Vector3 &old_reference_position, const Ogre::Quaternion &old_reference_orientation)=0
virtual void onUpdate (float dt, float ros_dt)
void resetTargetSceneNodePosition ()
void updateTargetSceneNode ()

Protected Attributes

Ogre::Camera * camera_
Ogre::Quaternion global_orientation_
VisualizationManagermanager_
std::string name_
std::string reference_frame_
Ogre::Quaternion reference_orientation_
Ogre::Vector3 reference_position_
Ogre::SceneNode * target_scene_node_

Detailed Description

Definition at line 52 of file view_controller.h.


Constructor & Destructor Documentation

rviz::ViewController::ViewController ( VisualizationManager manager,
const std::string &  name,
Ogre::SceneNode *  target_scene_node 
)

Definition at line 42 of file view_controller.cpp.

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

Definition at line 50 of file view_controller.cpp.


Member Function Documentation

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 65 of file view_controller.cpp.

virtual void rviz::ViewController::fromString ( const std::string &  str  )  [pure virtual]
virtual std::string rviz::ViewController::getClassName (  )  [pure virtual]
const std::string& rviz::ViewController::getName ( void   )  [inline]

Definition at line 62 of file view_controller.h.

virtual void rviz::ViewController::handleMouseEvent ( ViewportMouseEvent evt  )  [inline, virtual]
virtual void rviz::ViewController::lookAt ( const Ogre::Vector3 &  point  )  [pure virtual]
virtual void rviz::ViewController::onActivate (  )  [protected, pure virtual]
virtual void rviz::ViewController::onDeactivate (  )  [protected, pure virtual]
virtual void rviz::ViewController::onTargetFrameChanged ( const Ogre::Vector3 &  old_reference_position,
const Ogre::Quaternion &  old_reference_orientation 
) [protected, pure virtual]
virtual void rviz::ViewController::onUpdate ( float  dt,
float  ros_dt 
) [inline, protected, virtual]
void rviz::ViewController::resetTargetSceneNodePosition (  )  [protected]

Reset the target_scene_node_ position to match that of the target frame.

Definition at line 91 of file view_controller.cpp.

void rviz::ViewController::setTargetFrame ( const std::string &  reference_frame  ) 

Definition at line 79 of file view_controller.cpp.

virtual std::string rviz::ViewController::toString (  )  [pure virtual]
void rviz::ViewController::update ( float  dt,
float  ros_dt 
)

Definition at line 73 of file view_controller.cpp.

void rviz::ViewController::updateTargetSceneNode (  )  [protected]

Definition at line 101 of file view_controller.cpp.


Member Data Documentation

Ogre::Camera* rviz::ViewController::camera_ [protected]

Definition at line 82 of file view_controller.h.

Ogre::Quaternion rviz::ViewController::global_orientation_ [protected]

Definition at line 86 of file view_controller.h.

Definition at line 81 of file view_controller.h.

std::string rviz::ViewController::name_ [protected]

Definition at line 88 of file view_controller.h.

std::string rviz::ViewController::reference_frame_ [protected]

Definition at line 83 of file view_controller.h.

Ogre::Quaternion rviz::ViewController::reference_orientation_ [protected]

Definition at line 90 of file view_controller.h.

Ogre::Vector3 rviz::ViewController::reference_position_ [protected]

Definition at line 91 of file view_controller.h.

Ogre::SceneNode* rviz::ViewController::target_scene_node_ [protected]

Definition at line 84 of file 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): Josh Faust, Dave Hershberger
autogenerated on Sat Mar 2 14:17:38 2013