#include <gesture_camera.h>
|
| GestureCamera () |
|
const glm::vec3 & | GetAnchorOffset () const |
|
float | GetCameraDistance () const |
|
CameraType | GetCameraType () const |
|
float | getFOV () const |
|
Segment | GetSegmentFromTouch (float normalized_x, float normalized_y, float touch_range) |
|
void | OnTouchEvent (int touch_count, TouchEvent event, float x0, float y0, float x1, float y1) |
|
void | SetAnchorOffset (const glm::vec3 &pos) |
|
void | SetAnchorPosition (const glm::vec3 &pos, const glm::quat &rotation) |
|
void | SetCameraDistance (float cameraDistance) |
|
void | SetCameraType (CameraType camera_index) |
|
| ~GestureCamera () |
|
| Camera () |
|
| Camera (const Camera &other)=delete |
|
float | getFarClipPlane () const |
|
float | getNearClipPlane () const |
|
glm::mat4 | GetProjectionMatrix () |
|
glm::mat4 | GetViewMatrix () |
|
Camera & | operator= (const Camera &)=delete |
|
void | SetFieldOfView (const float fov) |
|
void | SetNearFarClipPlanes (const float near, const float far) |
|
void | SetOrthoCropFactor (float value) |
|
void | SetOrthoMode (bool enabled) |
|
void | SetOrthoScale (float scale) |
|
void | SetWindowSize (const float width, const float height) |
|
| ~Camera () |
|
Transform * | GetParent () |
|
const Transform * | GetParent () const |
|
glm::vec3 | GetPosition () const |
|
glm::quat | GetRotation () const |
|
glm::vec3 | GetScale () const |
|
glm::mat4 | GetTransformationMatrix () const |
|
const Transform & | operator= (const Transform &rhs)=delete |
|
void | SetParent (Transform *transform) |
|
void | SetPosition (const glm::vec3 &position) |
|
void | SetRotation (const glm::quat &rotation) |
|
void | SetScale (const glm::vec3 &scale) |
|
void | SetTransformationMatrix (const glm::mat4 &transform_mat) |
|
| Transform () |
|
| Transform (const Transform &other)=delete |
|
void | Translate (const glm::vec3 &translation) |
|
virtual | ~Transform () |
|
Definition at line 26 of file gesture_camera.h.
◆ CameraType
Enumerator |
---|
kFirstPerson | |
kThirdPersonFollow | |
kTopDown | |
kTopOrtho | |
kThirdPerson | |
Definition at line 28 of file gesture_camera.h.
◆ TouchEvent
Enumerator |
---|
kTouch0Down | |
kTouch0Up | |
kTouchMove | |
kTouch1Down | |
kTouch1Up | |
kTouchNone | |
Definition at line 36 of file gesture_camera.h.
◆ GestureCamera()
tango_gl::GestureCamera::GestureCamera |
( |
| ) |
|
◆ ~GestureCamera()
tango_gl::GestureCamera::~GestureCamera |
( |
| ) |
|
◆ GetAnchorOffset()
const glm::vec3& tango_gl::GestureCamera::GetAnchorOffset |
( |
| ) |
const |
|
inline |
◆ GetCameraDistance()
float tango_gl::GestureCamera::GetCameraDistance |
( |
| ) |
const |
|
inline |
◆ GetCameraType()
CameraType tango_gl::GestureCamera::GetCameraType |
( |
| ) |
const |
|
inline |
◆ getFOV()
float tango_gl::GestureCamera::getFOV |
( |
| ) |
const |
|
inline |
◆ GetSegmentFromTouch()
Segment tango_gl::GestureCamera::GetSegmentFromTouch |
( |
float |
normalized_x, |
|
|
float |
normalized_y, |
|
|
float |
touch_range |
|
) |
| |
◆ OnTouchEvent()
◆ SetAnchorOffset()
void tango_gl::GestureCamera::SetAnchorOffset |
( |
const glm::vec3 & |
pos | ) |
|
|
inline |
◆ SetAnchorPosition()
void tango_gl::GestureCamera::SetAnchorPosition |
( |
const glm::vec3 & |
pos, |
|
|
const glm::quat & |
rotation |
|
) |
| |
◆ SetCameraDistance()
void tango_gl::GestureCamera::SetCameraDistance |
( |
float |
cameraDistance | ) |
|
|
inline |
◆ SetCameraType()
void tango_gl::GestureCamera::SetCameraType |
( |
CameraType |
camera_index | ) |
|
◆ StartCameraToCurrentTransform()
void tango_gl::GestureCamera::StartCameraToCurrentTransform |
( |
| ) |
|
|
private |
◆ anchor_offset_
glm::vec3 tango_gl::GestureCamera::anchor_offset_ |
|
private |
◆ cam_cur_angle_
glm::vec2 tango_gl::GestureCamera::cam_cur_angle_ |
|
private |
◆ cam_cur_dist_
float tango_gl::GestureCamera::cam_cur_dist_ |
|
private |
◆ cam_cur_target_rot_
glm::quat tango_gl::GestureCamera::cam_cur_target_rot_ |
|
private |
◆ cam_parent_transform_
Transform* tango_gl::GestureCamera::cam_parent_transform_ |
|
private |
◆ cam_start_angle_
glm::vec2 tango_gl::GestureCamera::cam_start_angle_ |
|
private |
◆ cam_start_dist_
float tango_gl::GestureCamera::cam_start_dist_ |
|
private |
◆ cam_start_fov_
float tango_gl::GestureCamera::cam_start_fov_ |
|
private |
◆ camera_type_
◆ cur_touch_dist_
float tango_gl::GestureCamera::cur_touch_dist_ |
|
private |
◆ start_touch_dist_
float tango_gl::GestureCamera::start_touch_dist_ |
|
private |
◆ touch0_start_position_
glm::vec2 tango_gl::GestureCamera::touch0_start_position_ |
|
private |
The documentation for this class was generated from the following files: