Ignore:
File:
1 edited

Legend:

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

    r6fe4f7 re39e7a  
    2424#include "GLMoleculeObject_bond.hpp"
    2525
     26#include "molecule.hpp"
     27
    2628class atom;
    2729class bond;
    2830class GLMoleculeObject_atom;
    2931class GLWorldScene;
    30 class molecule;
    3132
    3233class GLMoleculeObject_molecule : public GLMoleculeObject, public Observer
     
    109110  typedef std::set<atomId_t> atoms_t;
    110111
    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;
    128113
    129114  QGeometryData updateTesselationHull() const;
    130   BoundingBoxInfo updateBoundingBox() const;
     115  molecule::BoundingBoxInfo updateBoundingBox() const;
    131116  atoms_t updateAtoms();
    132117  moleculeId_t updateIndex() const;
     
    153138  boost::function<std::string ()> MolNameUpdater;
    154139  boost::function<QGeometryData ()> TesselationHullUpdater;
    155   boost::function<BoundingBoxInfo ()> BoundingBoxUpdater;
     140  boost::function<molecule::BoundingBoxInfo ()> BoundingBoxUpdater;
    156141  boost::function<atoms_t ()> PresentAtomsUpdater;
    157142
     
    163148  Cacheable<QGeometryData> TesselationHull;
    164149  //!> contains newest version of the bounding box on request
    165   ObservedValue<BoundingBoxInfo> BoundingBox;
     150  ObservedValue<molecule::BoundingBoxInfo> BoundingBox;
    166151  //!> contains the current live set of atoms for the molecule
    167152  ObservedValue<atoms_t> PresentAtoms;
Note: See TracChangeset for help on using the changeset viewer.