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

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

#include <xy_orbit_view_controller.h>

Inheritance diagram for rviz::XYOrbitViewController:
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 ()

Detailed Description

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

Definition at line 48 of file xy_orbit_view_controller.h.


Member Function Documentation

Reimplemented from rviz::OrbitViewController.

Definition at line 80 of file xy_orbit_view_controller.cpp.

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

Definition at line 62 of file xy_orbit_view_controller.cpp.

void rviz::XYOrbitViewController::lookAt ( const Ogre::Vector3 point) [virtual]

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 211 of file xy_orbit_view_controller.cpp.

void rviz::XYOrbitViewController::mimic ( ViewController source_view) [virtual]

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 176 of file xy_orbit_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 56 of file xy_orbit_view_controller.cpp.

void rviz::XYOrbitViewController::updateCamera ( ) [protected, virtual]

Reimplemented from rviz::OrbitViewController.

Definition at line 205 of file xy_orbit_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 Tue Oct 3 2017 03:19:32