- Timestamp:
- Apr 20, 2016, 11:07:46 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:
- 7f185f9
- Parents:
- 785d89
- git-author:
- Frederik Heber <heber@…> (04/12/16 08:51:06)
- git-committer:
- Frederik Heber <heber@…> (04/20/16 23:07:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp
r785d89 rf1b5ca 41 41 GLMoleculeObject_molecule( 42 42 QObject *parent, 43 QtObservedInstanceBoard &_board,44 43 QtObservedMolecule::ptr &_ObservedMolecule); 45 44 GLMoleculeObject_molecule( 46 45 QGLSceneNode *mesh[], 47 46 QObject *parent, 48 QtObservedInstanceBoard &_board,49 47 QtObservedMolecule::ptr &_ObservedMolecule); 50 48 virtual ~GLMoleculeObject_molecule(); … … 59 57 void changed(); 60 58 void changeOccured(); 61 void hoverChanged(const atomId_t);62 void hoverChanged(const moleculeId_t, int);63 void atomClicked(atomId_t);64 void moleculeClicked(moleculeId_t);65 void moleculeEmptied(QtObservedMolecule::ptr);66 void IsSelectedChanged();67 59 68 60 private slots: 69 61 //!> grant GLWorldScene access to private slots 70 62 friend class GLWorldScene; 71 72 void wasClicked();73 void atomInserted(QtObservedAtom::ptr _atom);74 void atomRemoved(ObservedValue_Index_t _id);75 void bondInserted(QtObservedBond::ptr _bond);76 void bondRemoved(ObservedValue_Index_t _id);77 void hoverChangedSignalled(GLMoleculeObject *ob);78 63 79 64 void setVisible(bool value); … … 90 75 private: 91 76 92 //!> the Observable we are signed on, also indicates whether we are sign on (not NULL)93 const Observable * owner;94 95 77 QGeometryData updateTesselationHull() const; 96 97 //!> list of channels when tesselation hull needs to update98 static const Observable::channels_t HullChannels;99 78 100 79 //!> contains current version of the tesselation hull on request 101 80 QGeometryData TesselationHull; 102 81 103 typedef std::map< ObservedValue_Index_t, GLMoleculeObject_atom* > AtomNodeMap;104 typedef std::multimap< ObservedValue_Index_t, GLMoleculeObject_bond* > BondNodeMap;105 AtomNodeMap AtomsinSceneMap;106 BondNodeMap BondsinSceneMap;107 82 108 83 atomId_t hoverAtomId; 109 110 QtObservedInstanceBoard &board;111 84 112 85 QtObservedMolecule::ptr ObservedMolecule;
Note:
See TracChangeset
for help on using the changeset viewer.