Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 91c409 was             a58c16, checked in by Frederik Heber <heber@…>, 10 years ago | 
        
          | 
Replaced World::getAllAtoms() by const version where possible.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1022 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * AllAtomsInsideVolumeAction.def | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Aug 26, 2010 | 
|---|
| 5 | *      Author: heber, ankele | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | // all includes and forward declarations necessary for non-integral types below | 
|---|
| 9 |  | 
|---|
| 10 |  | 
|---|
| 11 | // i.e. there is an integer with variable name Z that can be found in | 
|---|
| 12 | // ValueStorage by the token "Z" -> first column: int, Z, "Z" | 
|---|
| 13 | // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value | 
|---|
| 14 | #undef paramtypes | 
|---|
| 15 | #undef paramtokens | 
|---|
| 16 | #undef paramdescriptions | 
|---|
| 17 | #undef paramdefaults | 
|---|
| 18 | #undef paramreferences | 
|---|
| 19 | #undef paramvalids | 
|---|
| 20 |  | 
|---|
| 21 | #define statetypes (std::vector<const atom*>) | 
|---|
| 22 | #define statereferences (selectedAtoms) | 
|---|
| 23 |  | 
|---|
| 24 | // some defines for all the names, you may use ACTION, STATE and PARAMS | 
|---|
| 25 | #define CATEGORY Selection | 
|---|
| 26 | #define MENUNAME "selection" | 
|---|
| 27 | #define MENUPOSITION 8 | 
|---|
| 28 | #define ACTIONNAME AllAtomsInsideVolume | 
|---|
| 29 | #define TOKEN "select-atoms-inside-volume" | 
|---|
| 30 |  | 
|---|
| 31 |  | 
|---|
| 32 | // finally the information stored in the ActionTrait specialization | 
|---|
| 33 | #define DESCRIPTION "select all atoms inside the volume of a shape" | 
|---|
| 34 | #undef SHORTFORM | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.