/* * RotateAroundSelfByAngleAction.def * * Created on: Aug 26, 2010 * Author: heber */ // all includes and forward declarations necessary for non-integral types below class Vector; #include "Parameters/Validators/Specific/RotationAngleValidator.hpp" #include "Parameters/Validators/Specific/VectorNotZeroValidator.hpp" // i.e. there is an integer with variable name Z that can be found in // ValueStorage by the token "Z" -> first column: int, Z, "Z" // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value #define paramtypes (double)(Vector) #define paramtokens ("rotate-around-self")("axis") #define paramdescriptions ("rotation angle in degrees")("direction rotation of rotation axis relative to molecule's center of gravity") #undef paramdefaults #define paramreferences (angle)(Axis) #define paramvalids \ (RotationAngleValidator()) \ (VectorNotZeroValidator()) #define statetypes (std::vector) #define statereferences (selectedMolecules) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Molecule #define MENUNAME "molecule" #define MENUPOSITION 8 #define ACTIONNAME RotateAroundSelfByAngle #define TOKEN "rotate-around-self" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "rotates molecules by a specific angle and rotation axis around own center of gravity" #undef SHORTFORM