Biomechanical Joint Model
 Author: Anderson Maciel

COME_Vector3D Class Reference

#include <comevector3d.h>

Inherits COME_Point3D.

Inheritance diagram for COME_Vector3D:

Inheritance graph
[legend]
Collaboration diagram for COME_Vector3D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 COME_Vector3D ()
 COME_Vector3D (double xi, double yi, double zi)
 COME_Vector3D (const COME_Vector3D &)
 COME_Vector3D (const COME_Point3D &)
COME_Vector3Doperator= (const COME_Vector3D &)
COME_Vector3Doperator= (const COME_Point3D &)
int operator== (const COME_Vector3D &)
int operator!= (const COME_Vector3D &)
COME_Point3D operator+ (COME_Point3D) const
COME_Point3D operator- (COME_Point3D)
COME_Vector3D operator+ (const COME_Vector3D &) const
COME_Vector3D operator- (const COME_Vector3D &)
COME_Vector3D operator- ()
COME_Vector3D operator * (const double &) const
COME_Vector3D operator/ (const double &)
COME_Vector3D operator * (const COME_Vector3D &)
COME_Vector3D operator * (const COME_Point3D &)
COME_Vector3D operator * (const COME_Matrix &)
COME_Vector3Doperator+= (const COME_Vector3D &)
COME_Vector3Doperator-= (const COME_Vector3D &)
COME_Vector3Doperator *= (const double &)
COME_Vector3Doperator/= (const double &)
double vpDotProduct (const COME_Vector3D &)
COME_Vector3D vpCrossProduct (const COME_Vector3D &)
double vpModule () const
COME_Vector3D vpNormalize ()
void setVector3D (COME_Point3D p)
void setVector3D (double xx, double yy, double zz)
void getVector3D (double &xx, double &yy, double &zz)
COME_Vector3D getVector3D (void)
COME_Point3D getVectorAsPoint3D (void)
double getVector3DX (void)
double getVector3DY (void)
double getVector3DZ (void)
double maxK (void)
double getAngle (COME_Vector3D &v)
COME_Matrix transMult (COME_Vector3D &v)

Detailed Description

Definition at line 47 of file comevector3d.h.


Constructor & Destructor Documentation

COME_Vector3D::COME_Vector3D void   ) 
 

PROJECT.....: CO-ME RESPONSIBLE.:

AUTHOR......: Anderson Maciel DATE........: April/18/2001 DESCRIPTION.: Class declaration.

Definition at line 43 of file comevector3d.cpp.

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

Referenced by vpNormalize().

COME_Vector3D::COME_Vector3D double  xi,
double  yi,
double  zi
 

Definition at line 56 of file comevector3d.cpp.

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

COME_Vector3D::COME_Vector3D const COME_Vector3D  ) 
 

Definition at line 69 of file comevector3d.cpp.

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

COME_Vector3D::COME_Vector3D const COME_Point3D  ) 
 

Definition at line 80 of file comevector3d.cpp.

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


Member Function Documentation

double COME_Vector3D::getAngle COME_Vector3D v  ) 
 

Definition at line 505 of file comevector3d.cpp.

References M_PI, vpDotProduct(), and vpModule().

Referenced by COME_Molecule::makeLocalFrame().

Here is the call graph for this function:

COME_Vector3D COME_Vector3D::getVector3D void   ) 
 

Definition at line 432 of file comevector3d.cpp.

void COME_Vector3D::getVector3D double &  xx,
double &  yy,
double &  zz
 

Definition at line 420 of file comevector3d.cpp.

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

double COME_Vector3D::getVector3DX void   ) 
 

Definition at line 444 of file comevector3d.cpp.

References COME_Point3D::x.

double COME_Vector3D::getVector3DY void   ) 
 

Definition at line 456 of file comevector3d.cpp.

References COME_Point3D::y.

double COME_Vector3D::getVector3DZ void   ) 
 

Definition at line 469 of file comevector3d.cpp.

References COME_Point3D::z.

COME_Point3D COME_Vector3D::getVectorAsPoint3D void   ) 
 

Definition at line 497 of file comevector3d.cpp.

double COME_Vector3D::maxK void   ) 
 

Definition at line 478 of file comevector3d.cpp.

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

COME_Vector3D COME_Vector3D::operator * const COME_Matrix  ) 
 

Definition at line 240 of file comevector3d.cpp.

References COME_Matrix::getValueAt(), COME_Point3D::x, COME_Point3D::y, and COME_Point3D::z.

Here is the call graph for this function:

COME_Vector3D COME_Vector3D::operator * const COME_Point3D  ) 
 

Definition at line 258 of file comevector3d.cpp.

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

COME_Vector3D COME_Vector3D::operator * const COME_Vector3D  ) 
 

Definition at line 227 of file comevector3d.cpp.

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

COME_Vector3D COME_Vector3D::operator * const double &   )  const
 

Definition at line 216 of file comevector3d.cpp.

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

COME_Vector3D & COME_Vector3D::operator *= const double &   ) 
 

Definition at line 311 of file comevector3d.cpp.

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

int COME_Vector3D::operator!= const COME_Vector3D  ) 
 

Definition at line 139 of file comevector3d.cpp.

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

COME_Vector3D COME_Vector3D::operator+ const COME_Vector3D  )  const
 

Definition at line 181 of file comevector3d.cpp.

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

COME_Point3D COME_Vector3D::operator+ COME_Point3D   )  const
 

Definition at line 156 of file comevector3d.cpp.

References COME_Point3D::getX(), COME_Point3D::getY(), COME_Point3D::getZ(), COME_Point3D::x, COME_Point3D::y, and COME_Point3D::z.

Here is the call graph for this function:

COME_Vector3D & COME_Vector3D::operator+= const COME_Vector3D  ) 
 

Definition at line 284 of file comevector3d.cpp.

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

COME_Vector3D COME_Vector3D::operator-  ) 
 

Definition at line 205 of file comevector3d.cpp.

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

COME_Vector3D COME_Vector3D::operator- const COME_Vector3D  ) 
 

Definition at line 192 of file comevector3d.cpp.

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

COME_Point3D COME_Vector3D::operator- COME_Point3D   ) 
 

Definition at line 170 of file comevector3d.cpp.

References COME_Point3D::getX(), COME_Point3D::getY(), COME_Point3D::getZ(), COME_Point3D::x, COME_Point3D::y, and COME_Point3D::z.

Here is the call graph for this function:

COME_Vector3D & COME_Vector3D::operator-= const COME_Vector3D  ) 
 

Definition at line 298 of file comevector3d.cpp.

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

COME_Vector3D COME_Vector3D::operator/ const double &   ) 
 

Definition at line 272 of file comevector3d.cpp.

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

COME_Vector3D & COME_Vector3D::operator/= const double &   ) 
 

Definition at line 324 of file comevector3d.cpp.

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

COME_Vector3D & COME_Vector3D::operator= const COME_Point3D  ) 
 

Definition at line 105 of file comevector3d.cpp.

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

COME_Vector3D & COME_Vector3D::operator= const COME_Vector3D  ) 
 

Definition at line 91 of file comevector3d.cpp.

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

int COME_Vector3D::operator== const COME_Vector3D  ) 
 

Definition at line 121 of file comevector3d.cpp.

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

void COME_Vector3D::setVector3D double  xx,
double  yy,
double  zz
 

Definition at line 405 of file comevector3d.cpp.

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

void COME_Vector3D::setVector3D COME_Point3D  p  ) 
 

Definition at line 391 of file comevector3d.cpp.

References COME_Point3D::getX(), COME_Point3D::getY(), COME_Point3D::getZ(), COME_Point3D::x, COME_Point3D::y, and COME_Point3D::z.

Referenced by COME_MoleculesBone::derivs(), COME_Mesh::distanceVertexFace(), COME_Tetra::getVolume(), COME_Face::isInside(), COME_Face::isInsideGlobalGOOD(), COME_Face::isInsideGlobalPosition(), COME_Molecule::setPosition(), COME_Collide::treatCollisions(), COME_Face::updateNormal(), and COME_Face::updateNormalGlobalPosition().

Here is the call graph for this function:

COME_Matrix COME_Vector3D::transMult COME_Vector3D v  ) 
 

Definition at line 521 of file comevector3d.cpp.

References COME_Point3D::getX(), COME_Point3D::getY(), COME_Point3D::getZ(), COME_Point3D::x, COME_Point3D::y, and COME_Point3D::z.

Here is the call graph for this function:

COME_Vector3D COME_Vector3D::vpCrossProduct const COME_Vector3D  ) 
 

Definition at line 378 of file comevector3d.cpp.

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

Referenced by COME_Dof::getBim(), and Quaternion::makeFromVecs().

double COME_Vector3D::vpDotProduct const COME_Vector3D  ) 
 

Definition at line 363 of file comevector3d.cpp.

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

Referenced by COME_Collide::addProximities(), COME_Face::distancePointFace(), COME_Face::distancePointFaceGlobal(), COME_Face::distancePointPlaneGlobalPosition(), COME_Face::distanceVertexPlaneGlobalPosition(), COME_Collide::findMaxProjection(), COME_Collide::findMinProjection(), COME_Face::geoSolidAngle(), getAngle(), COME_Face::getClosestPointOnFaceToPoint(), COME_Tetra::getVolume(), COME_Face::intersectionRayTriangle(), COME_Collide::IsInAcceptableRange(), COME_Face::isInside(), COME_Face::isInsideGlobalGOOD(), COME_Face::isInsideGlobalPosition(), Quaternion::makeFromVecs(), COME_Proximity::signedDistance(), COME_Face::signedDistancePointFaceGlobal(), COME_Face::triangleArea(), COME_Proximity::updateVelocity(), and COME_Collide::updateVelocity().

double COME_Vector3D::vpModule  )  const
 

Definition at line 337 of file comevector3d.cpp.

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

Referenced by COME_Vertex3D::addCollisionDisp(), COME_Vertex3D::addVelocityDisp(), COME_Molecule::calculateForce(), COME_Mesh::distanceVertexFace(), COME_Face::geoSolidAngle(), getAngle(), COME_Material::getColorRGB(), COME_Force::getIntensity(), COME_Tetra::getVolume(), COME_Face::triangleArea(), and vpNormalize().

COME_Vector3D COME_Vector3D::vpNormalize  ) 
 

Definition at line 348 of file comevector3d.cpp.

References COME_Vector3D(), vpModule(), COME_Point3D::x, COME_Point3D::y, and COME_Point3D::z.

Referenced by COME_Molecule::createLink(), COME_Face::distancePointFace(), COME_Face::distancePointFaceGlobal(), COME_Mesh::distanceVertexFace(), COME_Collide::findMaxProjection(), COME_Collide::findMinProjection(), COME_Dof::getBim(), COME_Face::getClosestPointOnFaceToPoint(), COME_Force::getDirection(), COME_Tetra::getVolume(), COME_Face::intersectionRayTriangle(), COME_Face::isInside(), COME_Face::isInsideGlobalGOOD(), COME_Face::isInsideGlobalPosition(), Quaternion::makeFromVecs(), COME_Molecule::makeLocalFrame(), COME_Molecule::makeOriginalFrame(), COME_Force::setDirection(), COME_Force::setIntensity(), COME_Face::signedDistancePointFaceGlobal(), COME_Collide::treatCollisions(), COME_Face::triangleArea(), COME_Mechatester::updateEquation(), COME_Face::updateNormal(), COME_Face::updateNormalGlobalPosition(), COME_Proximity::updateVelocity(), and COME_Collide::updateVelocity().

Here is the call graph for this function:


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