Base Camera class, which manages the projection and view matrices for a 3-dimensional scene, as well as providing mapping functionality.


Public Member Functions

  • ~Camera ()

Protected Member Functions

  • Camera ()
  • calcMatrices () const
  • calcViewMatrix () const
  • calcInverseView () const
  • calcProjection () const =0
  • calcRay (float u, float v, float imagePlaneAspectRatio) const

Protected Attributes

  • vec3
    mEyePoint
  • vec3
    mViewDirection
  • quat
    mOrientation
  • vec3
    mWorldUp
  • float
    mFov
  • float
    mAspectRatio
  • float
    mNearClip
  • float
    mFarClip
  • float
    mPivotDistance
  • vec3
    mU
  • vec3
    mV
  • vec3
    mW
  • mat4
    mProjectionMatrix
  • mat4
    mInverseProjectionMatrix
  • bool
    mProjectionCached
  • mat4
    mViewMatrix
  • bool
    mModelViewCached
  • mat4
    mInverseModelViewMatrix
  • bool
    mInverseModelViewCached
  • float
    mFrustumLeft
  • float
    mFrustumRight
  • float
    mFrustumTop
  • float
    mFrustumBottom