arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

gutz::mat4< T > Class Template Reference

#include <mat4.h>

List of all members.

template<class T>
class gutz::mat4< T >


Public Member Functions

 mat4 ()
 mat4 (const mat4< T > &M)
 mat4 (const T)
 mat4 (T *)
 mat4 (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T, T)
 mat4 (const vec4< T > &, const vec4< T > &, const vec4< T > &, const vec4< T > &)
 mat4 (const mat3< T > &, const vec3< T > &)
 ~mat4 ()
mat4operator+= (const mat4 &)
mat4operator-= (const mat4 &)
mat4operator *= (const T)
mat4operator/= (const T)
mat4operator *= (const mat4 &)
mat4 operator+ (const mat4 &) const
mat4 operator- (const mat4 &) const
mat4 operator- () const
mat4 operator * (const T) const
mat4 operator/ (const T) const
mat4 operator * (const mat4 &) const
vec4< T > operator * (const vec4< T > &) const
T * v ()
const T * v () const
void set (const T, const T, const T, const T, const T, const T, const T, const T, const T, const T, const T, const T, const T, const T, const T, const T)
T & operator[] (const int)
operator[] (const int) const
vec4< T > & x () const
vec4< T > & y () const
vec4< T > & z () const
vec4< T > & w () const
void zero ()
void eye ()
mat4 inv () const
mat4 rinv () const
mat4 tp () const
mat3< T > rot () const
void rot (const mat3< T > &)
vec3< T > trans () const
void trans (const vec3< T > &)
vec3< T > tpoint (const vec3< T > &) const
vec3< T > tdir (const vec3< T > &) const

Public Attributes

m [16]

Constructor & Destructor Documentation

template<class T>
gutz::mat4< T >::mat4  )  [inline]
 

Definition at line 184 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
gutz::mat4< T >::mat4 const mat4< T > &  M  )  [inline]
 

Definition at line 242 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
gutz::mat4< T >::mat4 const  T  )  [inline]
 

Definition at line 193 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
gutz::mat4< T >::mat4 T *   )  [inline]
 

Definition at line 202 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
gutz::mat4< T >::mat4 ,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
[inline]
 

Definition at line 211 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
gutz::mat4< T >::mat4 const vec4< T > &  ,
const vec4< T > &  ,
const vec4< T > &  ,
const vec4< T > & 
[inline]
 

Definition at line 223 of file mat4.h.

References gutz::mat4< T >::m, gutz::vec4< T >::w, gutz::vec4< T >::x, gutz::vec4< T >::y, and gutz::vec4< T >::z.

template<class T>
gutz::mat4< T >::mat4 const mat3< T > &  ,
const vec3< T > & 
[inline]
 

Definition at line 233 of file mat4.h.

References gutz::mat3< T >::m, gutz::mat4< T >::m, and v.

template<class T>
gutz::mat4< T >::~mat4  )  [inline]
 

Definition at line 55 of file mat4.h.


Member Function Documentation

template<class T>
void gutz::mat4< T >::eye  )  [inline]
 

Definition at line 503 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > gutz::mat4< T >::inv  )  const
 

Definition at line 541 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
vec4< T > gutz::mat4< T >::operator * const vec4< T > &   )  const [inline]
 

Definition at line 442 of file mat4.h.

References gutz::mat4< T >::m, and v.

template<class T>
mat4< T > gutz::mat4< T >::operator * const mat4< T > &   )  const [inline]
 

Definition at line 417 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > gutz::mat4< T >::operator * const  T  )  const [inline]
 

Definition at line 396 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > & gutz::mat4< T >::operator *= const mat4< T > &   )  [inline]
 

Definition at line 297 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > & gutz::mat4< T >::operator *= const  T  )  [inline]
 

Definition at line 274 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > gutz::mat4< T >::operator+ const mat4< T > &   )  const [inline]
 

Definition at line 358 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > & gutz::mat4< T >::operator+= const mat4< T > &   )  [inline]
 

Definition at line 252 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > gutz::mat4< T >::operator-  )  const [inline]
 

Definition at line 386 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > gutz::mat4< T >::operator- const mat4< T > &   )  const [inline]
 

Definition at line 372 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > & gutz::mat4< T >::operator-= const mat4< T > &   )  [inline]
 

Definition at line 263 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > gutz::mat4< T >::operator/ const  T  )  const [inline]
 

Definition at line 406 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
mat4< T > & gutz::mat4< T >::operator/= const  T  )  [inline]
 

Definition at line 285 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
T gutz::mat4< T >::operator[] const  int  )  const [inline]
 

Definition at line 486 of file mat4.h.

References gutz::mat4< T >::v().

template<class T>
T & gutz::mat4< T >::operator[] const  int  )  [inline]
 

Definition at line 479 of file mat4.h.

References gutz::mat4< T >::v().

template<class T>
mat4< T > gutz::mat4< T >::rinv  )  const
 

Definition at line 621 of file mat4.h.

References gutz::mat4< T >::rot(), and gutz::mat4< T >::trans().

template<class T>
void gutz::mat4< T >::rot const mat3< T > &   )  [inline]
 

Definition at line 649 of file mat4.h.

References gutz::mat3< T >::m, and gutz::mat4< T >::m.

template<class T>
mat3< T > gutz::mat4< T >::rot  )  const [inline]
 

Definition at line 640 of file mat4.h.

References gutz::mat4< T >::m.

Referenced by gutz::mat4< T >::rinv().

template<class T>
void gutz::mat4< T >::set const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T,
const  T
[inline]
 

Definition at line 466 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
vec3< T > gutz::mat4< T >::tdir const vec3< T > &   )  const [inline]
 

Definition at line 681 of file mat4.h.

References gutz::mat4< T >::m, gutz::vec3< T >::x, gutz::vec3< T >::y, and gutz::vec3< T >::z.

template<class T>
mat4< T > gutz::mat4< T >::tp  )  const [inline]
 

Definition at line 630 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
vec3< T > gutz::mat4< T >::tpoint const vec3< T > &   )  const [inline]
 

Definition at line 672 of file mat4.h.

References gutz::mat4< T >::m, gutz::vec3< T >::x, gutz::vec3< T >::y, and gutz::vec3< T >::z.

template<class T>
void gutz::mat4< T >::trans const vec3< T > &   )  [inline]
 

Definition at line 665 of file mat4.h.

References gutz::mat4< T >::m, and v.

template<class T>
vec3< T > gutz::mat4< T >::trans  )  const [inline]
 

Definition at line 658 of file mat4.h.

References gutz::mat4< T >::m.

Referenced by gutz::mat4< T >::rinv().

template<class T>
const T * gutz::mat4< T >::v  )  const [inline]
 

Definition at line 459 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
T * gutz::mat4< T >::v  )  [inline]
 

Definition at line 452 of file mat4.h.

References gutz::mat4< T >::m.

Referenced by gutz::mat4< T >::operator[]().

template<class T>
vec4< T > & gutz::mat4< T >::w  )  const [inline]
 

Definition at line 534 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
vec4< T > & gutz::mat4< T >::x  )  const [inline]
 

Definition at line 513 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
vec4< T > & gutz::mat4< T >::y  )  const [inline]
 

Definition at line 520 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
vec4< T > & gutz::mat4< T >::z  )  const [inline]
 

Definition at line 527 of file mat4.h.

References gutz::mat4< T >::m.

template<class T>
void gutz::mat4< T >::zero  )  [inline]
 

Definition at line 493 of file mat4.h.

References gutz::mat4< T >::m.


Member Data Documentation

template<class T>
T gutz::mat4< T >::m[16]
 

Definition at line 105 of file mat4.h.

Referenced by gutz::mat4< T >::eye(), gutz::mat4< T >::inv(), gutz::mat4< T >::mat4(), gutz::operator *(), gutz::mat4< T >::operator *(), gutz::vec4< T >::operator *=(), gutz::mat4< T >::operator *=(), gutz::mat4< T >::operator+(), gutz::mat4< T >::operator+=(), gutz::mat4< T >::operator-(), gutz::mat4< T >::operator-=(), gutz::mat4< T >::operator/(), gutz::mat4< T >::operator/=(), gutz::operator>>(), gutz::mat4< T >::rot(), gutz::mat4< T >::set(), gutz::mat4< T >::tdir(), gutz::mat4< T >::tp(), gutz::mat4< T >::tpoint(), gutz::mat4< T >::trans(), gutz::mat4< T >::v(), gutz::mat4< T >::w(), gutz::mat4< T >::x(), gutz::mat4< T >::y(), gutz::mat4< T >::z(), and gutz::mat4< T >::zero().


The documentation for this class was generated from the following file:
Send questions, comments, and bug reports to:
jmk