Base Camera class, which manages the projection and view matrices for a 3-dimensional scene, as well as providing mapping functionality.
Show All |
Public Member Functions
Protected Member Functions
-
Camera ()
-
voidcalcMatrices () const
-
voidcalcViewMatrix () const
-
voidcalcInverseView () const
-
voidcalcProjection () const =0
-
calcRay (float u, float v, float imagePlaneAspectRatio) const =0
-
voidgetClipCoordinates (float clipDist, float ratio, vec3 *topLeft, vec3 *topRight, vec3 *bottomLeft, vec3 *bottomRight) const
Protected Attributes
-
vec3mEyePoint
-
vec3mViewDirection
-
quatmOrientation
-
vec3mWorldUp
-
floatmFov
-
floatmAspectRatio
-
floatmNearClip
-
floatmFarClip
-
floatmPivotDistance
-
vec3mU
-
vec3mV
-
vec3mW
-
mat4mProjectionMatrix
-
mat4mInverseProjectionMatrix
-
boolmProjectionCached
-
mat4mViewMatrix
-
boolmModelViewCached
-
mat4mInverseModelViewMatrix
-
boolmInverseModelViewCached
-
floatmFrustumLeft
-
floatmFrustumRight
-
floatmFrustumTop
-
floatmFrustumBottom