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

gutz::mat3< T > Class Template Reference

#include <mat3.h>

List of all members.

template<class T>
class gutz::mat3< T >


Public Member Functions

 mat3 ()
 mat3 (const T)
 mat3 (const T *)
 mat3 (const T, const T, const T, const T, const T, const T, const T, const T, const T)
 mat3 (const vec3< T > &, const vec3< T > &, const vec3< T > &)
 mat3 (const mat2< T > &, const vec2< T > &)
 mat3 (const quat< T > &)
 mat3 (const mat3< T > &M)
 mat3 (const T theta, const vec3< T > &v)
 ~mat3 ()
mat3operator+= (const mat3 &)
mat3operator-= (const mat3 &)
mat3operator *= (const T)
mat3operator/= (const T)
mat3operator *= (const mat3 &)
mat3 operator+ (const mat3 &) const
mat3 operator- (const mat3 &) const
mat3 operator- () const
mat3 operator * (const T) const
mat3 operator/ (const T) const
mat3 operator * (const mat3 &) const
vec3< T > operator * (const vec3< 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)
void set (const T theta, const vec3< T > &v)
T & operator[] (const int)
operator[] (const int) const
void zero ()
void eye ()
 eyedentity :)

vec3< T > & x () const
vec3< T > & y () const
vec3< T > & z () const
norm () const
mat3 inv () const
 TODO: is this messed up? looks like the translational part is in the wrong place, need to double check this function!

mat3 tp () const
mat2< T > rot () const
void rot (const mat2< T > &)
vec2< T > trans () const
void trans (const vec2< T > &)
vec2< T > tpoint (const vec2< T > &) const
vec2< T > tdir (const vec2< T > &) const

Public Attributes

m [9]

Constructor & Destructor Documentation

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

Definition at line 201 of file mat3.h.

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

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

Definition at line 209 of file mat3.h.

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

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

Definition at line 217 of file mat3.h.

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

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

Definition at line 225 of file mat3.h.

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

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

Definition at line 235 of file mat3.h.

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

template<class T>
gutz::mat3< T >::mat3 const mat2< T > &  ,
const vec2< T > & 
[inline]
 

Definition at line 243 of file mat3.h.

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

template<class T>
gutz::mat3< T >::mat3 const quat< T > &   )  [inline]
 

Definition at line 251 of file mat3.h.

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

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

Definition at line 265 of file mat3.h.

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

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

Definition at line 273 of file mat3.h.

References gutz::mat3< T >::set(), and v.

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

Definition at line 58 of file mat3.h.


Member Function Documentation

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

eyedentity :)

Definition at line 502 of file mat3.h.

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

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

TODO: is this messed up? looks like the translational part is in the wrong place, need to double check this function!

Definition at line 541 of file mat3.h.

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

template<class T>
T gutz::mat3< T >::norm  )  const
 

Definition at line 532 of file mat3.h.

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

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

Definition at line 402 of file mat3.h.

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

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

Definition at line 385 of file mat3.h.

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

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

Definition at line 366 of file mat3.h.

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

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

Definition at line 322 of file mat3.h.

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

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

Definition at line 301 of file mat3.h.

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

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

Definition at line 339 of file mat3.h.

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

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

Definition at line 281 of file mat3.h.

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

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

Definition at line 357 of file mat3.h.

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

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

Definition at line 348 of file mat3.h.

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

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

Definition at line 291 of file mat3.h.

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

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

Definition at line 375 of file mat3.h.

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

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

Definition at line 311 of file mat3.h.

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

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

Definition at line 486 of file mat3.h.

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

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

Definition at line 479 of file mat3.h.

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

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

Definition at line 580 of file mat3.h.

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

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

Definition at line 573 of file mat3.h.

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

template<class T>
void gutz::mat3< T >::set const T  theta,
const vec3< T > &  v
[inline]
 

Definition at line 452 of file mat3.h.

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

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

Definition at line 441 of file mat3.h.

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

Referenced by gutz::mat3< T >::mat3().

template<class T>
vec2< T > gutz::mat3< T >::tdir const vec2< T > &   )  const [inline]
 

Definition at line 419 of file mat3.h.

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

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

Definition at line 564 of file mat3.h.

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

template<class T>
vec2< T > gutz::mat3< T >::tpoint const vec2< T > &   )  const [inline]
 

Definition at line 411 of file mat3.h.

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

template<class T>
void gutz::mat3< T >::trans const vec2< T > &   )  [inline]
 

Definition at line 595 of file mat3.h.

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

template<class T>
vec2< T > gutz::mat3< T >::trans  )  const [inline]
 

Definition at line 588 of file mat3.h.

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

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

Definition at line 434 of file mat3.h.

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

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

Definition at line 427 of file mat3.h.

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

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

template<class T>
vec3< T > & gutz::mat3< T >::x  )  const [inline]
 

Definition at line 511 of file mat3.h.

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

template<class T>
vec3< T > & gutz::mat3< T >::y  )  const [inline]
 

Definition at line 518 of file mat3.h.

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

template<class T>
vec3< T > & gutz::mat3< T >::z  )  const [inline]
 

Definition at line 525 of file mat3.h.

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

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

Definition at line 493 of file mat3.h.

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


Member Data Documentation

template<class T>
T gutz::mat3< T >::m[9]
 

Definition at line 112 of file mat3.h.

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


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