Public Member Functions | Static Public Member Functions | List of all members
LeapUtilGL::CameraGL Class Reference

#include <LeapUtilGL.h>

Inheritance diagram for LeapUtilGL::CameraGL:
Inheritance graph
[legend]

Public Member Functions

 CameraGL ()
 
void SetupGLProjection () const
 
void SetupGLView () const
 
- Public Member Functions inherited from LeapUtil::Camera
float CalcViewDepth (const Leap::Vector &vPos) const
 
 Camera ()
 
float GetAspectRatio () const
 
float GetFarClip () const
 
float GetMaxOrbitLatitude () const
 
float GetNearClip () const
 
const Leap::VectorGetOrbitTarget () const
 the point of interest for the camera to orbit around More...
 
const Leap::VectorGetPosition () const
 position of the camera in world space More...
 
const Leap::MatrixGetPOV () const
 POV is the world space location and orientation of the camera. More...
 
Leap::Matrix GetRotation () const
 orientation of the camera in world space More...
 
float GetVerticalFOVDegrees () const
 
Leap::Matrix GetView () const
 
void Move (const Leap::Vector &vDeltaPos)
 translate the position of the camera (move it from its current position) by the specified offset More...
 
void OnMouseDown (const Leap::Vector &vMousePos)
 
void OnMouseMoveOrbit (const Leap::Vector &vMousePos)
 
void OnMouseWheel (float fDeltaZ)
 convenience methods for mapping mouse movements to orbit camera movements. More...
 
void Rotate (const Leap::Matrix &mtxRotation)
 apply the specified rotation to the camera on top of its current rotation More...
 
void Rotate (const Leap::Vector &vAxis, float fRadians)
 
void RotateOrbit (float fDeltaMagnitude, float fDeltaLongitude, float fDeltaLatitude)
 
void SetAspectRatio (float fAspectRatio)
 
void SetClipPlanes (float fNearClip, float fFarClip)
 
void SetFarClip (float fFarClip)
 
void SetMaxOrbitLatitude (float fMaxOrbitLatitude)
 
void SetNearClip (float fNearClip)
 
void SetOrbitTarget (const Leap::Vector &vOrbitTarget)
 
void SetPosition (const Leap::Vector &vPos)
 
void SetPOV (const Leap::Matrix &mtxPOV)
 
void SetPOVLookAt (const Leap::Vector &vCameraPosition, const Leap::Vector &vTarget, Leap::Vector vUp=Leap::Vector::yAxis())
 places the camera a the given position with it pointing towards the specified target position More...
 
void SetRotation (const Leap::Vector &vAxis, float fRadians)
 
void SetRotation (const Leap::Matrix &mtxRot)
 
void SetRotationLookAt (const Leap::Vector &vTarget, const Leap::Vector &vUp=Leap::Vector::yAxis())
 maintains the current camera position and turns it to look at the specified target position More...
 
void SetVerticalFOVDegrees (float fFOV)
 

Static Public Member Functions

static void ResetGLProjection ()
 
static void ResetGLView ()
 

Detailed Description

Definition at line 111 of file LeapUtilGL.h.

Constructor & Destructor Documentation

LeapUtilGL::CameraGL::CameraGL ( )
inline

Definition at line 114 of file LeapUtilGL.h.

Member Function Documentation

static void LeapUtilGL::CameraGL::ResetGLProjection ( )
inlinestatic

Definition at line 116 of file LeapUtilGL.h.

static void LeapUtilGL::CameraGL::ResetGLView ( )
inlinestatic

Definition at line 122 of file LeapUtilGL.h.

void LeapUtilGL::CameraGL::SetupGLProjection ( ) const

Definition at line 630 of file LeapUtilGL.cpp.

void LeapUtilGL::CameraGL::SetupGLView ( ) const

Definition at line 636 of file LeapUtilGL.cpp.


The documentation for this class was generated from the following files:


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Tue Jun 2 2020 03:58:01