Public Member Functions | Protected Member Functions
rviz::ThirdPersonFollowerViewController Class Reference

Like the orbit view controller, but focal point moves only in the x-y plane. More...

#include <third_person_follower_view_controller.h>

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

List of all members.

Public Member Functions

virtual void handleMouseEvent (ViewportMouseEvent &evt)
virtual void lookAt (const Ogre::Vector3 &point)
 This should be implemented in each subclass to aim the camera at the given point in space (relative to the fixed frame).
virtual void mimic (ViewController *source_view)
 Configure the settings of this view controller to give, as much as possible, a similar view as that given by the source_view.
virtual void onInitialize ()
 Do subclass-specific initialization. Called by ViewController::initialize after context_, target_scene_node_, and camera_ are set.

Protected Member Functions

bool intersectGroundPlane (Ogre::Ray mouse_ray, Ogre::Vector3 &intersection_3d)
virtual void updateCamera ()
virtual void updateTargetSceneNode ()
 Update the position of the target_scene_node_ from the TF frame specified in the Target Frame property.

Detailed Description

Like the orbit view controller, but focal point moves only in the x-y plane.

Definition at line 50 of file third_person_follower_view_controller.h.


Member Function Documentation

Reimplemented from rviz::OrbitViewController.

Definition at line 81 of file third_person_follower_view_controller.cpp.

bool rviz::ThirdPersonFollowerViewController::intersectGroundPlane ( Ogre::Ray  mouse_ray,
Ogre::Vector3 intersection_3d 
) [protected]

Definition at line 63 of file third_person_follower_view_controller.cpp.

This should be implemented in each subclass to aim the camera at the given point in space (relative to the fixed frame).

Reimplemented from rviz::OrbitViewController.

Definition at line 225 of file third_person_follower_view_controller.cpp.

Configure the settings of this view controller to give, as much as possible, a similar view as that given by the source_view.

source_view must return a valid Ogre::Camera* from getCamera().

Reimplemented from rviz::OrbitViewController.

Definition at line 177 of file third_person_follower_view_controller.cpp.

Do subclass-specific initialization. Called by ViewController::initialize after context_, target_scene_node_, and camera_ are set.

Reimplemented from rviz::OrbitViewController.

Definition at line 57 of file third_person_follower_view_controller.cpp.

Reimplemented from rviz::OrbitViewController.

Definition at line 206 of file third_person_follower_view_controller.cpp.

Update the position of the target_scene_node_ from the TF frame specified in the Target Frame property.

Reimplemented from rviz::FramePositionTrackingViewController.

Definition at line 212 of file third_person_follower_view_controller.cpp.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Jun 6 2019 18:02:17