mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
RVIZ: added OrbitOrientedViewController plugin, the camera will follow the orientation of the target frame
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@1554 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* OrbitOrientedViewController.h
|
||||
*
|
||||
* Created on: 2014-07-13
|
||||
* Author: mathieu
|
||||
*/
|
||||
|
||||
#ifndef ORBITORIENTEDVIEWCONTROLLER_H_
|
||||
#define ORBITORIENTEDVIEWCONTROLLER_H_
|
||||
|
||||
#include "rviz/default_plugin/view_controllers/orbit_view_controller.h"
|
||||
|
||||
namespace rtabmap
|
||||
{
|
||||
|
||||
class OrbitOrientedViewController: public rviz::OrbitViewController
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
OrbitOrientedViewController() {}
|
||||
virtual ~OrbitOrientedViewController() {}
|
||||
|
||||
protected:
|
||||
virtual void updateCamera();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif /* ORBITORIENTEDVIEWCONTROLLER_H_ */
|
||||
Reference in New Issue
Block a user