Biomechanical Joint Model
 Author: Anderson Maciel

COME_Force Class Reference

#include <comeforce.h>

Inherits COME.

Inherited by COME_TimeForce.

Inheritance diagram for COME_Force:

Inheritance graph
[legend]
Collaboration diagram for COME_Force:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 COME_Force ()
 COME_Force (double x, double y, double z)
 COME_Force (const COME_Vector3D &vectorN)
 COME_Force (COME_Point3D &pointN)
virtual ~COME_Force ()
void setIntensity (float intensityN)
void setDirection (COME_Vector3D &directionN)
void setForceVector (COME_Vector3D &vectorN)
double getIntensity ()
COME_Vector3DgetDirection () const
COME_Vector3D getForceVector () const
COME_Force operator+ (const COME_Force &f)
COME_Force operator- (const COME_Force &f)
COME_Force operator/ (const double &f)

Protected Attributes

COME_Vector3D force

Detailed Description

Definition at line 43 of file comeforce.h.


Constructor & Destructor Documentation

COME_Force::COME_Force  ) 
 

Definition at line 42 of file comeforce.cpp.

References force.

COME_Force::COME_Force double  x,
double  y,
double  z
 

Definition at line 47 of file comeforce.cpp.

References force.

COME_Force::COME_Force const COME_Vector3D vectorN  ) 
 

Definition at line 52 of file comeforce.cpp.

References force.

COME_Force::COME_Force COME_Point3D pointN  ) 
 

Definition at line 57 of file comeforce.cpp.

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

Here is the call graph for this function:

COME_Force::~COME_Force  )  [virtual]
 

Definition at line 62 of file comeforce.cpp.


Member Function Documentation

COME_Vector3D * COME_Force::getDirection  )  const
 

Definition at line 95 of file comeforce.cpp.

References force, and COME_Vector3D::vpNormalize().

Here is the call graph for this function:

COME_Vector3D COME_Force::getForceVector  )  const
 

Definition at line 104 of file comeforce.cpp.

References force.

Referenced by COME_Molecule::derivs(), operator+(), and operator-().

double COME_Force::getIntensity  ) 
 

Definition at line 89 of file comeforce.cpp.

References force, and COME_Vector3D::vpModule().

Referenced by setDirection(), and COME_Molecule::setIfGreaterCollisionForce().

Here is the call graph for this function:

COME_Force COME_Force::operator+ const COME_Force f  ) 
 

Definition at line 110 of file comeforce.cpp.

References force, and getForceVector().

Here is the call graph for this function:

COME_Force COME_Force::operator- const COME_Force f  ) 
 

Definition at line 117 of file comeforce.cpp.

References force, and getForceVector().

Here is the call graph for this function:

COME_Force COME_Force::operator/ const double &  f  ) 
 

Definition at line 124 of file comeforce.cpp.

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

Here is the call graph for this function:

void COME_Force::setDirection COME_Vector3D directionN  ) 
 

Definition at line 75 of file comeforce.cpp.

References getIntensity(), and COME_Vector3D::vpNormalize().

Here is the call graph for this function:

void COME_Force::setForceVector COME_Vector3D vectorN  ) 
 

Definition at line 83 of file comeforce.cpp.

References force, COME_Point3D::getX(), COME_Point3D::getY(), COME_Point3D::getZ(), and COME_Point3D::setXYZ().

Here is the call graph for this function:

void COME_Force::setIntensity float  intensityN  ) 
 

Definition at line 68 of file comeforce.cpp.

References force, and COME_Vector3D::vpNormalize().

Here is the call graph for this function:


Member Data Documentation

COME_Vector3D COME_Force::force [protected]
 

Definition at line 46 of file comeforce.h.

Referenced by COME_Force(), COME_TimeForce::COME_TimeForce(), getDirection(), getForceVector(), getIntensity(), operator+(), operator-(), operator/(), setForceVector(), and setIntensity().


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