Fluxus::dMatrix Class Reference

#include <dada.h>


Public Member Functions

 dMatrix ()
 dMatrix (const dMatrix &other)
 dMatrix (float m00, float m10, float m20, float m30, float m01, float m11, float m21, float m31, float m02, float m12, float m22, float m32, float m03, float m13, float m23, float m33)
void init ()
void zero ()
float * arr ()
const dMatrixoperator= (dMatrix const &rhs)
dMatrix operator+ (dMatrix const &rhs) const
dMatrix operator- (dMatrix const &rhs) const
dMatrix operator * (dMatrix const &rhs) const
dMatrix operator/ (dMatrix const &rhs) const
dMatrixoperator+= (dMatrix const &rhs)
dMatrixoperator-= (dMatrix const &rhs)
dMatrixoperator *= (dMatrix const &rhs)
dMatrixoperator/= (dMatrix const &rhs)
dMatrix operator+ (float rhs) const
dMatrix operator- (float rhs) const
dMatrix operator * (float rhs) const
dMatrix operator/ (float rhs) const
dMatrixtranslate (dVector &tr)
dMatrixtranslate (float x, float y, float z)
void settranslate (dVector &tr)
dVector gettranslate () const
dMatrixrotx (float a)
dMatrixroty (float a)
dMatrixrotz (float a)
dMatrixrotxyz (float x, float y, float z)
dMatrixscale (float x, float y, float z)
dVector transform_no_trans (dVector const &p) const
dVector transform (dVector const &p) const
dVector transform_persp (dVector const &p) const
dVertex transform (dVertex const &p) const
void transpose ()
dMatrix inverse () const
float determinant () const
dVector get_hori_i ()
dVector get_hori_j ()
dVector get_hori_k ()
dVector get_vert_i ()
dVector get_vert_j ()
dVector get_vert_k ()
void remove_scale ()
void extract_euler (float &x, float &y, float &z) const
void aim (dVector v, dVector up=dVector(0, 0, 1))
void blend (dMatrix other, float amount)
void load_glmatrix (float glm[16])
void load_dMatrix (float glm[16])

Data Fields

float m [4][4]

Friends

ostream & operator<< (ostream &os, dMatrix const &om)


Detailed Description

Definition at line 145 of file dada.h.


Constructor & Destructor Documentation

Fluxus::dMatrix::dMatrix (  )  [inline]

Definition at line 148 of file dada.h.

Fluxus::dMatrix::dMatrix ( const dMatrix other  )  [inline]

Definition at line 149 of file dada.h.

dMatrix::dMatrix ( float  m00,
float  m10,
float  m20,
float  m30,
float  m01,
float  m11,
float  m21,
float  m31,
float  m02,
float  m12,
float  m22,
float  m32,
float  m03,
float  m13,
float  m23,
float  m33 
)

Definition at line 349 of file dada.cpp.


Member Function Documentation

void dMatrix::init (  ) 

Definition at line 360 of file dada.cpp.

void dMatrix::zero (  ) 

Definition at line 366 of file dada.cpp.

float* Fluxus::dMatrix::arr (  )  [inline]

Definition at line 158 of file dada.h.

const dMatrix & dMatrix::operator= ( dMatrix const &  rhs  ) 

Definition at line 371 of file dada.cpp.

dMatrix dMatrix::operator+ ( dMatrix const &  rhs  )  const

Definition at line 380 of file dada.cpp.

dMatrix dMatrix::operator- ( dMatrix const &  rhs  )  const

Definition at line 393 of file dada.cpp.

dMatrix dMatrix::operator * ( dMatrix const &  rhs  )  const

Definition at line 406 of file dada.cpp.

dMatrix dMatrix::operator/ ( dMatrix const &  rhs  )  const

Definition at line 445 of file dada.cpp.

dMatrix & dMatrix::operator+= ( dMatrix const &  rhs  ) 

Definition at line 513 of file dada.cpp.

dMatrix & dMatrix::operator-= ( dMatrix const &  rhs  ) 

Definition at line 525 of file dada.cpp.

dMatrix & dMatrix::operator *= ( dMatrix const &  rhs  ) 

Definition at line 537 of file dada.cpp.

dMatrix & dMatrix::operator/= ( dMatrix const &  rhs  ) 

Definition at line 543 of file dada.cpp.

dMatrix dMatrix::operator+ ( float  rhs  )  const

Definition at line 461 of file dada.cpp.

dMatrix dMatrix::operator- ( float  rhs  )  const

Definition at line 474 of file dada.cpp.

dMatrix dMatrix::operator * ( float  rhs  )  const

Definition at line 487 of file dada.cpp.

dMatrix dMatrix::operator/ ( float  rhs  )  const

Definition at line 500 of file dada.cpp.

dMatrix & dMatrix::translate ( dVector tr  ) 

Definition at line 560 of file dada.cpp.

dMatrix & dMatrix::translate ( float  x,
float  y,
float  z 
)

Definition at line 549 of file dada.cpp.

void dMatrix::settranslate ( dVector tr  ) 

Definition at line 571 of file dada.cpp.

dVector dMatrix::gettranslate (  )  const

Definition at line 578 of file dada.cpp.

dMatrix & dMatrix::rotx ( float  a  ) 

Definition at line 650 of file dada.cpp.

dMatrix & dMatrix::roty ( float  a  ) 

Definition at line 664 of file dada.cpp.

dMatrix & dMatrix::rotz ( float  a  ) 

Definition at line 678 of file dada.cpp.

dMatrix & dMatrix::rotxyz ( float  x,
float  y,
float  z 
)

Definition at line 585 of file dada.cpp.

dMatrix & dMatrix::scale ( float  x,
float  y,
float  z 
)

Definition at line 692 of file dada.cpp.

dVector dMatrix::transform_no_trans ( dVector const &  p  )  const

Definition at line 733 of file dada.cpp.

dVector dMatrix::transform ( dVector const &  p  )  const

Definition at line 704 of file dada.cpp.

dVector dMatrix::transform_persp ( dVector const &  p  )  const

Definition at line 714 of file dada.cpp.

dVertex dMatrix::transform ( dVertex const &  p  )  const

Definition at line 725 of file dada.cpp.

void dMatrix::transpose (  ) 

Definition at line 767 of file dada.cpp.

dMatrix dMatrix::inverse (  )  const

Definition at line 780 of file dada.cpp.

float dMatrix::determinant (  )  const

Definition at line 804 of file dada.cpp.

dVector Fluxus::dMatrix::get_hori_i (  )  [inline]

Definition at line 188 of file dada.h.

dVector Fluxus::dMatrix::get_hori_j (  )  [inline]

Definition at line 189 of file dada.h.

dVector Fluxus::dMatrix::get_hori_k (  )  [inline]

Definition at line 190 of file dada.h.

dVector Fluxus::dMatrix::get_vert_i (  )  [inline]

Definition at line 191 of file dada.h.

dVector Fluxus::dMatrix::get_vert_j (  )  [inline]

Definition at line 192 of file dada.h.

dVector Fluxus::dMatrix::get_vert_k (  )  [inline]

Definition at line 193 of file dada.h.

void dMatrix::remove_scale (  ) 

Definition at line 815 of file dada.cpp.

void dMatrix::extract_euler ( float &  x,
float &  y,
float &  z 
) const

Definition at line 826 of file dada.cpp.

void dMatrix::aim ( dVector  v,
dVector  up = dVector(0, 0, 1) 
)

Definition at line 849 of file dada.cpp.

void dMatrix::blend ( dMatrix  other,
float  amount 
)

Definition at line 862 of file dada.cpp.

void dMatrix::load_glmatrix ( float  glm[16]  ) 

Definition at line 751 of file dada.cpp.

void dMatrix::load_dMatrix ( float  glm[16]  ) 

Definition at line 759 of file dada.cpp.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
dMatrix const &  om 
) [friend]

Definition at line 873 of file dada.cpp.


Field Documentation

float Fluxus::dMatrix::m[4][4]

Definition at line 204 of file dada.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 11 06:54:47 2008 for The Fluxus Renderer (libfluxus) by  doxygen 1.5.1