Ignore:
File:
1 edited

Legend:

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

    re39e7a r6fe4f7  
    2424#include "GLMoleculeObject_bond.hpp"
    2525
    26 #include "molecule.hpp"
    27 
    2826class atom;
    2927class bond;
    3028class GLMoleculeObject_atom;
    3129class GLWorldScene;
     30class molecule;
    3231
    3332class GLMoleculeObject_molecule : public GLMoleculeObject, public Observer
     
    110109  typedef std::set<atomId_t> atoms_t;
    111110
    112   molecule::BoundingBoxInfo initBoundingBox() const;
     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;
    113128
    114129  QGeometryData updateTesselationHull() const;
    115   molecule::BoundingBoxInfo updateBoundingBox() const;
     130  BoundingBoxInfo updateBoundingBox() const;
    116131  atoms_t updateAtoms();
    117132  moleculeId_t updateIndex() const;
     
    138153  boost::function<std::string ()> MolNameUpdater;
    139154  boost::function<QGeometryData ()> TesselationHullUpdater;
    140   boost::function<molecule::BoundingBoxInfo ()> BoundingBoxUpdater;
     155  boost::function<BoundingBoxInfo ()> BoundingBoxUpdater;
    141156  boost::function<atoms_t ()> PresentAtomsUpdater;
    142157
     
    148163  Cacheable<QGeometryData> TesselationHull;
    149164  //!> contains newest version of the bounding box on request
    150   ObservedValue<molecule::BoundingBoxInfo> BoundingBox;
     165  ObservedValue<BoundingBoxInfo> BoundingBox;
    151166  //!> contains the current live set of atoms for the molecule
    152167  ObservedValue<atoms_t> PresentAtoms;
Note: See TracChangeset for help on using the changeset viewer.