![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
Utility force class for sphere_distribution. More...
#include <aims/points_distribution/points_distribution.h>
Public Member Functions | |
ForceFunction () | |
virtual | ~ForceFunction () |
virtual Point3df | force (const Point3df &p1, const Point3df &p2, bool has_link)=0 |
Force between 2 points. More... | |
virtual double | energy (const Point3df &p1, const Point3df &p2, bool has_link)=0 |
Energy of the force between 2 points. More... | |
Utility force class for sphere_distribution.
Individual force and energy between 2 points
Definition at line 64 of file points_distribution.h.
|
inline |
Definition at line 67 of file points_distribution.h.
|
inlinevirtual |
Definition at line 68 of file points_distribution.h.
|
pure virtual |
Energy of the force between 2 points.
Energy functions are the integral of corresponding forces - they are used to drive the minimization.
Implemented in aims::PointsDistribution::CoulombAndRestoringForce, and aims::PointsDistribution::CoulombForce.
Referenced by aims::PointsDistribution::CoulombAndRestoringForce::~CoulombAndRestoringForce(), aims::PointsDistribution::CoulombForce::~CoulombForce(), and ~ForceFunction().
|
pure virtual |
Force between 2 points.
Implemented in aims::PointsDistribution::CoulombAndRestoringForce, and aims::PointsDistribution::CoulombForce.
Referenced by aims::PointsDistribution::CoulombAndRestoringForce::~CoulombAndRestoringForce(), aims::PointsDistribution::CoulombForce::~CoulombForce(), ~ForceFunction(), and aims::PointsDistribution::SphereMove::~SphereMove().