#include <xform_2d.h>
Public Types | |
typedef point2d_t< float > | point_t |
typedef rect2d_t< float > | rect_t |
Public Member Functions | |
xform_2d_t (void) throw () | |
void | clear (void) throw () |
void | setIdentity (void) throw () |
void | setZRotate (IN float phi) throw () |
void | setTranslate (IN float x, IN float y) throw () |
void | scale (IN float r) throw () |
void | scaleX (IN float rx) throw () |
void | scaleY (IN float ry) throw () |
void | setToProductOf (IN const xform_2d_t &left, IN const xform_2d_t &right) throw () |
void | transformPoint (IN const point_t &in, OUT point_t &out) const throw () |
void | transformRect (IN const rect_t &in, OUT rect_t &out) const throw () |
void | setToInverseOf (IN const xform_2d_t &T) throw () |
void | dump (IN const char *title) const throw () |
Public Attributes | |
float | t00 |
float | t01 |
float | t10 |
float | t11 |
float | dx |
float | dy |
2D transform object - basically a 2x2 rotation matrix + translation
Definition at line 47 of file xform_2d.h.
typedef point2d_t<float> xform_2d_t::point_t |
Definition at line 48 of file xform_2d.h.
typedef rect2d_t<float> xform_2d_t::rect_t |
Definition at line 49 of file xform_2d.h.
xform_2d_t::xform_2d_t | ( | void | ) | throw () [inline] |
Definition at line 52 of file xform_2d.h.
void xform_2d_t::clear | ( | void | ) | throw () [inline] |
Definition at line 53 of file xform_2d.h.
void xform_2d_t::setIdentity | ( | void | ) | throw () [inline] |
Definition at line 54 of file xform_2d.h.
void xform_2d_t::setZRotate | ( | IN float | phi | ) | throw () [inline] |
Definition at line 60 of file xform_2d.h.
void xform_2d_t::setTranslate | ( | IN float | x, | |
IN float | y | |||
) | throw () [inline] |
Definition at line 68 of file xform_2d.h.
void xform_2d_t::scale | ( | IN float | r | ) | throw () [inline] |
Definition at line 76 of file xform_2d.h.
void xform_2d_t::scaleX | ( | IN float | rx | ) | throw () [inline] |
Definition at line 82 of file xform_2d.h.
void xform_2d_t::scaleY | ( | IN float | ry | ) | throw () [inline] |
Definition at line 89 of file xform_2d.h.
void xform_2d_t::setToProductOf | ( | IN const xform_2d_t & | left, | |
IN const xform_2d_t & | right | |||
) | throw () [inline] |
Definition at line 96 of file xform_2d.h.
void xform_2d_t::transformPoint | ( | IN const point_t & | in, | |
OUT point_t & | out | |||
) | const throw () [inline] |
Definition at line 107 of file xform_2d.h.
Definition at line 42 of file xform_2d.cpp.
void xform_2d_t::setToInverseOf | ( | IN const xform_2d_t & | T | ) | throw () |
Definition at line 105 of file xform_2d.cpp.
void xform_2d_t::dump | ( | IN const char * | title | ) | const throw () [inline] |
Definition at line 118 of file xform_2d.h.
float xform_2d_t::t00 |
Definition at line 125 of file xform_2d.h.
float xform_2d_t::t01 |
Definition at line 126 of file xform_2d.h.
float xform_2d_t::t10 |
Definition at line 127 of file xform_2d.h.
float xform_2d_t::t11 |
Definition at line 128 of file xform_2d.h.
float xform_2d_t::dx |
Definition at line 129 of file xform_2d.h.
float xform_2d_t::dy |
Definition at line 130 of file xform_2d.h.