Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

mat3 Struct Reference

#include <nv_algebra.h>

List of all members.

Public Member Functions

 mat3 ()
 mat3 (const nv_scalar *array)
 mat3 (const mat3 &M)
 mat3 (const nv_scalar &f0, const nv_scalar &f1, const nv_scalar &f2, const nv_scalar &f3, const nv_scalar &f4, const nv_scalar &f5, const nv_scalar &f6, const nv_scalar &f7, const nv_scalar &f8)
const vec3 col (const int i) const
const vec3 operator[] (int i) const
const nv_scalar & operator() (const int &i, const int &j) const
nv_scalar & operator() (const int &i, const int &j)
void set_row (int i, const vec3 &v)
void set_col (int i, const vec3 &v)
void set_rot (const nv_scalar &theta, const vec3 &v)
void set_rot (const vec3 &u, const vec3 &v)


Detailed Description

Definition at line 327 of file nv_algebra.h.


Constructor & Destructor Documentation

mat3::mat3 (   ) 
 

Definition at line 24 of file nv_algebra.cpp.

mat3::mat3 (  const nv_scalar *  array  ) 
 

Definition at line 28 of file nv_algebra.cpp.

References mat_array.

mat3::mat3 (  const mat3 &  M  ) 
 

Definition at line 33 of file nv_algebra.cpp.

References mat_array.

mat3::mat3 (  const nv_scalar &  f0,
const nv_scalar &  f1,
const nv_scalar &  f2,
const nv_scalar &  f3,
const nv_scalar &  f4,
const nv_scalar &  f5,
const nv_scalar &  f6,
const nv_scalar &  f7,
const nv_scalar &  f8
)  [inline]
 

Definition at line 332 of file nv_algebra.h.


Member Function Documentation

const vec3 mat3::col (  const int  i  )  const [inline]
 

Definition at line 339 of file nv_algebra.h.

nv_scalar& mat3::operator() (  const int &  i,
const int &  j
)  [inline]
 

Definition at line 354 of file nv_algebra.h.

const nv_scalar& mat3::operator() (  const int &  i,
const int &  j
)  const [inline]
 

Definition at line 349 of file nv_algebra.h.

const vec3 mat3::operator[] (  int  i  )  const [inline]
 

Definition at line 344 of file nv_algebra.h.

void mat3::set_col (  int  i,
const vec3 &  v
)  [inline]
 

Definition at line 366 of file nv_algebra.h.

References vec3::x, vec3::y, and vec3::z.

void mat3::set_rot (  const vec3 &  u,
const vec3 &  v
) 
 

Definition at line 1011 of file nv_algebra.cpp.

References a00, a01, a02, a10, a11, a12, a20, a21, a22, cross(), dot(), nv_eps, nv_one, vec3::x, vec3::y, and vec3::z.

Here is the call graph for this function:

void mat3::set_rot (  const nv_scalar &  theta,
const vec3 &  v
) 
 

Definition at line 986 of file nv_algebra.cpp.

References a00, a01, a02, a10, a11, a12, a20, a21, a22, vec3::x, vec3::y, and vec3::z.

void mat3::set_row (  int  i,
const vec3 &  v
)  [inline]
 

Definition at line 359 of file nv_algebra.h.

References vec3::x, vec3::y, and vec3::z.


Member Data Documentation

nv_scalar mat3::a00
 

Definition at line 378 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a01
 

Definition at line 379 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a02
 

Definition at line 380 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a10
 

Definition at line 378 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a11
 

Definition at line 379 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a12
 

Definition at line 380 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a20
 

Definition at line 378 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a21
 

Definition at line 379 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::a22
 

Definition at line 380 of file nv_algebra.h.

Referenced by add(), det(), mat4::get_rot(), invert(), mult(), operator *(), mat4::set_rot(), set_rot(), tangent_basis(), and transpose().

nv_scalar mat3::mat_array[9]
 

Definition at line 382 of file nv_algebra.h.

Referenced by mat3().


The documentation for this struct was generated from the following files:
Generated on Thu Apr 6 15:39:21 2006 for rcssserver3d by  doxygen 1.4.4