Orbit view controller.
More...
#include <OrbitViewController.hh>
|
static std::string | GetTypeString () |
| Get the type name of this view controller.
|
|
gazebo::rendering::OrbitViewController::OrbitViewController |
( |
UserCameraPtr |
_camera | ) |
|
Constructor.
- Parameters
-
[in] | _camera | Pointer to the camera to control. |
virtual gazebo::rendering::OrbitViewController::~OrbitViewController |
( |
| ) |
|
|
virtual |
math::Vector3 gazebo::rendering::OrbitViewController::GetFocalPoint |
( |
| ) |
const |
Get the focal point.
- Returns
- The focal point
static std::string gazebo::rendering::OrbitViewController::GetTypeString |
( |
| ) |
|
|
static |
Get the type name of this view controller.
- Returns
- The view controller name: "orbit".
virtual void gazebo::rendering::OrbitViewController::HandleKeyPressEvent |
( |
const std::string & |
_key | ) |
|
|
virtual |
void gazebo::rendering::OrbitViewController::HandleKeyReleaseEvent |
( |
const std::string & |
_key | ) |
|
|
virtual |
virtual void gazebo::rendering::OrbitViewController::HandleMouseEvent |
( |
const common::MouseEvent & |
_event | ) |
|
|
virtual |
virtual void gazebo::rendering::OrbitViewController::Init |
( |
| ) |
|
|
virtual |
virtual void gazebo::rendering::OrbitViewController::Init |
( |
const math::Vector3 & |
_focalPoint | ) |
|
|
virtual |
void gazebo::rendering::OrbitViewController::SetDistance |
( |
float |
_d | ) |
|
Set the distance to the focal point.
- Parameters
-
[in] | _d | The distance from the focal point. |
void gazebo::rendering::OrbitViewController::SetDistanceRange |
( |
double |
_minDist, |
|
|
double |
_maxDist |
|
) |
| |
Set the min and max distance from the focal point.
- Parameters
-
[in] | _minDist | Min distance to the focal point. |
[in] | _maxDist | Max distance from the focal point. |
void gazebo::rendering::OrbitViewController::SetFocalPoint |
( |
const math::Vector3 & |
_fp | ) |
|
Set the focal point.
- Parameters
-
void gazebo::rendering::OrbitViewController::SetPitch |
( |
double |
_pitch | ) |
|
Set the pitch angle of the camera.
- Parameters
-
[in] | Pitch | angle in radians. |
void gazebo::rendering::OrbitViewController::SetYaw |
( |
double |
_yaw | ) |
|
Set the yaw angle of the camera.
- Parameters
-
virtual void gazebo::rendering::OrbitViewController::Update |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: