Changeset 1cc87e for src/Actions/MapOfActions.cpp
- Timestamp:
- Aug 9, 2010, 5:57:50 PM (15 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 353e82
- Parents:
- 7a7ad1
- git-author:
- Frederik Heber <heber@…> (08/09/10 17:11:50)
- git-committer:
- Frederik Heber <heber@…> (08/09/10 17:57:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MapOfActions.cpp
r7a7ad1 r1cc87e 67 67 #include "Actions/ParserAction/SaveXyzAction.hpp" 68 68 #include "Actions/SelectionAction/AllAtomsAction.hpp" 69 #include "Actions/SelectionAction/AllAtomsInsideCuboidAction.hpp" 70 #include "Actions/SelectionAction/AllAtomsInsideSphereAction.hpp" 69 71 #include "Actions/SelectionAction/AllAtomsOfMoleculeAction.hpp" 70 72 #include "Actions/SelectionAction/AllMoleculesAction.hpp" … … 75 77 #include "Actions/SelectionAction/MoleculeOfAtomAction.hpp" 76 78 #include "Actions/SelectionAction/NotAllAtomsAction.hpp" 79 #include "Actions/SelectionAction/NotAllAtomsInsideCuboidAction.hpp" 80 #include "Actions/SelectionAction/NotAllAtomsInsideSphereAction.hpp" 77 81 #include "Actions/SelectionAction/NotAllAtomsOfMoleculeAction.hpp" 78 82 #include "Actions/SelectionAction/NotAllMoleculesAction.hpp" … … 89 93 #include "Actions/WorldAction/InputAction.hpp" 90 94 #include "Actions/WorldAction/OutputAction.hpp" 91 #include "Actions/WorldAction/RemoveSphereOfAtomsAction.hpp"92 95 #include "Actions/WorldAction/RepeatBoxAction.hpp" 93 96 #include "Actions/WorldAction/ScaleBoxAction.hpp" … … 212 215 DescriptionMap["redo"] = "redo last action"; 213 216 DescriptionMap["remove-atom"] = "remove a specified atom"; 214 DescriptionMap["remove-sphere"] = "remove sphere of atoms of around a specified atom";215 217 DescriptionMap["repeat-box"] = "create periodic copies of the simulation box per axis"; 216 218 DescriptionMap["rotate-origin"] = "rotate selected atoms by a specific angle around origin"; … … 225 227 DescriptionMap["select-all-molecules"] = "select all molecules"; 226 228 DescriptionMap["select-atom-by-id"] = "select an atom by index"; 229 DescriptionMap["select-atoms-inside-cuboid"] = "select all atoms inside a cuboid"; 230 DescriptionMap["select-atoms-inside-sphere"] = "select all atoms inside a sphere"; 227 231 DescriptionMap["select-molecule-by-id"] = "select a molecule by index"; 228 232 DescriptionMap["select-molecule-of-atom"] = "select a molecule to which a given atom belongs"; … … 238 242 DescriptionMap["unselect-all-molecules"] = "unselect all molecules"; 239 243 DescriptionMap["unselect-atom-by-id"] = "unselect an atom by index"; 244 DescriptionMap["unselect-atoms-inside-cuboid"] = "unselect all atoms inside a cuboid"; 245 DescriptionMap["unselect-atoms-inside-sphere"] = "unselect all atoms inside a sphere"; 240 246 DescriptionMap["unselect-molecule-by-id"] = "unselect a molecule by index"; 241 247 DescriptionMap["unselect-molecule-of-atom"] = "unselect a molecule to which a given atom belongs"; … … 293 299 ShortFormMap["parse-xyz"] = "p"; 294 300 ShortFormMap["remove-atom"] = "r"; 295 ShortFormMap["remove-sphere"] = "R";296 301 ShortFormMap["repeat-box"] = "d"; 297 302 ShortFormMap["rotate-to-pas"] = "m"; … … 338 343 TypeMap["redo"] = &typeid(void); 339 344 TypeMap["remove-atom"] = &typeid(void); 340 TypeMap["remove-sphere"] = &typeid(double);341 345 TypeMap["repeat-box"] = &typeid(VectorValue); 342 346 TypeMap["rotate-origin"] = &typeid(double); … … 350 354 TypeMap["select-all-molecules"] = &typeid(void); 351 355 TypeMap["select-atom-by-id"] = &typeid(atom); 356 TypeMap["select-atoms-inside-cuboid"] = &typeid(VectorValue); 357 TypeMap["select-atoms-inside-sphere"] = &typeid(double); 352 358 TypeMap["select-molecule-by-id"] = &typeid(molecule); 353 359 TypeMap["select-molecule-of-atom"] = &typeid(atom); … … 363 369 TypeMap["unselect-all-molecules"] = &typeid(void); 364 370 TypeMap["unselect-atom-by-id"] = &typeid(atom); 371 TypeMap["unselect-atoms-inside-cuboid"] = &typeid(VectorValue); 372 TypeMap["unselect-atoms-inside-sphere"] = &typeid(double); 365 373 TypeMap["unselect-molecule-by-id"] = &typeid(molecule); 366 374 TypeMap["unselect-molecule-of-atom"] = &typeid(atom); … … 469 477 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-all-molecules") ); 470 478 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atom-by-id") ); 479 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atoms-inside-cuboid") ); 480 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atoms-inside-sphere") ); 471 481 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecule-by-id") ); 472 482 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecule-of-atom") ); … … 475 485 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-all-molecules") ); 476 486 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-atom-by-id") ); 487 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-atoms-inside-cuboid") ); 488 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-atoms-inside-sphere") ); 477 489 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-molecule-by-id") ); 478 490 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-molecule-of-atom") ); … … 489 501 MenuContainsActionMap.insert( pair<std::string, std::string> ("world", "input") ); 490 502 MenuContainsActionMap.insert( pair<std::string, std::string> ("world", "output") ); 491 MenuContainsActionMap.insert( pair<std::string, std::string> ("world", "remove-sphere") );492 503 MenuContainsActionMap.insert( pair<std::string, std::string> ("world", "repeat-box") ); 493 504 MenuContainsActionMap.insert( pair<std::string, std::string> ("world", "scale-box") ); … … 528 539 generic.insert("redo"); 529 540 generic.insert("remove-atom"); 530 generic.insert("remove-sphere");531 541 generic.insert("repeat-box"); 532 542 generic.insert("rotate-origin"); … … 540 550 generic.insert("select-all-molecules"); 541 551 generic.insert("select-atom-by-id"); 552 generic.insert("select-atoms-inside-cuboid"); 553 generic.insert("select-atoms-inside-sphere"); 542 554 generic.insert("select-molecule-by-id"); 543 555 generic.insert("select-molecule-of-atom"); … … 553 565 generic.insert("unselect-all-molecules"); 554 566 generic.insert("unselect-atom-by-id"); 567 generic.insert("unselect-atoms-inside-cuboid"); 568 generic.insert("unselect-atoms-inside-sphere"); 555 569 generic.insert("unselect-molecule-by-id"); 556 570 generic.insert("unselect-molecule-of-atom"); … … 873 887 new SelectionClearAllMoleculesAction(); 874 888 new SelectionAllAtomsAction(); 889 new SelectionAllAtomsInsideCuboidAction(); 890 new SelectionAllAtomsInsideSphereAction(); 875 891 new SelectionAllAtomsOfMoleculeAction(); 876 892 new SelectionAllMoleculesAction(); … … 879 895 new SelectionMoleculeOfAtomAction(); 880 896 new SelectionNotAllAtomsAction(); 897 new SelectionNotAllAtomsInsideCuboidAction(); 898 new SelectionNotAllAtomsInsideSphereAction(); 881 899 new SelectionNotAllAtomsOfMoleculeAction(); 882 900 new SelectionNotAllMoleculesAction(); … … 895 913 new WorldInputAction(); 896 914 new WorldOutputAction(); 897 new WorldRemoveSphereOfAtomsAction();898 915 new WorldRepeatBoxAction(); 899 916 new WorldScaleBoxAction();
Note:
See TracChangeset
for help on using the changeset viewer.