gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <Camera.h>
Public Member Functions | |
Camera () | |
~Camera () | |
void | giveViewportDimension (const int &W, const int &H) |
void | lookAtCg () |
void | init () |
void | rotate (double *q) |
void | move_and_look (double _movfront, double _movright, double _movup, double _rotfront, double _rotright, double _rotup, double _azimut, double _elevation) |
void | moveRight (double &theta) |
void | moveUp (double &theta) |
void | zoom (double &factor) |
void | update () |
void | affiche () |
void | alongX () |
void | alongY () |
void | alongZ () |
void | upX () |
void | upY () |
void | upZ () |
void | tiltHeadLeft () |
void | tiltHeadRight () |
Public Attributes | |
bool | on |
XYZ | position |
XYZ | front |
XYZ | up |
XYZ | right |
XYZ | target |
double | focallength |
double | focallength_ratio |
double | aperture |
double | eyesep |
int | screenwidth |
int | screenheight |
double | screenratio |
double | distance |
double | ref_distance |
bool | button_left_down |
bool | button_middle_down |
bool | button_right_down |
bool | stereoEnable |
double | Lc |
double | eye_sep_ratio |
double | closeness |
double | ndfl |
double | glFnear |
double | glFfar |
double | radians |
double | wd2 |
double | glFleft |
double | glFright |
double | glFtop |
double | glFbottom |
Camera::Camera | ( | ) |
Definition at line 21 of file Camera.cpp.
Camera::~Camera | ( | ) |
Definition at line 26 of file Camera.cpp.
void Camera::affiche | ( | ) |
void Camera::alongX | ( | ) |
void Camera::alongY | ( | ) |
void Camera::alongZ | ( | ) |
Definition at line 61 of file Camera.cpp.
Referenced by init().
void Camera::giveViewportDimension | ( | const int & | W, |
const int & | H | ||
) |
Definition at line 179 of file Camera.cpp.
void Camera::init | ( | ) |
void Camera::lookAtCg | ( | ) |
Definition at line 162 of file Camera.cpp.
Referenced by init().
void Camera::move_and_look | ( | double | _movfront, |
double | _movright, | ||
double | _movup, | ||
double | _rotfront, | ||
double | _rotright, | ||
double | _rotup, | ||
double | _azimut, | ||
double | _elevation | ||
) |
void Camera::moveRight | ( | double & | theta | ) |
void Camera::moveUp | ( | double & | theta | ) |
void Camera::rotate | ( | double * | q | ) |
Definition at line 277 of file Camera.cpp.
Referenced by drawContext::addQuaternion().
void Camera::tiltHeadLeft | ( | ) |
void Camera::tiltHeadRight | ( | ) |
void Camera::update | ( | ) |
Definition at line 190 of file Camera.cpp.
Referenced by alongX(), alongY(), alongZ(), init(), lookAtCg(), move_and_look(), moveRight(), moveUp(), rotate(), tiltHeadLeft(), tiltHeadRight(), upX(), upY(), and upZ().
void Camera::upX | ( | ) |
void Camera::upY | ( | ) |
void Camera::upZ | ( | ) |
void Camera::zoom | ( | double & | factor | ) |
Definition at line 271 of file Camera.cpp.
double Camera::aperture |
double Camera::distance |
double Camera::eye_sep_ratio |
double Camera::eyesep |
double Camera::focallength |
double Camera::focallength_ratio |
Definition at line 57 of file Camera.h.
Referenced by affiche(), lookAtCg(), and update().
XYZ Camera::front |
double Camera::glFbottom |
Definition at line 65 of file Camera.h.
Referenced by giveViewportDimension().
double Camera::glFleft |
Definition at line 65 of file Camera.h.
Referenced by giveViewportDimension().
double Camera::glFnear |
double Camera::glFright |
Definition at line 65 of file Camera.h.
Referenced by giveViewportDimension().
double Camera::glFtop |
Definition at line 65 of file Camera.h.
Referenced by giveViewportDimension().
double Camera::Lc |
Definition at line 64 of file Camera.h.
Referenced by affiche(), and lookAtCg().
XYZ Camera::position |
Definition at line 51 of file Camera.h.
Referenced by affiche(), alongX(), alongY(), alongZ(), drawContext::drawSmallAxes(), lookAtCg(), move_and_look(), moveRight(), moveUp(), rotate(), upX(), upY(), upZ(), and zoom().
double Camera::radians |
Definition at line 64 of file Camera.h.
Referenced by affiche(), drawContext::initProjection(), and update().
double Camera::ref_distance |
XYZ Camera::right |
Definition at line 54 of file Camera.h.
Referenced by affiche(), move_and_look(), moveRight(), rotate(), tiltHeadLeft(), tiltHeadRight(), update(), upX(), upY(), and upZ().
int Camera::screenheight |
Definition at line 60 of file Camera.h.
Referenced by affiche(), and giveViewportDimension().
double Camera::screenratio |
Definition at line 61 of file Camera.h.
Referenced by giveViewportDimension().
int Camera::screenwidth |
Definition at line 60 of file Camera.h.
Referenced by affiche(), and giveViewportDimension().
XYZ Camera::target |
Definition at line 55 of file Camera.h.
Referenced by affiche(), alongX(), alongY(), alongZ(), drawContext::drawSmallAxes(), lookAtCg(), move_and_look(), moveRight(), moveUp(), rotate(), upX(), upY(), upZ(), and zoom().
XYZ Camera::up |
Definition at line 53 of file Camera.h.
Referenced by affiche(), alongX(), alongY(), alongZ(), drawContext::drawSmallAxes(), move_and_look(), moveUp(), rotate(), tiltHeadLeft(), tiltHeadRight(), update(), upX(), upY(), and upZ().
double Camera::wd2 |
Definition at line 64 of file Camera.h.
Referenced by affiche(), giveViewportDimension(), and update().