#include <Camera.h>
|
| CCamera () |
|
| ~CCamera () |
|
CMatrix3D & | GetProjection () |
|
const CMatrix3D & | GetProjection () const |
|
CMatrix3D | GetViewProjection () const |
|
void | SetProjection (const CMatrix3D &matrix) |
|
void | SetProjectionFromCamera (const CCamera &camera) |
|
void | SetOrthoProjection (float nearp, float farp, float scale) |
|
void | SetPerspectiveProjection (float nearp, float farp, float fov) |
|
ProjectionType | GetProjectionType () const |
|
CMatrix3D & | GetOrientation () |
|
const CMatrix3D & | GetOrientation () const |
|
void | UpdateFrustum (const CBoundingBoxAligned &scissor=CBoundingBoxAligned(CVector3D(-1.0f, -1.0f, -1.0f), CVector3D(1.0f, 1.0f, 1.0f))) |
|
void | ClipFrustum (const CPlane &clipPlane) |
|
const CFrustum & | GetFrustum () const |
|
void | SetViewPort (const SViewPort &viewport) |
|
const SViewPort & | GetViewPort () const |
|
float | GetAspectRatio () const |
|
float | GetNearPlane () const |
|
float | GetFarPlane () const |
|
float | GetFOV () const |
|
float | GetOrthoScale () const |
|
void | GetViewQuad (float dist, Quad &quad) const |
|
void | BuildCameraRay (int px, int py, CVector3D &origin, CVector3D &dir) const |
|
void | GetScreenCoordinates (const CVector3D &world, float &x, float &y) const |
|
CVector3D | GetWorldCoordinates (int px, int py, bool aboveWater=false) const |
|
CVector3D | GetWorldCoordinates (int px, int py, float h) const |
|
CVector3D | GetFocus () const |
|
CBoundingBoxAligned | GetBoundsInViewPort (const CBoundingBoxAligned &boundigBox) const |
|
void | LookAt (const CVector3D &camera, const CVector3D &focus, const CVector3D &up) |
|
void | LookAlong (const CVector3D &camera, CVector3D orientation, CVector3D up) |
|
◆ Quad
◆ ProjectionType
Enumerator |
---|
CUSTOM | |
ORTHO | |
PERSPECTIVE | |
◆ CCamera()
◆ ~CCamera()
◆ BuildCameraRay()
void CCamera::BuildCameraRay |
( |
int |
px, |
|
|
int |
py, |
|
|
CVector3D & |
origin, |
|
|
CVector3D & |
dir |
|
) |
| const |
◆ ClipFrustum()
void CCamera::ClipFrustum |
( |
const CPlane & |
clipPlane | ) |
|
◆ GetAspectRatio()
float CCamera::GetAspectRatio |
( |
| ) |
const |
◆ GetBoundsInViewPort()
◆ GetFarPlane()
float CCamera::GetFarPlane |
( |
| ) |
const |
|
inline |
◆ GetFocus()
◆ GetFOV()
float CCamera::GetFOV |
( |
| ) |
const |
|
inline |
◆ GetFrustum()
const CFrustum & CCamera::GetFrustum |
( |
| ) |
const |
|
inline |
◆ GetNearPlane()
float CCamera::GetNearPlane |
( |
| ) |
const |
|
inline |
◆ GetOrientation() [1/2]
◆ GetOrientation() [2/2]
const CMatrix3D & CCamera::GetOrientation |
( |
| ) |
const |
|
inline |
◆ GetOrthoScale()
float CCamera::GetOrthoScale |
( |
| ) |
const |
|
inline |
◆ GetProjection() [1/2]
◆ GetProjection() [2/2]
const CMatrix3D & CCamera::GetProjection |
( |
| ) |
const |
|
inline |
◆ GetProjectionType()
◆ GetScreenCoordinates()
void CCamera::GetScreenCoordinates |
( |
const CVector3D & |
world, |
|
|
float & |
x, |
|
|
float & |
y |
|
) |
| const |
◆ GetViewPort()
const SViewPort & CCamera::GetViewPort |
( |
| ) |
const |
|
inline |
◆ GetViewProjection()
CMatrix3D CCamera::GetViewProjection |
( |
| ) |
const |
|
inline |
◆ GetViewQuad()
void CCamera::GetViewQuad |
( |
float |
dist, |
|
|
Quad & |
quad |
|
) |
| const |
◆ GetWorldCoordinates() [1/2]
CVector3D CCamera::GetWorldCoordinates |
( |
int |
px, |
|
|
int |
py, |
|
|
bool |
aboveWater = false |
|
) |
| const |
◆ GetWorldCoordinates() [2/2]
CVector3D CCamera::GetWorldCoordinates |
( |
int |
px, |
|
|
int |
py, |
|
|
float |
h |
|
) |
| const |
◆ LookAlong()
◆ LookAt()
◆ SetOrthoProjection()
void CCamera::SetOrthoProjection |
( |
float |
nearp, |
|
|
float |
farp, |
|
|
float |
scale |
|
) |
| |
◆ SetPerspectiveProjection()
void CCamera::SetPerspectiveProjection |
( |
float |
nearp, |
|
|
float |
farp, |
|
|
float |
fov |
|
) |
| |
◆ SetProjection()
void CCamera::SetProjection |
( |
const CMatrix3D & |
matrix | ) |
|
◆ SetProjectionFromCamera()
void CCamera::SetProjectionFromCamera |
( |
const CCamera & |
camera | ) |
|
◆ SetViewPort()
void CCamera::SetViewPort |
( |
const SViewPort & |
viewport | ) |
|
◆ UpdateFrustum()
union { ... } CCamera::@1 |
◆ m_FarPlane
float CCamera::m_FarPlane = 0.0f |
|
private |
◆ m_FOV
◆ m_NearPlane
float CCamera::m_NearPlane = 0.0f |
|
private |
◆ m_Orientation
◆ m_OrthoScale
float CCamera::m_OrthoScale |
◆ m_ProjMat
◆ m_ProjType
◆ m_ViewFrustum
◆ m_ViewPort
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/graphics/Camera.h
- /home/docker/jenkins/workspace/technical-docs/source/graphics/Camera.cpp