#include <Actionfield.h>
Inheritance diagram for Rotation:
Public Member Functions | |
TransformationType | getType () |
Returns the type of the transformation. | |
PotentialfieldTransformation * | copy () |
Returns a pointer to a copy of the object. | |
Public Attributes | |
double | angle |
The rotation angle. | |
bool | toGradient |
Flag: true, if the rotation has to be the angle to the current gradient. | |
Object * | toObject |
An object to rotate to. | |
double | speed |
The speed of a rotation in radian per second, only used in combination with toGradient of toObject. |
Definition at line 318 of file Actionfield.h.
|
Returns the type of the transformation.
Implements PotentialfieldTransformation. Definition at line 334 of file Actionfield.h. References ROTATION, and TransformationType. |
|
Returns a pointer to a copy of the object.
Implements PotentialfieldTransformation. Definition at line 340 of file Actionfield.h. References angle, PotentialfieldTransformation::probability, speed, PotentialfieldTransformation::time, toGradient, and toObject. |
|
The rotation angle.
Definition at line 322 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
Flag: true, if the rotation has to be the angle to the current gradient.
Definition at line 324 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
An object to rotate to.
Definition at line 326 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |
|
The speed of a rotation in radian per second, only used in combination with toGradient of toObject.
Definition at line 329 of file Actionfield.h. Referenced by copy(), FutureWorldModelGenerator::executeSingleTransformation(), and Parser::parseTransformation(). |