#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 () |
|
const Transform * | GetParent () const |
|
Transform * | GetParent () |
|
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.
Enumerator |
---|
kFirstPerson |
|
kThirdPersonFollow |
|
kTopDown |
|
kTopOrtho |
|
kThirdPerson |
|
Definition at line 28 of file gesture_camera.h.
Enumerator |
---|
kTouch0Down |
|
kTouch0Up |
|
kTouchMove |
|
kTouch1Down |
|
kTouch1Up |
|
kTouchNone |
|
Definition at line 36 of file gesture_camera.h.
tango_gl::GestureCamera::GestureCamera |
( |
| ) |
|
tango_gl::GestureCamera::~GestureCamera |
( |
| ) |
|
const glm::vec3& tango_gl::GestureCamera::GetAnchorOffset |
( |
| ) |
const |
|
inline |
float tango_gl::GestureCamera::GetCameraDistance |
( |
| ) |
const |
|
inline |
CameraType tango_gl::GestureCamera::GetCameraType |
( |
| ) |
const |
|
inline |
float tango_gl::GestureCamera::getFOV |
( |
| ) |
const |
|
inline |
Segment tango_gl::GestureCamera::GetSegmentFromTouch |
( |
float |
normalized_x, |
|
|
float |
normalized_y, |
|
|
float |
touch_range |
|
) |
| |
void tango_gl::GestureCamera::OnTouchEvent |
( |
int |
touch_count, |
|
|
TouchEvent |
event, |
|
|
float |
x0, |
|
|
float |
y0, |
|
|
float |
x1, |
|
|
float |
y1 |
|
) |
| |
void tango_gl::GestureCamera::SetAnchorOffset |
( |
const glm::vec3 & |
pos | ) |
|
|
inline |
void tango_gl::GestureCamera::SetAnchorPosition |
( |
const glm::vec3 & |
pos, |
|
|
const glm::quat & |
rotation |
|
) |
| |
void tango_gl::GestureCamera::SetCameraDistance |
( |
float |
cameraDistance | ) |
|
|
inline |
void tango_gl::GestureCamera::SetCameraType |
( |
CameraType |
camera_index | ) |
|
void tango_gl::GestureCamera::StartCameraToCurrentTransform |
( |
| ) |
|
|
private |
glm::vec3 tango_gl::GestureCamera::anchor_offset_ |
|
private |
glm::vec2 tango_gl::GestureCamera::cam_cur_angle_ |
|
private |
float tango_gl::GestureCamera::cam_cur_dist_ |
|
private |
glm::quat tango_gl::GestureCamera::cam_cur_target_rot_ |
|
private |
Transform* tango_gl::GestureCamera::cam_parent_transform_ |
|
private |
glm::vec2 tango_gl::GestureCamera::cam_start_angle_ |
|
private |
float tango_gl::GestureCamera::cam_start_dist_ |
|
private |
float tango_gl::GestureCamera::cam_start_fov_ |
|
private |
float tango_gl::GestureCamera::cur_touch_dist_ |
|
private |
float tango_gl::GestureCamera::start_touch_dist_ |
|
private |
glm::vec2 tango_gl::GestureCamera::touch0_start_position_ |
|
private |
The documentation for this class was generated from the following files: