AffineMatrix Class Reference

#include <affine.h>


Public Member Functions

 AffineMatrix ()
void identity ()
void translate (double x, double y)
void scale (double x, double y)
void multiply (AffineMatrix *dst)
void copy_from (AffineMatrix *src)
void invert (AffineMatrix *dst)
void transform_point (float x, float y, float *newx, float *newy)
double determinant ()
void dump ()

Data Fields

double values [3][3]


Detailed Description

Definition at line 13 of file affine.h.


Constructor & Destructor Documentation

AffineMatrix::AffineMatrix (  ) 

Definition at line 20 of file affine.C.

References values.


Member Function Documentation

void AffineMatrix::identity (  ) 

Definition at line 25 of file affine.C.

References values.

Referenced by AffineUnit::calculate_matrix().

void AffineMatrix::translate ( double  x,
double  y 
)

Definition at line 33 of file affine.C.

References values.

Referenced by AffineUnit::calculate_matrix().

void AffineMatrix::scale ( double  x,
double  y 
)

Definition at line 46 of file affine.C.

References values.

Referenced by AffineUnit::calculate_matrix().

void AffineMatrix::multiply ( AffineMatrix dst  ) 

Definition at line 57 of file affine.C.

References copy_from(), t1, t2, t3, and values.

Referenced by AffineUnit::calculate_matrix().

Here is the call graph for this function:

void AffineMatrix::copy_from ( AffineMatrix src  ) 

Definition at line 131 of file affine.C.

References memcpy, and values.

Referenced by multiply(), and AffineUnit::process_package().

void AffineMatrix::invert ( AffineMatrix dst  ) 

Definition at line 92 of file affine.C.

References determinant(), and values.

Referenced by AffineUnit::process_package().

Here is the call graph for this function:

void AffineMatrix::transform_point ( float  x,
float  y,
float *  newx,
float *  newy 
)

Definition at line 136 of file affine.C.

References values.

Referenced by AffineUnit::process_package().

double AffineMatrix::determinant (  ) 

Definition at line 78 of file affine.C.

References values.

Referenced by invert().

void AffineMatrix::dump (  ) 

Definition at line 154 of file affine.C.

References values.


Field Documentation

double AffineMatrix::values[3][3]


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

Generated on Mon Apr 28 14:09:52 2008 for Cinelerra by  doxygen 1.5.5