TuttleOFX
1
|
#include <affine.hpp>
Public Member Functions | |
matrix3x2 () | |
matrix3x2 (T A, T B, T C, T D, T E, T F) | |
matrix3x2 (const matrix3x2 &mat) | |
matrix3x2 & | operator= (const matrix3x2 &m) |
matrix3x2 & | operator*= (const matrix3x2 &m) |
Static Public Member Functions | |
static matrix3x2 | get_rotate (T rads) |
static matrix3x2 | get_translate (const point2< T > &t) |
static matrix3x2 | get_translate (T x, T y) |
static matrix3x2 | get_scale (const point2< T > &s) |
static matrix3x2 | get_scale (T x, T y) |
static matrix3x2 | get_scale (T s) |
Data Fields | |
T | a |
T | b |
T | c |
T | d |
T | e |
T | f |
Simple matrix to do 2D affine transformations. It is actually 3x3 but the last column is [0 0 1]
Definition at line 33 of file affine.hpp.
terry::matrix3x2< T >::matrix3x2 | ( | ) | [inline] |
Definition at line 35 of file affine.hpp.
terry::matrix3x2< T >::matrix3x2 | ( | T | A, |
T | B, | ||
T | C, | ||
T | D, | ||
T | E, | ||
T | F | ||
) | [inline] |
Definition at line 36 of file affine.hpp.
terry::matrix3x2< T >::matrix3x2 | ( | const matrix3x2< T > & | mat | ) | [inline] |
Definition at line 37 of file affine.hpp.
static matrix3x2 terry::matrix3x2< T >::get_rotate | ( | T | rads | ) | [inline, static] |
Definition at line 42 of file affine.hpp.
Referenced by terry::resample_subimage().
static matrix3x2 terry::matrix3x2< T >::get_scale | ( | const point2< T > & | s | ) | [inline, static] |
Definition at line 45 of file affine.hpp.
Referenced by terry::resample_subimage().
static matrix3x2 terry::matrix3x2< T >::get_scale | ( | T | x, |
T | y | ||
) | [inline, static] |
Definition at line 46 of file affine.hpp.
static matrix3x2 terry::matrix3x2< T >::get_scale | ( | T | s | ) | [inline, static] |
Definition at line 47 of file affine.hpp.
static matrix3x2 terry::matrix3x2< T >::get_translate | ( | const point2< T > & | t | ) | [inline, static] |
Definition at line 43 of file affine.hpp.
Referenced by terry::resample_subimage().
static matrix3x2 terry::matrix3x2< T >::get_translate | ( | T | x, |
T | y | ||
) | [inline, static] |
Definition at line 44 of file affine.hpp.
matrix3x2& terry::matrix3x2< T >::operator*= | ( | const matrix3x2< T > & | m | ) | [inline] |
Definition at line 40 of file affine.hpp.
matrix3x2& terry::matrix3x2< T >::operator= | ( | const matrix3x2< T > & | m | ) | [inline] |
Definition at line 38 of file affine.hpp.
References terry::matrix3x2< T >::a, terry::matrix3x2< T >::b, terry::matrix3x2< T >::c, terry::matrix3x2< T >::d, terry::matrix3x2< T >::e, and terry::matrix3x2< T >::f.
T terry::matrix3x2< T >::a |
Definition at line 49 of file affine.hpp.
Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().
T terry::matrix3x2< T >::b |
Definition at line 49 of file affine.hpp.
Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().
T terry::matrix3x2< T >::c |
Definition at line 49 of file affine.hpp.
Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().
T terry::matrix3x2< T >::d |
Definition at line 49 of file affine.hpp.
Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().
T terry::matrix3x2< T >::e |
Definition at line 49 of file affine.hpp.
Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().
T terry::matrix3x2< T >::f |
Definition at line 49 of file affine.hpp.
Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().