MatrixSet
Engine/source/math/util/matrixSet.h
Private Types
enum
_Transforms { ObjectToWorld = 0 WorldToCamera CameraToScreen ScreenToCamera ObjectToScreen ObjectToCamera WorldToObject CameraToWorld CameraToObject WorldToScreen SceneView SceneProjection NumTransforms }
Private Attributes
MatrixEvalDelegate
mEvalDelegate [NumTransforms]
mTransform [NumTransforms]
Private Functions
MATRIX_SET_GET_VALUE(CameraToObject )
MATRIX_SET_GET_VALUE(CameraToScreen )
MATRIX_SET_GET_VALUE(CameraToWorld )
MATRIX_SET_GET_VALUE(ObjectToCamera )
MATRIX_SET_GET_VALUE(ObjectToScreen )
MATRIX_SET_GET_VALUE(ObjectToWorld )
MATRIX_SET_GET_VALUE(SceneProjection )
MATRIX_SET_GET_VALUE(SceneView )
MATRIX_SET_GET_VALUE(ScreenToCamera )
MATRIX_SET_GET_VALUE(WorldToCamera )
MATRIX_SET_GET_VALUE(WorldToObject )
MATRIX_SET_GET_VALUE(WorldToScreen )
MATRIX_SET_IS_INVERSE_OF(CameraToObject , ObjectToCamera )
MATRIX_SET_IS_INVERSE_OF(CameraToWorld , WorldToCamera )
MATRIX_SET_IS_INVERSE_OF(ScreenToCamera , CameraToScreen )
MATRIX_SET_IS_INVERSE_OF(WorldToObject , ObjectToWorld )
MATRIX_SET_MULT_ASSIGN(CameraToScreen , WorldToCamera , WorldToScreen )
MATRIX_SET_MULT_ASSIGN(WorldToCamera , ObjectToWorld , ObjectToCamera )
MATRIX_SET_MULT_ASSIGN(WorldToScreen , ObjectToWorld , ObjectToScreen )
Public Functions
setProjection(const MatrixF & projection)
setSceneProjection(const MatrixF & projection)
setSceneView(const MatrixF & view)
Detailed Description
Private Types
_Transforms
Enumerator
- ObjectToWorld = 0
- WorldToCamera
- CameraToScreen
- ScreenToCamera
- ObjectToScreen
- ObjectToCamera
- WorldToObject
- CameraToWorld
- CameraToObject
- WorldToScreen
- SceneView
- SceneProjection
- NumTransforms
typedef Delegate< const MatrixF &()> MatrixEvalDelegate
Private Attributes
MatrixEvalDelegate mEvalDelegate [NumTransforms]
const MatrixF * mProjectionSource
MatrixF mTransform [NumTransforms]
const MatrixF * mViewSource
Private Functions
MATRIX_SET_GET_VALUE(CameraToObject )
MATRIX_SET_GET_VALUE(CameraToScreen )
MATRIX_SET_GET_VALUE(CameraToWorld )
MATRIX_SET_GET_VALUE(ObjectToCamera )
MATRIX_SET_GET_VALUE(ObjectToScreen )
MATRIX_SET_GET_VALUE(ObjectToWorld )
MATRIX_SET_GET_VALUE(SceneProjection )
MATRIX_SET_GET_VALUE(SceneView )
MATRIX_SET_GET_VALUE(ScreenToCamera )
MATRIX_SET_GET_VALUE(WorldToCamera )
MATRIX_SET_GET_VALUE(WorldToObject )
MATRIX_SET_GET_VALUE(WorldToScreen )
MATRIX_SET_IS_INVERSE_OF(CameraToObject , ObjectToCamera )
MATRIX_SET_IS_INVERSE_OF(CameraToWorld , WorldToCamera )
MATRIX_SET_IS_INVERSE_OF(ScreenToCamera , CameraToScreen )
MATRIX_SET_IS_INVERSE_OF(WorldToObject , ObjectToWorld )
MATRIX_SET_MULT_ASSIGN(CameraToScreen , WorldToCamera , WorldToScreen )
MATRIX_SET_MULT_ASSIGN(WorldToCamera , ObjectToWorld , ObjectToCamera )
MATRIX_SET_MULT_ASSIGN(WorldToScreen , ObjectToWorld , ObjectToScreen )
Public Functions
MatrixSet()
getCameraToObject()
getCameraToScreen()
getCameraToWorld()
getObjectToCamera()
getObjectToWorld()
getScreenToCamera()
getWorldToCamera()
getWorldToObject()
getWorldToScreen()
getWorldViewProjection()
restoreSceneViewProjection()
setProjection(const MatrixF & projection)
setSceneProjection(const MatrixF & projection)
setSceneView(const MatrixF & view)
setView(const MatrixF & view)
setWorld(const MatrixF & world)