Biomechanical Joint Model
 Author: Anderson Maciel

LinAlg::HMAT Class Reference

#include <hmat.h>

Inherits LinAlg::Matrix_.

Inheritance diagram for LinAlg::HMAT:

Inheritance graph
[legend]
Collaboration diagram for LinAlg::HMAT:

Collaboration graph
[legend]
List of all members.

Public Types

typedef float MatriX [4][4]

Public Member Functions

 HMAT (const HMAT &A)
 HMAT (const REAL &value=REAL(0))
 HMAT (const MatriX mat)
 HMAT (const MAT &rot, const VEC &trans)
void setIdt ()
VEC getColumn (int i) const
VEC getRow (int i) const
VEC getTranslation () const
void setColumn (int i, const VEC &V)
void setRow (int i, const VEC &V)
void setTranslation (const VEC &trans)
virtual VEC operator * (const VEC &V) const
VEC fullMult (const VEC &V) const
VEC mult (const VEC &V) const
 operator MatriX & ()

Static Public Member Functions

static HMAT getIdentity ()
static void makeVecRotVec (HMAT &mat, const VEC &v0, const VEC &v1)

Private Attributes

MatriX mx

Friends

HMAT inverse (const HMAT &A)

Detailed Description

Definition at line 12 of file hmat.h.


Member Typedef Documentation

typedef float LinAlg::HMAT::MatriX[4][4]
 

Definition at line 15 of file hmat.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file hmat.h.

LinAlg::HMAT::HMAT const REAL &  value = REAL(0)  )  [inline, explicit]
 

Definition at line 49 of file hmat.h.

LinAlg::HMAT::HMAT const MatriX  mat  )  [inline]
 

Definition at line 53 of file hmat.h.

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

Here is the call graph for this function:

LinAlg::HMAT::HMAT const MAT rot,
const VEC trans
[inline]
 

Definition at line 61 of file hmat.h.

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

Here is the call graph for this function:


Member Function Documentation

VEC LinAlg::HMAT::fullMult const VEC V  )  const [inline]
 

Definition at line 142 of file hmat.h.

References operator *().

Referenced by ray_intersect_primitive().

Here is the call graph for this function:

VEC LinAlg::HMAT::getColumn int  i  )  const [inline]
 

Definition at line 85 of file hmat.h.

References LinAlg::Matrix_::v_.

Referenced by getTranslation().

HMAT LinAlg::HMAT::getIdentity  )  [inline, static]
 

Definition at line 77 of file hmat.h.

References LinAlg::Matrix_::addToDiagonal().

Here is the call graph for this function:

VEC LinAlg::HMAT::getRow int  i  )  const [inline]
 

Definition at line 97 of file hmat.h.

References LinAlg::Matrix_::v_.

VEC LinAlg::HMAT::getTranslation  )  const [inline]
 

Definition at line 109 of file hmat.h.

References getColumn().

Referenced by LinAlg::inverse().

Here is the call graph for this function:

void LinAlg::HMAT::makeVecRotVec HMAT mat,
const VEC v0,
const VEC v1
[static]
 

Definition at line 14 of file hmat.cpp.

References LinAlg::abs(), LinAlg::cross_prod(), LinAlg::dot_prod(), LinAlg::Vector::norm(), LinAlg::Vector::normalize(), REAL, and setIdt().

Here is the call graph for this function:

VEC LinAlg::HMAT::mult const VEC V  )  const [inline]
 

Definition at line 147 of file hmat.h.

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

Referenced by ray_intersect_primitive().

Here is the call graph for this function:

VEC LinAlg::HMAT::operator * const VEC V  )  const [virtual]
 

Reimplemented from LinAlg::Matrix_.

Definition at line 6 of file hmat.cpp.

References LinAlg::Vector::dim(), and operator *().

Referenced by fullMult().

Here is the call graph for this function:

LinAlg::HMAT::operator HMAT::MatriX &  )  [inline]
 

Definition at line 161 of file hmat.h.

References mx, and LinAlg::Matrix_::v_.

void LinAlg::HMAT::setColumn int  i,
const VEC V
[inline]
 

Definition at line 114 of file hmat.h.

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

Referenced by setTranslation().

Here is the call graph for this function:

void LinAlg::HMAT::setIdt  )  [inline]
 

Definition at line 24 of file hmat.h.

References LinAlg::Matrix_::addToDiagonal(), and LinAlg::Matrix_::set().

Referenced by makeVecRotVec().

Here is the call graph for this function:

void LinAlg::HMAT::setRow int  i,
const VEC V
[inline]
 

Definition at line 125 of file hmat.h.

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

Here is the call graph for this function:

void LinAlg::HMAT::setTranslation const VEC trans  )  [inline]
 

Definition at line 136 of file hmat.h.

References setColumn().

Here is the call graph for this function:


Friends And Related Function Documentation

HMAT inverse const HMAT A  )  [friend]
 

Definition at line 171 of file hmat.h.


Member Data Documentation

MatriX LinAlg::HMAT::mx [private]
 

Definition at line 44 of file hmat.h.

Referenced by operator MatriX &().


The documentation for this class was generated from the following files:
Generated on Thu Dec 1 10:14:45 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5