vector_transform.h File Reference

#include <cml/mathlib/checking.h>

Include dependency graph for vector_transform.h:

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

Go to the source code of this file.

Namespaces

namespace  cml
namespace  cml::detail

Defines

#define TEMP_VEC2
 A fixed-size temporary 2D vector.
#define TEMP_VEC3
 A fixed-size temporary 3D vector.
#define TEMP_VEC4
 A fixed-size temporary 4D vector.

Functions

template<class MatT , class VecT >
TEMP_VEC3 cml::transform_point (const MatT &m, const VecT &v)
 Apply a 3D affine transform to a 3D point.
template<class MatT , class VecT >
TEMP_VEC2 cml::transform_point_2D (const MatT &m, const VecT &v)
 Apply a 2D affine transform to a 2D point.
template<class MatT , class VecT >
TEMP_VEC3 cml::transform_vector (const MatT &m, const VecT &v)
 Apply a 3D affine transform to a 3D vector.
template<class MatT , class VecT >
TEMP_VEC2 cml::transform_vector_2D (const MatT &m, const VecT &v)
 Apply a 2D affine transform to a 2D vector.
template<class MatT , class VecT >
TEMP_VEC4 cml::transform_vector_4D (const MatT &m, const VecT &v)
 Apply a 4x4 homogeneous transform matrix to a 4D vector.
template<class MatT , class VecT >
TEMP_VEC4 cml::detail::transform_vector_4D (const MatT &m, const VecT &v, col_basis)
template<class MatT , class VecT >
TEMP_VEC4 cml::detail::transform_vector_4D (const MatT &m, const VecT &v, row_basis)


Detailed Description

Definition in file vector_transform.h.


Define Documentation

#define TEMP_VEC2

Value:

vector<          \
    typename et::ScalarPromote<    \
        typename MatT::value_type, \
        typename VecT::value_type  \
    >::type,                       \
    fixed<2>                       \
>
A fixed-size temporary 2D vector.

Definition at line 48 of file vector_transform.h.

#define TEMP_VEC3

Value:

vector<          \
    typename et::ScalarPromote<    \
        typename MatT::value_type, \
        typename VecT::value_type  \
    >::type,                       \
    fixed<3>                       \
>
A fixed-size temporary 3D vector.

Definition at line 39 of file vector_transform.h.

#define TEMP_VEC4

Value:

vector<          \
    typename et::ScalarPromote<    \
        typename MatT::value_type, \
        typename VecT::value_type  \
    >::type,                       \
    fixed<4>                       \
>
A fixed-size temporary 4D vector.

Definition at line 30 of file vector_transform.h.


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