#include <Actionfield.h>
Inheritance diagram for Translation:
Public Member Functions | |
TransformationType | getType () |
Returns the type of the action. | |
PotentialfieldTransformation * | copy () |
Returns a pointer to a copy of the object. | |
Public Attributes | |
PfVec | translation |
Translation vector. | |
bool | alongGradient |
Flag: true, if the transformation is along the current gradient. | |
double | stepLength |
Step length on the gradient (only used, if along gradient has been set). | |
double | maxGradientDeviation |
Maximum deviation from the gradient (only used, if along gradient has been set). | |
double | maxLength |
Maximum length of a translation (only used, if along gradient has been set). | |
Object * | toObject |
An object to translate to. | |
double | speed |
The speed of a translation in millimeters per second, only used in combination with alongGradient of toObject. |
Definition at line 267 of file Actionfield.h.
|
Returns the type of the action.
Implements PotentialfieldTransformation. Definition at line 289 of file Actionfield.h. References TransformationType, and TRANSLATION. |
|
Returns a pointer to a copy of the object.
Implements PotentialfieldTransformation. Definition at line 295 of file Actionfield.h. References alongGradient, maxGradientDeviation, maxLength, PotentialfieldTransformation::probability, speed, stepLength, PotentialfieldTransformation::time, toObject, and translation. |
|
Translation vector.
Definition at line 271 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
Flag: true, if the transformation is along the current gradient.
Definition at line 273 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
Step length on the gradient (only used, if along gradient has been set).
Definition at line 275 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
Maximum deviation from the gradient (only used, if along gradient has been set).
Definition at line 277 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
Maximum length of a translation (only used, if along gradient has been set).
Definition at line 279 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
An object to translate to.
Definition at line 281 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
The speed of a translation in millimeters per second, only used in combination with alongGradient of toObject.
Definition at line 284 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |