#include "PotentialFunctions.h"
#include "PfieldDatatypes.h"
#include "PfieldGeometry.h"
Include dependency graph for PotentialFunctions.cpp:
Go to the source code of this file.
Functions | |
double | computeChargeForPointfield (const PfPose &objectPose, const PfPose &testedPose, PotentialfieldFunction *function) |
Computes the charge at a position in a Pointfield. | |
double | computeChargeForShapefield (const PfPose &objectPose, const PfPose &testedPose, PotentialfieldFunction *function, PfieldGeometricObject *geometry) |
Computes the charge at a position in a Shapefield. | |
double | computeChargeForSectorfield (const PfPose &objectPose, const PfPose &testedPose, PotentialfieldFunction *function, const Sector §or) |
Computes the charge at a position in a Sectorfield. | |
PfVec | computeGradientForPointfield (const PfPose &objectPose, const PfPose &testedPose, PotentialfieldFunction *function) |
Computes the gradient at a position in a Pointfield. | |
PfVec | computeGradientForShapefield (const PfPose &objectPose, const PfPose &testedPose, PotentialfieldFunction *function, PfieldGeometricObject *geometry, ObjectType objectType) |
Computes the gradient at a position in a Shapefield. | |
PfVec | computeGradientForSectorfield (const PfPose &objectPose, const PfPose &testedPose, PotentialfieldFunction *function, const Sector §or) |
Computes the gradient at a position in a Sectorfield. |
Definition in file PotentialFunctions.cpp.
|
Computes the charge at a position in a Pointfield.
Definition at line 77 of file PotentialFunctions.cpp. References PotentialfieldFunction::computeValue(), PfVec::distanceTo(), and PfPose::pos. Referenced by Object::computeChargeForSinglePose(). |
Here is the call graph for this function:
|
Computes the charge at a position in a Shapefield.
Definition at line 85 of file PotentialFunctions.cpp. References PotentialfieldFunction::computeValue(), PfieldGeometricObject::distanceTo(), and PfPose::pos. Referenced by Object::computeChargeForSinglePose(). |
Here is the call graph for this function:
|
Computes the charge at a position in a Sectorfield.
Definition at line 102 of file PotentialFunctions.cpp. References PotentialfieldFunction::computeValue(), Sector::crossFunction, PfVec::distanceTo(), PfPose::getAngleTo(), PotentialfieldFunction::getRange(), Sector::openingAngle, Sector::pointInside(), PfPose::pos, and PotentialfieldFunction::setParameters(). Referenced by Object::computeChargeForSinglePose(). |
Here is the call graph for this function:
|
Computes the gradient at a position in a Pointfield.
Definition at line 119 of file PotentialFunctions.cpp. References PotentialfieldFunction::computeDerivativeValue(), PfVec::length(), PfVec::normalize(), and PfPose::pos. Referenced by Object::computeGradientVecForSinglePose(). |
Here is the call graph for this function:
|
Computes the gradient at a position in a Shapefield.
Definition at line 132 of file PotentialFunctions.cpp. References ATTRACTIVE, PotentialfieldFunction::computeDerivativeValue(), PfieldGeometricObject::distanceTo(), PfVec::normalize(), and PfPose::pos. Referenced by Object::computeGradientVecForSinglePose(). |
Here is the call graph for this function:
|
Computes the gradient at a position in a Sectorfield.
Definition at line 165 of file PotentialFunctions.cpp. References PotentialfieldFunction::computeDerivativeValue(), PotentialfieldFunction::computeValue(), Sector::crossFunction, PfVec::distanceTo(), PfPose::getAngleTo(), PotentialfieldFunction::getRange(), PfVec::length(), PfVec::normalize(), Sector::openingAngle, Sector::pointInside(), PfPose::pos, PfVec::rotate(), PfPose::rotation, and PotentialfieldFunction::setParameters(). Referenced by Object::computeGradientVecForSinglePose(). |
Here is the call graph for this function: