|
| void | init () override |
| |
| void | update () override |
| |
|
glm::vec3 | getEulerAnglesFromDirection (glm::vec3 direction) |
| |
| glm::ivec2 | getCameraDimensions () const override |
| |
| SDL_FRect | getCameraRect () const override |
| |
|
void | setCameraMatrix (glm::mat4 newMatrix) |
| |
|
glm::vec3 | convertScreenToWorldPlane (glm::vec2 screenCoords, float depth=0.0f) |
| |
|
glm::vec3 | convertScreenToWorldDistance (glm::vec2 screenCoords, float depth) |
| |
|
glm::vec3 | getPosition () const |
| |
|
void | setPosition (const glm::vec3 newPosition) |
| |
|
void | setPosition_X (const float newPosition) |
| |
|
void | setPosition_Y (const float newPosition) |
| |
|
void | setPosition_Z (const float newPosition) |
| |
|
float | getScale () const |
| |
|
glm::mat4 | getCameraMatrix () const |
| |
|
glm::vec3 | getAimPos () |
| |
|
void | setScale (float scale) |
| |
|
void | makeCameraDirty () |
| |
|
bool | hasChanged () |
| |
|
void | refreshCamera () |
| |
|
void | updateCameraOrientation () |
| |
|
void | setOrientation (glm::vec3 eye, glm::vec3 target, glm::vec3 up) |
| |
|
bool | isPointInCameraView (const glm::vec4 point, float margin) |
| |
|
glm::vec3 | castRayAt (const glm::vec2 &screenPos) |
| |
|
glm::vec3 | getPointOnRayAtZ (const glm::vec3 &rayOrigin, const glm::vec3 &rayDirection, float desiredZ) |
| |
|
void | setViewMatrix (glm::mat4 newViewMatrix) |
| |
|
glm::mat4 | getViewMatrix () |
| |
|
void | setProjMatrix (glm::mat4 newProjMatrix) |
| |
|
glm::mat4 | getProjMatrix () |
| |
|
glm::vec3 | getForwardDir () |
| |
|
glm::vec3 | getRightDir () |
| |
|
glm::vec3 | getUpDir () |
| |
|
void | movePosition_Hor (const float step) |
| |
|
void | movePosition_Vert (const float step) |
| |
|
void | movePosition_Forward (const float step) |
| |
|
void | setAimPos (const glm::vec3 newAimPos) |
| |
|
void | moveAimPos (glm::vec3 startingAimPos, const glm::vec2 distance) |
| |
|
|
int | _screenWidth = 800 |
| |
|
int | _screenHeight = 640 |
| |
|
glm::vec3 | eyePos { 0,0,0 } |
| |
|
glm::vec3 | aimPos { 0,0,0 } |
| |
|
glm::vec3 | upDir { 0,-1,0 } |
| |
|
float | zFar = 1000000.0f |
| |
|
ViewMode | currentViewMode = ViewMode::Y_UP |
| |
|
glm::mat4 | _projectionMatrix = glm::mat4(1.0f) |
| |
|
glm::mat4 | _viewMatrix = glm::mat4(1.0f) |
| |
|
glm::mat4 | _cameraMatrix = glm::mat4(1.0f) |
| |
|
bool | _cameraChange = true |
| |
|
float | _scale |
| |
◆ getCameraDimensions()
| glm::ivec2 OrthoCamera::getCameraDimensions |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getCameraRect()
| SDL_FRect OrthoCamera::getCameraRect |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ init()
| void OrthoCamera::init |
( |
| ) |
|
|
inlineoverridevirtual |
◆ update()
| void OrthoCamera::update |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- /mnt/c/Users/lefte/Mujin/MastersThesis/Taz/TazGraph/RenderEngine/src/Camera2.5D/OrthoCamera.h