Biomechanical Joint Model
 Author: Anderson Maciel

LinAlg Namespace Reference


Classes

class  HMAT
class  Matrix_
class  QUAT
class  Vector
struct  idx3
class  VECArray

Typedefs

typedef Matrix_ MAT
typedef Vector VEC

Functions

HMAT inverse (const HMAT &A)
Matrix_ operator+ (const Matrix_ &A, const Matrix_ &B)
Matrix_ operator- (const Matrix_ &A, const Matrix_ &B)
Matrix_ operator- (const Matrix_ &A)
Matrix_ operator * (const Matrix_ &A, const Matrix_ &B)
Matrix_ operator * (const Matrix_ &A, double s)
Matrix_ operator * (double s, const Matrix_ &A)
bool operator== (const Matrix_ &A, const Matrix_ &B)
bool operator!= (const Matrix_ &A, const Matrix_ &B)
Matrix_ transpose (const Matrix_ &A)
Matrix_ inverse (const Matrix_ &A)
std::ostream & operator<< (std::ostream &s, const Matrix_ &A)
QUAT operator * (const QUAT &left, const QUAT &right)
std::ostream & operator<< (std::ostream &s, const Vector &A)
Vector operator+ (const Vector &A, const Vector &B)
Vector operator- (const Vector &A, const Vector &B)
Vector operator * (const Vector &A, const Vector &B)
Vector operator * (const Vector &A, double s)
Vector operator * (double s, const Vector &A)
Vector operator/ (const Vector &A, double s)
bool operator== (const Vector &A, const Vector &B)
bool operator!= (const Vector &A, const Vector &B)
bool operator>= (const Vector &A, const Vector &B)
bool operator<= (const Vector &A, const Vector &B)
bool operator> (const Vector &A, const Vector &B)
bool operator< (const Vector &A, const Vector &B)
double dot_prod (const Vector &A, const Vector &B)
Vector cross_prod (const Vector &A, const Vector &B)
double angle_between (const Vector &A, const Vector &B)
VectorSqrt (Vector &A)
Vectorabs (Vector &A)
Vector operator- (const Vector &A)
idx3 operator+ (const idx3 &id1, const idx3 &id2)
idx3 operator- (const idx3 &id1, const idx3 &id2)
bool operator< (const idx3 &id1, const idx3 &id2)
bool operator> (const idx3 &id1, const idx3 &id2)
std::ostream & operator<< (std::ostream &s, const idx3 &id)
VECArray operator+ (const VECArray &A, const VECArray &B)
VECArray operator- (const VECArray &A, const VECArray &B)
VECArray operator * (const VECArray &A, double s)
VECArray operator * (double s, const VECArray &A)
VECArray operator/ (const VECArray &A, double s)
VECArray operator- (const VECArray &A)
std::ostream & operator<< (std::ostream &s, const VECArray &A)
VECArrayabs (VECArray &A)

Variables

const double epsilon = 1E-8
const double infinity = 1E16
const int dimspace = 3


Typedef Documentation

typedef Matrix_ LinAlg::MAT
 

Definition at line 106 of file mat.h.

typedef Vector LinAlg::VEC
 

Definition at line 118 of file vec.h.


Function Documentation

VECArray & LinAlg::abs VECArray &  A  )  [inline]
 

Definition at line 370 of file vecarray.h.

References abs(), LinAlg::VECArray::size(), and LinAlg::VECArray::vv.

Here is the call graph for this function:

Vector & LinAlg::abs Vector A  )  [inline]
 

Definition at line 698 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Referenced by abs(), main(), and LinAlg::HMAT::makeVecRotVec().

double LinAlg::angle_between const Vector A,
const Vector B
[inline]
 

Definition at line 593 of file vec.h.

References dot_prod(), and LinAlg::Vector::normalize().

Here is the call graph for this function:

Vector LinAlg::cross_prod const Vector A,
const Vector B
[inline]
 

Definition at line 604 of file vec.h.

References LinAlg::Vector::n_.

Referenced by MetaballsTriangle::EuclidDistFromTriangle(), intersect_triangle(), LinAlg::HMAT::makeVecRotVec(), and project_on_mesh().

double LinAlg::dot_prod const Vector A,
const Vector B
[inline]
 

Definition at line 578 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Referenced by angle_between(), MetaballsTriangle::EuclidDistFromTriangle(), intersect_triangle(), main(), and LinAlg::HMAT::makeVecRotVec().

Matrix_ LinAlg::inverse const Matrix_ &  A  )  [inline]
 

Definition at line 389 of file mat.h.

References LinAlg::Matrix_::col(), LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Here is the call graph for this function:

HMAT LinAlg::inverse const HMAT &  A  )  [inline]
 

Definition at line 171 of file hmat.h.

References LinAlg::HMAT::getTranslation(), and LinAlg::Matrix_::v_.

Here is the call graph for this function:

VECArray LinAlg::operator * double  s,
const VECArray &  A
[inline]
 

Definition at line 348 of file vecarray.h.

VECArray LinAlg::operator * const VECArray &  A,
double  s
[inline]
 

Definition at line 341 of file vecarray.h.

Vector LinAlg::operator * double  s,
const Vector A
[inline]
 

Definition at line 558 of file vec.h.

Vector LinAlg::operator * const Vector A,
double  s
[inline]
 

Definition at line 544 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Vector LinAlg::operator * const Vector A,
const Vector B
[inline]
 

Definition at line 217 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

QUAT LinAlg::operator * const QUAT &  left,
const QUAT &  right
 

Definition at line 82 of file quat.cpp.

References QUAT_W, QUAT_X, QUAT_Y, and QUAT_Z.

Matrix_ LinAlg::operator * double  s,
const Matrix_ &  A
[inline]
 

Definition at line 505 of file mat.h.

Matrix_ LinAlg::operator * const Matrix_ &  A,
double  s
[inline]
 

Definition at line 497 of file mat.h.

Matrix_ LinAlg::operator * const Matrix_ &  A,
const Matrix_ &  B
[inline]
 

Definition at line 469 of file mat.h.

References LinAlg::Matrix_::col(), K, LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Here is the call graph for this function:

bool LinAlg::operator!= const Vector A,
const Vector B
[inline]
 

Definition at line 631 of file vec.h.

bool LinAlg::operator!= const Matrix_ &  A,
const Matrix_ &  B
[inline]
 

Definition at line 526 of file mat.h.

VECArray LinAlg::operator+ const VECArray &  A,
const VECArray &  B
[inline]
 

Definition at line 327 of file vecarray.h.

idx3 LinAlg::operator+ const idx3 &  id1,
const idx3 &  id2
[inline]
 

Definition at line 146 of file vecarray.h.

References LinAlg::idx3::i, LinAlg::idx3::j, and LinAlg::idx3::k.

Vector LinAlg::operator+ const Vector A,
const Vector B
[inline]
 

Definition at line 498 of file vec.h.

References LinAlg::Vector::dim(), and LinAlg::Vector::v_.

Here is the call graph for this function:

Matrix_ LinAlg::operator+ const Matrix_ &  A,
const Matrix_ &  B
[inline]
 

Definition at line 421 of file mat.h.

References LinAlg::Matrix_::col(), LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Here is the call graph for this function:

VECArray LinAlg::operator- const VECArray &  A  )  [inline]
 

Definition at line 363 of file vecarray.h.

VECArray LinAlg::operator- const VECArray &  A,
const VECArray &  B
[inline]
 

Definition at line 334 of file vecarray.h.

idx3 LinAlg::operator- const idx3 &  id1,
const idx3 &  id2
[inline]
 

Definition at line 153 of file vecarray.h.

References LinAlg::idx3::i, LinAlg::idx3::j, and LinAlg::idx3::k.

Vector LinAlg::operator- const Vector A  )  [inline]
 

Definition at line 530 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Vector LinAlg::operator- const Vector A,
const Vector B
[inline]
 

Definition at line 513 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Matrix_ LinAlg::operator- const Matrix_ &  A  )  [inline]
 

Definition at line 455 of file mat.h.

References LinAlg::Matrix_::col(), LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Here is the call graph for this function:

Matrix_ LinAlg::operator- const Matrix_ &  A,
const Matrix_ &  B
[inline]
 

Definition at line 437 of file mat.h.

References LinAlg::Matrix_::col(), LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Referenced by LinAlg::idx3::operator[]().

Here is the call graph for this function:

VECArray LinAlg::operator/ const VECArray &  A,
double  s
[inline]
 

Definition at line 355 of file vecarray.h.

Vector LinAlg::operator/ const Vector A,
double  s
[inline]
 

Definition at line 564 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

bool LinAlg::operator< const idx3 &  id1,
const idx3 &  id2
[inline]
 

Definition at line 160 of file vecarray.h.

References LinAlg::idx3::i, LinAlg::idx3::j, and LinAlg::idx3::k.

bool LinAlg::operator< const Vector A,
const Vector B
[inline]
 

Definition at line 674 of file vec.h.

References LinAlg::Vector::n_, REAL, and LinAlg::Vector::v_.

Referenced by LinAlg::VECArray::operator<(), and LinAlg::idx3::operator[]().

std::ostream & LinAlg::operator<< std::ostream &  s,
const VECArray &  A
[inline]
 

Definition at line 315 of file vecarray.h.

References LinAlg::Vector::dim(), and LinAlg::VECArray::k_.

Here is the call graph for this function:

std::ostream & LinAlg::operator<< std::ostream &  s,
const idx3 &  id
[inline]
 

Definition at line 170 of file vecarray.h.

std::ostream & LinAlg::operator<< std::ostream &  s,
const Vector A
[inline]
 

Definition at line 484 of file vec.h.

References LinAlg::Vector::dim().

Here is the call graph for this function:

std::ostream & LinAlg::operator<< std::ostream &  s,
const Matrix_ &  A
[inline]
 

Definition at line 546 of file mat.h.

References LinAlg::Matrix_::col(), LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Referenced by LinAlg::idx3::operator[]().

Here is the call graph for this function:

bool LinAlg::operator<= const Vector A,
const Vector B
[inline]
 

Definition at line 648 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Referenced by LinAlg::VECArray::operator<=().

bool LinAlg::operator== const Vector A,
const Vector B
[inline]
 

Definition at line 617 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

bool LinAlg::operator== const Matrix_ &  A,
const Matrix_ &  B
[inline]
 

Definition at line 512 of file mat.h.

References LinAlg::Matrix_::col(), LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Here is the call graph for this function:

bool LinAlg::operator> const idx3 &  id1,
const idx3 &  id2
[inline]
 

Definition at line 165 of file vecarray.h.

References LinAlg::idx3::i, LinAlg::idx3::j, and LinAlg::idx3::k.

bool LinAlg::operator> const Vector A,
const Vector B
[inline]
 

Definition at line 659 of file vec.h.

References LinAlg::Vector::n_, REAL, and LinAlg::Vector::v_.

Referenced by LinAlg::VECArray::operator>(), and LinAlg::idx3::operator[]().

bool LinAlg::operator>= const Vector A,
const Vector B
[inline]
 

Definition at line 637 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Referenced by LinAlg::VECArray::operator>=().

Vector & LinAlg::Sqrt Vector A  )  [inline]
 

Definition at line 689 of file vec.h.

References LinAlg::Vector::n_, and LinAlg::Vector::v_.

Matrix_ LinAlg::transpose const Matrix_ &  A  )  [inline]
 

Definition at line 532 of file mat.h.

References LinAlg::Matrix_::row(), and LinAlg::Matrix_::v_.

Referenced by geom::svd_invert().

Here is the call graph for this function:


Variable Documentation

const int LinAlg::dimspace = 3
 

Definition at line 16 of file vec.h.

Referenced by BBox::intersectedBy(), main(), and project_on_mesh().

const double LinAlg::epsilon = 1E-8
 

Definition at line 14 of file vec.h.

Referenced by ImplicitPrimitive::findIntersection(), Ellipsoids::findIntersection(), Mesh::getDistance(), Ellipsoids::getDistance(), intersect_triangle(), ImplicitPrimitive::intersectedBy(), Metaballs_Shen::intersectedBy(), BBox::intersectedBy(), marchingCubes::marchingCubes(), LinAlg::Vector::normalize(), LinAlg::QUAT::QUAT(), and LinAlg::QUAT::slerp().

const double LinAlg::infinity = 1E16
 

Definition at line 15 of file vec.h.

Referenced by find_closest(), marchingCubes::findSeedVoxel(), Ellipsoids::getDistance(), Mesh::intersectedBy(), and Ellipsoids::intersectedBy().


Generated on Thu Dec 1 10:14:45 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5