Biomechanical Joint Model
 Author: Anderson Maciel

COME_Matrix Class Reference

#include <comematrix.h>

Inherits COME.

Inheritance diagram for COME_Matrix:

Inheritance graph
[legend]
Collaboration diagram for COME_Matrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 COME_Matrix ()
 COME_Matrix (double[])
 COME_Matrix (double[][4])
 ~COME_Matrix ()
void setValueAt (int, int, double)
void setMatrix (const COME_Matrix &matrixN)
double getValueAt (int, int) const
const double ** getMatrixD (void)
void getMatrixD (double **)
double * getMatrixVD (void)
COME_Matrix getInverse (void)
COME_Matrix getTransposed (void)
double getDeterminent (void)
COME_MatrixmultiplyScalar (double)
COME_Matrixmultiply (COME_Matrix)
COME_Matrixsubtract (COME_Matrix)
COME_Matrixadd (COME_Matrix)
COME_Point3Dmultiply (COME_Point3D)
void reset ()
COME_Matrixoperator+= (const COME_Matrix &mO)
COME_Matrix operator+ (const COME_Matrix &mO)
COME_Matrix operator * (double scalar)
COME_Matrix operator * (const COME_Matrix &mO)
COME_Vector3D operator * (COME_Vector3D &pO)
COME_Point3D operator * (const COME_Point3D &pO)
COME_Vertex3D operator * (const COME_Vertex3D &vO)

Protected Member Functions

COME_Matrix getAdjoint (void)
double getDet33 (double, double, double, double, double, double, double, double, double)
double getDet22 (double, double, double, double)

Private Attributes

double data [4][4]

Detailed Description

Definition at line 56 of file comematrix.h.


Constructor & Destructor Documentation

COME_Matrix::COME_Matrix  ) 
 

Definition at line 26 of file comematrix.cpp.

References data.

Referenced by add(), multiply(), multiplyScalar(), and subtract().

COME_Matrix::COME_Matrix double  []  ) 
 

Definition at line 37 of file comematrix.cpp.

References data.

COME_Matrix::COME_Matrix double  [][4]  ) 
 

Definition at line 46 of file comematrix.cpp.

References data.

COME_Matrix::~COME_Matrix  ) 
 

Definition at line 56 of file comematrix.cpp.


Member Function Documentation

COME_Matrix * COME_Matrix::add COME_Matrix   ) 
 

Definition at line 398 of file comematrix.cpp.

References COME_Matrix(), data, and setValueAt().

Here is the call graph for this function:

COME_Matrix COME_Matrix::getAdjoint void   )  [protected]
 

Definition at line 182 of file comematrix.cpp.

References data, getDet33(), and setValueAt().

Referenced by getInverse().

Here is the call graph for this function:

double COME_Matrix::getDet22 double  ,
double  ,
double  ,
double 
[protected]
 

Definition at line 281 of file comematrix.cpp.

Referenced by getDet33().

double COME_Matrix::getDet33 double  ,
double  ,
double  ,
double  ,
double  ,
double  ,
double  ,
double  ,
double 
[protected]
 

Definition at line 262 of file comematrix.cpp.

References getDet22().

Referenced by getAdjoint(), and getDeterminent().

Here is the call graph for this function:

double COME_Matrix::getDeterminent void   ) 
 

Definition at line 228 of file comematrix.cpp.

References data, and getDet33().

Referenced by getInverse().

Here is the call graph for this function:

COME_Matrix COME_Matrix::getInverse void   ) 
 

Definition at line 132 of file comematrix.cpp.

References getAdjoint(), and getDeterminent().

Referenced by COME_MoleculesBone::derivs().

Here is the call graph for this function:

void COME_Matrix::getMatrixD double **   ) 
 

Definition at line 99 of file comematrix.cpp.

References data.

const double ** COME_Matrix::getMatrixD void   ) 
 

Definition at line 83 of file comematrix.cpp.

References data.

double * COME_Matrix::getMatrixVD void   ) 
 

Definition at line 111 of file comematrix.cpp.

References data.

COME_Matrix COME_Matrix::getTransposed void   ) 
 

Definition at line 155 of file comematrix.cpp.

References data.

Referenced by COME_MoleculesBone::derivs().

double COME_Matrix::getValueAt int  ,
int 
const
 

Definition at line 61 of file comematrix.cpp.

References data.

Referenced by COME_Joint::getVectorX(), COME_Joint::getVectorY(), COME_Joint::getVectorZ(), multiply(), COME_Vector3D::operator *(), operator *(), operator+(), operator+=(), setMatrix(), and COME_MoleculesBone::updateInertiaTensor().

COME_Point3D * COME_Matrix::multiply COME_Point3D   ) 
 

Definition at line 412 of file comematrix.cpp.

References data, and COME_Point3D::setXYZ().

Here is the call graph for this function:

COME_Matrix * COME_Matrix::multiply COME_Matrix   ) 
 

Definition at line 308 of file comematrix.cpp.

References COME_Matrix(), data, getValueAt(), and setValueAt().

Here is the call graph for this function:

COME_Matrix * COME_Matrix::multiplyScalar double   ) 
 

Definition at line 291 of file comematrix.cpp.

References COME_Matrix(), data, and setValueAt().

Here is the call graph for this function:

COME_Vertex3D COME_Matrix::operator * const COME_Vertex3D vO  ) 
 

Definition at line 594 of file comematrix.cpp.

References data, COME_Point3D::getX(), COME_Point3D::getY(), and COME_Point3D::getZ().

Here is the call graph for this function:

COME_Point3D COME_Matrix::operator * const COME_Point3D pO  ) 
 

Definition at line 576 of file comematrix.cpp.

References data, COME_Point3D::getX(), COME_Point3D::getY(), and COME_Point3D::getZ().

Here is the call graph for this function:

COME_Vector3D COME_Matrix::operator * COME_Vector3D pO  ) 
 

Definition at line 559 of file comematrix.cpp.

References data, COME_Point3D::getX(), COME_Point3D::getY(), and COME_Point3D::getZ().

Here is the call graph for this function:

COME_Matrix COME_Matrix::operator * const COME_Matrix mO  ) 
 

Definition at line 481 of file comematrix.cpp.

References data, and getValueAt().

Here is the call graph for this function:

COME_Matrix COME_Matrix::operator * double  scalar  ) 
 

Definition at line 467 of file comematrix.cpp.

References data.

COME_Matrix COME_Matrix::operator+ const COME_Matrix mO  ) 
 

Definition at line 453 of file comematrix.cpp.

References data, and getValueAt().

Here is the call graph for this function:

COME_Matrix & COME_Matrix::operator+= const COME_Matrix mO  ) 
 

Definition at line 442 of file comematrix.cpp.

References data, and getValueAt().

Here is the call graph for this function:

void COME_Matrix::reset  ) 
 

Definition at line 432 of file comematrix.cpp.

References data.

Referenced by COME_MoleculesBone::updateInertiaTensor().

void COME_Matrix::setMatrix const COME_Matrix matrixN  ) 
 

Definition at line 73 of file comematrix.cpp.

References data, and getValueAt().

Here is the call graph for this function:

void COME_Matrix::setValueAt int  ,
int  ,
double 
 

Definition at line 67 of file comematrix.cpp.

References data.

Referenced by add(), getAdjoint(), COME_Molecule::makeLocalFrame(), multiply(), multiplyScalar(), subtract(), and COME_MoleculesBone::updateInertiaTensor().

COME_Matrix * COME_Matrix::subtract COME_Matrix   ) 
 

Definition at line 384 of file comematrix.cpp.

References COME_Matrix(), data, and setValueAt().

Here is the call graph for this function:


Member Data Documentation

double COME_Matrix::data[4][4] [private]
 

Definition at line 60 of file comematrix.h.

Referenced by add(), COME_Matrix(), getAdjoint(), getDeterminent(), getMatrixD(), getMatrixVD(), getTransposed(), getValueAt(), multiply(), multiplyScalar(), operator *(), operator+(), operator+=(), reset(), setMatrix(), setValueAt(), and subtract().


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