TuttleOFX  1
terry::matrix3x2< T > Class Template Reference

#include <affine.hpp>

Public Member Functions

 matrix3x2 ()
 matrix3x2 (T A, T B, T C, T D, T E, T F)
 matrix3x2 (const matrix3x2 &mat)
matrix3x2operator= (const matrix3x2 &m)
matrix3x2operator*= (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

a
b
c
d
e
f

Detailed Description

template<typename T>
class terry::matrix3x2< T >

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.


Constructor & Destructor Documentation

template<typename T>
terry::matrix3x2< T >::matrix3x2 ( ) [inline]

Definition at line 35 of file affine.hpp.

template<typename T>
terry::matrix3x2< T >::matrix3x2 ( A,
B,
C,
D,
E,
F 
) [inline]

Definition at line 36 of file affine.hpp.

template<typename T>
terry::matrix3x2< T >::matrix3x2 ( const matrix3x2< T > &  mat) [inline]

Definition at line 37 of file affine.hpp.


Member Function Documentation

template<typename T>
static matrix3x2 terry::matrix3x2< T >::get_rotate ( rads) [inline, static]

Definition at line 42 of file affine.hpp.

Referenced by terry::resample_subimage().

template<typename T>
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().

template<typename T>
static matrix3x2 terry::matrix3x2< T >::get_scale ( x,
y 
) [inline, static]

Definition at line 46 of file affine.hpp.

template<typename T>
static matrix3x2 terry::matrix3x2< T >::get_scale ( s) [inline, static]

Definition at line 47 of file affine.hpp.

template<typename T>
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().

template<typename T>
static matrix3x2 terry::matrix3x2< T >::get_translate ( x,
y 
) [inline, static]

Definition at line 44 of file affine.hpp.

template<typename T>
matrix3x2& terry::matrix3x2< T >::operator*= ( const matrix3x2< T > &  m) [inline]

Definition at line 40 of file affine.hpp.

template<typename T>
matrix3x2& terry::matrix3x2< T >::operator= ( const matrix3x2< T > &  m) [inline]

Field Documentation

template<typename T>
T terry::matrix3x2< T >::a

Definition at line 49 of file affine.hpp.

Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().

template<typename T>
T terry::matrix3x2< T >::b

Definition at line 49 of file affine.hpp.

Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().

template<typename T>
T terry::matrix3x2< T >::c

Definition at line 49 of file affine.hpp.

Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().

template<typename T>
T terry::matrix3x2< T >::d

Definition at line 49 of file affine.hpp.

Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().

template<typename T>
T terry::matrix3x2< T >::e

Definition at line 49 of file affine.hpp.

Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().

template<typename T>
T terry::matrix3x2< T >::f

Definition at line 49 of file affine.hpp.

Referenced by terry::operator*(), and terry::matrix3x2< T >::operator=().


The documentation for this class was generated from the following file: