- Main Page
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# 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:

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:

- chai3d/src/scenegraph/CGenericPotentialField.h
- chai3d/src/scenegraph/CGenericPotentialField.cpp