Changeset a13f2b for src/UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp
- Timestamp:
- Apr 20, 2016, 11:07:47 PM (9 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:
- b2eeaf
- Parents:
- 502614
- git-author:
- Frederik Heber <heber@…> (04/12/16 18:37:31)
- git-committer:
- Frederik Heber <heber@…> (04/20/16 23:07:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/Qt3D/GLWorldScene.hpp
r502614 ra13f2b 20 20 #include <iosfwd> 21 21 22 #include <boost/bimap.hpp> 22 23 #include <boost/thread/recursive_mutex.hpp> 23 24 … … 117 118 118 119 private: 120 121 GLMoleculeObject_molecule *getMoleculeObject( 122 const ObservedValue_Index_t _molid) const; 123 124 void resetParent( 125 GLMoleculeObject *_obj, 126 GLMoleculeObject_molecule *_molobj); 127 119 128 void reparentBond( 120 129 QtObservedBond *_bond, … … 140 149 141 150 //!> typedef for storing the current parent to each atom node in scene, NULL indicates GLWorldScene is parent 142 typedef std::map<ObservedValue_Index_t, ObservedValue_Index_t> AtomNodeParentMap_t; 151 typedef boost::bimap< 152 boost::bimaps::set_of< ObservedValue_Index_t >, 153 boost::bimaps::multiset_of< ObservedValue_Index_t > 154 > AtomNodeParentMap_t; 143 155 //!> typedef for storing the current parent to each bond node in scene, NULL indicates GLWorldScene is parent 144 typedef std::map<ObservedValue_Index_t, std::vector<ObservedValue_Index_t> > BondNodeParentMap_t; 156 typedef boost::bimap< 157 boost::bimaps::set_of< ObservedValue_Index_t >, 158 boost::bimaps::multiset_of< ObservedValue_Index_t > 159 > BondNodeParentMap_t; 145 160 146 161 //!> mutex to ascertain atomic access to NodeParentMaps … … 153 168 ShapeNodeMap ShapesinSceneMap; 154 169 AtomNodeParentMap_t AtomNodeParentMap; 155 BondNodeParentMap_t BondNodeParentMap;170 std::vector<BondNodeParentMap_t> BondNodeParentMaps; 156 171 157 172 SelectionModeType selectionMode;
Note:
See TracChangeset
for help on using the changeset viewer.