#include <FormationControl.h>
Public Member Functions | |
ArtPotentialFormCtrlPar (Decimal attrMaxDist=3.0, Decimal attractGain=1.0, Decimal repulMaxDist=2.0, Decimal repulMinDist=0.3, Decimal repulGain=1.0, Time virtPointLifeTime=Time(0.1)) | |
Default constructor. | |
ArtPotentialFormCtrlPar (const ArtPotentialFormCtrlPar &p) | |
Copy constructor. | |
ArtPotentialFormCtrlPar & | operator= (const ArtPotentialFormCtrlPar &rhs) |
Assignment operator. | |
Decimal | attrMaxDist () |
Gets the max distance of the attractive potential. | |
Decimal | attrGain () |
Gets the gain of the attractive potential. | |
Decimal | repulMinDist () |
Gets the max distance of the repulsive potential. | |
Decimal | repulMaxDist () |
Gets the max distance of the repulsive potential. | |
Decimal | repulGain () |
Gets the gain of the repulsive potential. | |
Time | virtPointLifeTime () |
Gets the life time of a received virtual point. | |
string | getObjectName () const |
Gets the name. |
ArtPotentialFormCtrlPar::ArtPotentialFormCtrlPar | ( | Decimal | attrMaxDist = 3.0 , |
|
Decimal | attractGain = 1.0 , |
|||
Decimal | repulMaxDist = 2.0 , |
|||
Decimal | repulMinDist = 0.3 , |
|||
Decimal | repulGain = 1.0 , |
|||
Time | virtPointLifeTime = Time(0.1) | |||
) |
Default constructor.
[in] | attrMaxDist | . |
[in] | attractGain | . |
[in] | repulMinDist | . |
[in] | repulGain | . |
[in] | virtPointLifeTime | L=ife time of a received virtual point. |
ArtPotentialFormCtrlPar::ArtPotentialFormCtrlPar | ( | const ArtPotentialFormCtrlPar & | p | ) |
Copy constructor.
ArtPotentialFormCtrlPar & ArtPotentialFormCtrlPar::operator= | ( | const ArtPotentialFormCtrlPar & | rhs | ) |
Assignment operator.
Decimal ArtPotentialFormCtrlPar::attrMaxDist | ( | ) |
Gets the max distance of the attractive potential.
Decimal ArtPotentialFormCtrlPar::attrGain | ( | ) |
Gets the gain of the attractive potential.
Decimal ArtPotentialFormCtrlPar::repulMinDist | ( | ) |
Gets the max distance of the repulsive potential.
Decimal ArtPotentialFormCtrlPar::repulMaxDist | ( | ) |
Gets the max distance of the repulsive potential.
Decimal ArtPotentialFormCtrlPar::repulGain | ( | ) |
Gets the gain of the repulsive potential.
Time ArtPotentialFormCtrlPar::virtPointLifeTime | ( | ) |
Gets the life time of a received virtual point.
string ArtPotentialFormCtrlPar::getObjectName | ( | ) | const [inline, virtual] |