/*
 * RotateShapeAction.def
 *
 *  Created on: Nov 19, 2012
 *      Author: ankele
 */

// all includes and forward declarations necessary for non-integral types below
#include <boost/filesystem.hpp>

#include "Parameters/Validators/DummyValidator.hpp"
class Shape;

// 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)(double)(double)(Vector)
#define paramtokens ("angle-x")("angle-y")("angle-z")("center")
#define paramdescriptions ("rotation x")("rotation y")("rotation z")("center of rotation")
#define paramdefaults (PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(Vector(0.,0.,0.)))
#define paramreferences (angle_x)(angle_y)(angle_z)(center)
#define paramvalids \
(DummyValidator<double>()) \
(DummyValidator<double>()) \
(DummyValidator<double>()) \
(DummyValidator<Vector>())

#define statetypes (std::vector<Shape>)
#define statereferences (old_shapes)

// some defines for all the names, you may use ACTION, STATE and PARAMS
#define CATEGORY Shape
#define MENUNAME "shape"
#define MENUPOSITION 5
#define ACTIONNAME RotateShape
#define TOKEN "rotate-shapes"


// finally the information stored in the ActionTrait specialization
#define DESCRIPTION "rotates selected shapes in ShapeRegistry"
#undef SHORTFORM
