matrix_basis.h File Reference

#include <cml/mathlib/checking.h>

Include dependency graph for matrix_basis.h:

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

Go to the source code of this file.

Namespaces

namespace  cml

Defines

#define TEMP_VEC2   vector< typename MatT::value_type, fixed<2> >
#define TEMP_VEC3   vector< typename MatT::value_type, fixed<3> >

Functions

template<class MatT >
TEMP_VEC3 cml::matrix_get_basis_vector (const MatT &m, size_t i)
 Get the i'th basis vector of a 3D transform.
template<class MatT >
TEMP_VEC2 cml::matrix_get_basis_vector_2D (const MatT &m, size_t i)
 Get the i'th basis vector of a 2D transform.
template<class MatT , class E , class A >
void cml::matrix_get_basis_vectors (const MatT &m, vector< E, A > &x, vector< E, A > &y, vector< E, A > &z)
 Get the basis vectors of a 3D transform.
template<class MatT , typename E , class A >
void cml::matrix_get_basis_vectors_2D (const MatT &m, vector< E, A > &x, vector< E, A > &y)
 Get the basis vectors of a 2D transform.
template<class MatT >
TEMP_VEC3 cml::matrix_get_transposed_basis_vector (const MatT &m, size_t i)
 Get the i'th transposed basis vector of a 3D transform.
template<class MatT >
TEMP_VEC2 cml::matrix_get_transposed_basis_vector_2D (const MatT &m, size_t i)
 Get the i'th transposed basis vector of a 2D transform.
template<class MatT , typename E , class A >
void cml::matrix_get_transposed_basis_vectors (const MatT &m, vector< E, A > &x, vector< E, A > &y, vector< E, A > &z)
 Get the transposed basis vectors of a 3D transform.
template<class MatT , typename E , class A >
void cml::matrix_get_transposed_basis_vectors_2D (const MatT &m, vector< E, A > &x, vector< E, A > &y)
 Get the transposed basis vectors of a 2D transform.
template<class MatT >
TEMP_VEC3 cml::matrix_get_transposed_x_basis_vector (const MatT &m)
 Get the transposed x basis vector of a 3D transform.
template<class MatT >
TEMP_VEC2 cml::matrix_get_transposed_x_basis_vector_2D (const MatT &m)
 Get the transposed x basis vector of a 2D transform.
template<class MatT >
TEMP_VEC3 cml::matrix_get_transposed_y_basis_vector (const MatT &m)
 Get the transposed y basis vector of a 3D transform.
template<class MatT >
TEMP_VEC2 cml::matrix_get_transposed_y_basis_vector_2D (const MatT &m)
 Get the transposed y basis vector of a 2D transform.
template<class MatT >
TEMP_VEC3 cml::matrix_get_transposed_z_basis_vector (const MatT &m)
 Get the transposed z basis vector of a 3D transform.
template<class MatT >
TEMP_VEC3 cml::matrix_get_x_basis_vector (const MatT &m)
 Get the x basis vector of a 3D transform.
template<class MatT >
TEMP_VEC2 cml::matrix_get_x_basis_vector_2D (const MatT &m)
 Get the x basis vector of a 2D transform.
template<class MatT >
TEMP_VEC3 cml::matrix_get_y_basis_vector (const MatT &m)
 Get the y basis vector of a 3D transform.
template<class MatT >
TEMP_VEC2 cml::matrix_get_y_basis_vector_2D (const MatT &m)
 Get the y basis vector of a 2D transform.
template<class MatT >
TEMP_VEC3 cml::matrix_get_z_basis_vector (const MatT &m)
 Get the z basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_basis_vector (matrix< E, A, B, L > &m, size_t i, const VecT &v)
 Set the i'th basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_basis_vector_2D (matrix< E, A, B, L > &m, size_t i, const VecT &v)
 Set the i'th basis vector of a 2D transform.
template<typename E , class A , class B , class L , class VecT_1 , class VecT_2 , class VecT_3 >
void cml::matrix_set_basis_vectors (matrix< E, A, B, L > &m, const VecT_1 &x, const VecT_2 &y, const VecT_3 &z)
 Set the basis vectors of a 3D transform.
template<typename E , class A , class B , class L , class VecT_1 , class VecT_2 >
void cml::matrix_set_basis_vectors_2D (matrix< E, A, B, L > &m, const VecT_1 &x, const VecT_2 &y)
 Set the basis vectors of a 2D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_transposed_basis_vector (matrix< E, A, B, L > &m, size_t i, const VecT &v)
 Set the i'th transposed basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_transposed_basis_vector_2D (matrix< E, A, B, L > &m, size_t i, const VecT &v)
 Set the i'th transposed basis vector of a 2D transform.
template<typename E , class A , class B , class L , class VecT_1 , class VecT_2 , class VecT_3 >
void cml::matrix_set_transposed_basis_vectors (matrix< E, A, B, L > &m, const VecT_1 &x, const VecT_2 &y, const VecT_3 &z)
 Set the transposed basis vectors of a 3D transform.
template<typename E , class A , class B , class L , class VecT_1 , class VecT_2 >
void cml::matrix_set_transposed_basis_vectors_2D (matrix< E, A, B, L > &m, const VecT_1 &x, const VecT_2 &y)
 Set the transposed basis vectors of a 2D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_transposed_x_basis_vector (matrix< E, A, B, L > &m, const VecT &x)
 Set the transposed x basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_transposed_x_basis_vector_2D (matrix< E, A, B, L > &m, const VecT &x)
 Set the transposed x basis vector of a 2D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_transposed_y_basis_vector (matrix< E, A, B, L > &m, const VecT &y)
 Set the transposed y basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_transposed_y_basis_vector_2D (matrix< E, A, B, L > &m, const VecT &y)
 Set the transposed y basis vector of a 2D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_transposed_z_basis_vector (matrix< E, A, B, L > &m, const VecT &z)
 Set the transposed z basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_x_basis_vector (matrix< E, A, B, L > &m, const VecT &x)
 Set the x basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_x_basis_vector_2D (matrix< E, A, B, L > &m, const VecT &x)
 Set the x basis vector of a 2D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_y_basis_vector (matrix< E, A, B, L > &m, const VecT &y)
 Set the y basis vector of a 3D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_y_basis_vector_2D (matrix< E, A, B, L > &m, const VecT &y)
 Set the y basis vector of a 2D transform.
template<typename E , class A , class B , class L , class VecT >
void cml::matrix_set_z_basis_vector (matrix< E, A, B, L > &m, const VecT &z)
 Set the z basis vector of a 3D transform.


Detailed Description

Definition in file matrix_basis.h.


Define Documentation

#define TEMP_VEC2   vector< typename MatT::value_type, fixed<2> >

#define TEMP_VEC3   vector< typename MatT::value_type, fixed<3> >


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