GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
Camera Class Reference

#include <openglvis.hpp>

Public Member Functions

 Camera ()
 
void Reset ()
 
void Set (const double cam[])
 
const double * GetEye ()
 
const double * GetDir ()
 
const double * GetUp ()
 
const double * GetLeft ()
 
void MoveForwardBackward (double dist)
 
void MoveLeftRight (double dist)
 
void MoveUpDown (double dist)
 
void TiltLeftRight (double angle)
 
void TurnLeftRight (double angle)
 
void TurnUpDown (double angle)
 
void Print ()
 
glm::mat4 RotMatrix ()
 
glm::mat4 TransposeRotMatrix ()
 
glm::mat4 TranslateMatrix ()
 

Detailed Description

Definition at line 26 of file openglvis.hpp.

Constructor & Destructor Documentation

Camera::Camera ( )
inline

Definition at line 36 of file openglvis.hpp.

Member Function Documentation

const double* Camera::GetDir ( )
inline

Definition at line 42 of file openglvis.hpp.

const double* Camera::GetEye ( )
inline

Definition at line 41 of file openglvis.hpp.

const double* Camera::GetLeft ( )
inline

Definition at line 44 of file openglvis.hpp.

const double* Camera::GetUp ( )
inline

Definition at line 43 of file openglvis.hpp.

void Camera::MoveForwardBackward ( double  dist)
inline

Definition at line 46 of file openglvis.hpp.

void Camera::MoveLeftRight ( double  dist)
inline

Definition at line 47 of file openglvis.hpp.

void Camera::MoveUpDown ( double  dist)
inline

Definition at line 48 of file openglvis.hpp.

void Camera::Print ( )

Definition at line 106 of file openglvis.cpp.

void Camera::Reset ( )

Definition at line 25 of file openglvis.cpp.

glm::mat4 Camera::RotMatrix ( )

Definition at line 69 of file openglvis.cpp.

void Camera::Set ( const double  cam[])

Definition at line 37 of file openglvis.cpp.

void Camera::TiltLeftRight ( double  angle)

Definition at line 46 of file openglvis.cpp.

glm::mat4 Camera::TranslateMatrix ( )

Definition at line 100 of file openglvis.cpp.

glm::mat4 Camera::TransposeRotMatrix ( )

Definition at line 85 of file openglvis.cpp.

void Camera::TurnLeftRight ( double  angle)

Definition at line 52 of file openglvis.cpp.

void Camera::TurnUpDown ( double  angle)

Definition at line 59 of file openglvis.cpp.


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