- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp
r6fe4f7 re39e7a 24 24 #include "GLMoleculeObject_bond.hpp" 25 25 26 #include "molecule.hpp" 27 26 28 class atom; 27 29 class bond; 28 30 class GLMoleculeObject_atom; 29 31 class GLWorldScene; 30 class molecule;31 32 32 33 class GLMoleculeObject_molecule : public GLMoleculeObject, public Observer … … 109 110 typedef std::set<atomId_t> atoms_t; 110 111 111 /** Structure for the required information on the bounding box. 112 * 113 */ 114 struct BoundingBoxInfo { 115 //!> position of center 116 Vector position; 117 //!> radius of sphere 118 double radius; 119 }; 120 121 /** Structure for the required information on the tesselation hull. 122 * 123 */ 124 struct TesselationHullInfo { 125 }; 126 127 BoundingBoxInfo initBoundingBox() const; 112 molecule::BoundingBoxInfo initBoundingBox() const; 128 113 129 114 QGeometryData updateTesselationHull() const; 130 BoundingBoxInfo updateBoundingBox() const;115 molecule::BoundingBoxInfo updateBoundingBox() const; 131 116 atoms_t updateAtoms(); 132 117 moleculeId_t updateIndex() const; … … 153 138 boost::function<std::string ()> MolNameUpdater; 154 139 boost::function<QGeometryData ()> TesselationHullUpdater; 155 boost::function< BoundingBoxInfo ()> BoundingBoxUpdater;140 boost::function<molecule::BoundingBoxInfo ()> BoundingBoxUpdater; 156 141 boost::function<atoms_t ()> PresentAtomsUpdater; 157 142 … … 163 148 Cacheable<QGeometryData> TesselationHull; 164 149 //!> contains newest version of the bounding box on request 165 ObservedValue< BoundingBoxInfo> BoundingBox;150 ObservedValue<molecule::BoundingBoxInfo> BoundingBox; 166 151 //!> contains the current live set of atoms for the molecule 167 152 ObservedValue<atoms_t> PresentAtoms;
Note:
See TracChangeset
for help on using the changeset viewer.