- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/AllAtomsInsideSphereAction.def
r1fd675 re4afb4 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 #define paramtypes (double) (Vector) 15 #define paramtokens (SelectionAllAtomsInsideSphereAction::NAME) ("position") 16 #define paramreferences (radius) (position) 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (double)(Vector) 15 #define paramtokens ("select-atoms-inside-sphere")("position") 16 #define paramdescriptions ("sphere radius")("position in R^3 space") 17 #undef paramdefaults 18 #define paramreferences (radius)(position) 17 19 18 20 #define statetypes (std::vector<atom*>) … … 21 23 // some defines for all the names, you may use ACTION, STATE and PARAMS 22 24 #define CATEGORY Selection 25 #define MENUNAME "selection" 26 #define MENUPOSITION 8 23 27 #define ACTIONNAME AllAtomsInsideSphere 24 28 #define TOKEN "select-atoms-inside-sphere" 25 29 30 31 // finally the information stored in the ActionTrait specialization 32 #define DESCRIPTION "select all atoms inside a sphere" 33 #undef SHORTFORM
Note:
See TracChangeset
for help on using the changeset viewer.