cGenericPotentialField Class Reference

cGenericPotentialField describes a generic class to create objects which are describe by implicit functions More...

#include <CGenericPotentialField.h>

Inheritance diagram for cGenericPotentialField:

cGenericObject cShapeSphere cShapeTorus List of all members.

Public Member Functions

 cGenericPotentialField ()
 Constructor of cGenericPotentialField.
virtual ~cGenericPotentialField ()
 Destructor of cGenericPotentialField.
virtual cVector3d computeForces (const cVector3d &a_probePosition)
 Compute interaction forces between a probe and this object, descending through child objects.

Protected Member Functions

virtual cVector3d computeLocalForce (const cVector3d &a_localProbePosition)
 Compute the interaction force for this object in its local frame.

Protected Attributes

cVector3d m_globalForce
 Force.

Detailed Description

cGenericPotentialField describes a generic class to create objects which are describe by implicit functions


Member Function Documentation

cVector3d cGenericPotentialField::computeForces ( const cVector3d a_probePosition  )  [virtual]

Compute interaction forces between a probe and this object, descending through child objects.

Compute interaction forces between a probe and this object, descending through child objects

Parameters:
a_probePosition Position of the probe in my parent's coordinate frame
Returns:
Returns the computed force in my parent's coordinate frame

Reimplemented from cGenericObject.


The documentation for this class was generated from the following files:
Generated on Mon Jun 11 09:41:47 2007 for CHAI 3D by  doxygen 1.5.2