matrix_translation.h File Reference

#include <cml/mathlib/checking.h>

Include dependency graph for matrix_translation.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cml

Functions

template<class MatT >
void cml::matrix_get_translation (const MatT &m, typename MatT::value_type &t1, typename MatT::value_type &t2, typename MatT::value_type &t3)
 Get the translation of a 3D affine transform.
template<class MatT >
vector< typename
MatT::value_type, fixed< 3 > > 
cml::matrix_get_translation (const MatT &m)
 Get the translation of a 3D affine transform.
template<class MatT >
void cml::matrix_get_translation_2D (const MatT &m, typename MatT::value_type &t1, typename MatT::value_type &t2)
 Get the translation of a 2D affine transform.
template<class MatT >
vector< typename
MatT::value_type, fixed< 2 > > 
cml::matrix_get_translation_2D (const MatT &m)
 Get the translation of a 2D affine transform.
template<class MatT >
vector< typename
MatT::value_type, fixed< 3 > > 
cml::matrix_get_view_translation (const MatT &m)
 Get the translation of a 3D affine transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_translation (matrix< E, A, B, L > &m, const VecT &translation)
 Set the translation of a 3D affine transform from a 3D or 2D vector.
template<typename E , class A , class B , class L >
void cml::matrix_set_translation (matrix< E, A, B, L > &m, E x, E y)
 Set the translation of a 3D affine transform with z set to 0.
template<typename E , class A , class B , class L >
void cml::matrix_set_translation (matrix< E, A, B, L > &m, E x, E y, E z)
 Set the translation of a 3D affine transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_translation_2D (matrix< E, A, B, L > &m, const VecT &translation)
 Set the translation of a 2D affine transform from a 2D vector.
template<typename E , class A , class B , class L >
void cml::matrix_set_translation_2D (matrix< E, A, B, L > &m, E x, E y)
 Set the translation of a 2D affine transform.


Detailed Description

Definition in file matrix_translation.h.


Generated on Sat Jul 18 19:35:36 2009 for CML 1.0 by  doxygen 1.5.9