- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/AllAtomsInsideCuboidAction.def
r1fd675 re4afb4 7 7 8 8 // all includes and forward declarations necessary for non-integral types below 9 #include "Actions/Values.hpp" 10 9 11 class Vector; 10 12 11 13 // i.e. there is an integer with variable name Z that can be found in 12 14 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes (Vector) (Vector) (double) (double) (double) 15 #define paramtokens (SelectionAllAtomsInsideCuboidAction::NAME) ("position") ("angle-x") ("angle-y") ("angle-z") 16 #define paramreferences (extension) (position) (Xangle) (Yangle) (Zangle) 15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 #define paramtypes (Vector)(Vector)(double)(double)(double) 17 #define paramtokens ("select-atoms-inside-cuboid")("position")("angle-x")("angle-y")("angle-z") 18 #define paramdescriptions ("dimensions of cuboid")("position in R^3 space")("angle of a rotation around x axis")("angle of a rotation around y axis")("angle of a rotation around z axis") 19 #undef paramdefaults 20 #define paramreferences (extension)(position)(Xangle)(Yangle)(Zangle) 17 21 18 22 #define statetypes (std::vector<atom*>) … … 21 25 // some defines for all the names, you may use ACTION, STATE and PARAMS 22 26 #define CATEGORY Selection 27 #define MENUNAME "selection" 28 #define MENUPOSITION 7 23 29 #define ACTIONNAME AllAtomsInsideCuboid 24 30 #define TOKEN "select-atoms-inside-cuboid" 25 31 32 33 // finally the information stored in the ActionTrait specialization 34 #define DESCRIPTION "select all atoms inside a cuboid" 35 #undef SHORTFORM
Note:
See TracChangeset
for help on using the changeset viewer.