Ignore:
Timestamp:
Apr 20, 2016, 11:07:46 PM (9 years ago)
Author:
Frederik Heber <heber@…>
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)
Message:

Only GLWorldScene creates stuff, GLMoleculeObject_.. are just visual reps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp

    r785d89 rf1b5ca  
    4141  GLMoleculeObject_molecule(
    4242      QObject *parent,
    43       QtObservedInstanceBoard &_board,
    4443      QtObservedMolecule::ptr &_ObservedMolecule);
    4544  GLMoleculeObject_molecule(
    4645      QGLSceneNode *mesh[],
    4746      QObject *parent,
    48       QtObservedInstanceBoard &_board,
    4947      QtObservedMolecule::ptr &_ObservedMolecule);
    5048  virtual ~GLMoleculeObject_molecule();
     
    5957  void changed();
    6058  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();
    6759
    6860private slots:
    6961  //!> grant GLWorldScene access to private slots
    7062  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);
    7863
    7964  void setVisible(bool value);
     
    9075private:
    9176
    92   //!> the Observable we are signed on, also indicates whether we are sign on (not NULL)
    93   const Observable * owner;
    94 
    9577  QGeometryData updateTesselationHull() const;
    96 
    97   //!> list of channels when tesselation hull needs to update
    98   static const Observable::channels_t HullChannels;
    9978
    10079  //!> contains current version of the tesselation hull on request
    10180  QGeometryData TesselationHull;
    10281
    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;
    10782
    10883  atomId_t hoverAtomId;
    109 
    110   QtObservedInstanceBoard &board;
    11184
    11285  QtObservedMolecule::ptr ObservedMolecule;
Note: See TracChangeset for help on using the changeset viewer.