#include <CCamera.h>
Definition at line 35 of file CCamera.h.
CCamera::CCamera | ( | const CCamera & | ) | [private] |
bool CCamera::CameraChanged | ( | ) | const [inline] |
void CCamera::Clear | ( | ) | [private] |
Definition at line 130 of file CCamera.cpp.
References m_bPerspectiveValid, m_bTransformValid, m_farPlane, m_fov, m_nearPlane, m_vPos, m_vRot, TVector3< T >::Set(), and SetPerspective().
Referenced by CCamera().
void CCamera::ForceUpdateTransform | ( | ) | [inline] |
void CCamera::ForceUpdateView | ( | ) | [inline] |
const CFrustum & CCamera::GetFrustum | ( | ) |
Definition at line 107 of file CCamera.cpp.
References CFrustum::CalculateFrustum(), m_Frustum, m_Projection, and m_View.
const CMatrix44 & CCamera::GetTransformation | ( | ) |
void CCamera::Log | ( | word | wTargetLog | ) |
void CCamera::Refresh | ( | ) |
Definition at line 74 of file CCamera.cpp.
References m_aspect, m_bPerspectiveValid, m_farPlane, m_fov, m_nearPlane, m_View, and Update().
void CCamera::SetAspect | ( | const float & | fAspectRatio | ) |
void CCamera::SetFOV | ( | float | fov | ) |
void CCamera::SetPerspective | ( | const float & | fFov, | |
const float & | fAspectRatio, | |||
const float & | fNearZ, | |||
const float & | fFarZ | |||
) |
Definition at line 29 of file CCamera.cpp.
References m_aspect, m_bPerspectiveValid, m_farPlane, m_fov, and m_nearPlane.
Referenced by Clear().
void CCamera::SetPos | ( | const CVector3f & | vPos | ) |
void CCamera::SetRot | ( | const CVector3f & | vRot | ) |
void CCamera::SetTransformOrder | ( | byte | order | ) |
void CCamera::Update | ( | ) | [private] |
Definition at line 141 of file CCamera.cpp.
References CMatrix44::Identity(), m_bTransformValid, m_Pos, m_Rot, m_TransformOrder, m_View, m_vPos, m_vRot, CMatrix44::Multiply(), CMatrix44::RotationZYX(), RT, and CMatrix44::Translation().
Referenced by GetTransformation(), Log(), Refresh(), and UpdateTransForm().
void CCamera::UpdateTransForm | ( | ) |
Definition at line 97 of file CCamera.cpp.
References m_bTransformValid, m_View, and Update().
Referenced by ForceUpdateTransform().
void CCamera::UpdateView | ( | ) |
Definition at line 87 of file CCamera.cpp.
References m_aspect, m_bPerspectiveValid, m_farPlane, m_fov, and m_nearPlane.
Referenced by ForceUpdateView().
float CCamera::m_aspect [private] |
Definition at line 100 of file CCamera.h.
Referenced by Refresh(), SetAspect(), SetPerspective(), and UpdateView().
bool CCamera::m_bPerspectiveValid [private] |
Definition at line 106 of file CCamera.h.
Referenced by Clear(), ForceUpdateView(), Refresh(), SetAspect(), SetFOV(), SetPerspective(), and UpdateView().
bool CCamera::m_bTransformValid [private] |
Definition at line 105 of file CCamera.h.
Referenced by CameraChanged(), Clear(), ForceUpdateTransform(), GetTransformation(), Log(), SetPos(), SetRot(), Update(), and UpdateTransForm().
float CCamera::m_farPlane [private] |
Definition at line 100 of file CCamera.h.
Referenced by Clear(), Refresh(), SetPerspective(), and UpdateView().
float CCamera::m_fov [private] |
Definition at line 100 of file CCamera.h.
Referenced by Clear(), GetFOV(), Refresh(), SetFOV(), SetPerspective(), and UpdateView().
CFrustum CCamera::m_Frustum [private] |
float CCamera::m_nearPlane [private] |
Definition at line 100 of file CCamera.h.
Referenced by Clear(), Refresh(), SetPerspective(), and UpdateView().
CMatrix44 CCamera::m_Pos [private] |
CMatrix44 CCamera::m_Projection [private] |
CMatrix44 CCamera::m_Rot [private] |
byte CCamera::m_TransformOrder [private] |
CMatrix44 CCamera::m_View [private] |
Definition at line 96 of file CCamera.h.
Referenced by GetFrustum(), GetTransformation(), Refresh(), Update(), and UpdateTransForm().
CVector3f CCamera::m_vPos [private] |
CVector3f CCamera::m_vRot [private] |