source: src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_molecule.hpp@ 88bb6b

Last change on this file since 88bb6b was d6203a, checked in by Frederik Heber <heber@…>, 14 years ago

Refactoring: GLMoleculeObject_molecule.updateBoundingBox() added

  • Property mode set to 100644
File size: 940 bytes
RevLine 
[c67518]1/*
2 * GLMoleculeObject_molecule.hpp
3 *
4 * Created on: Mar 30, 2012
5 * Author: ankele
6 */
7
8#ifndef GLMOLECULEOBJECT_MOLECULE_HPP_
9#define GLMOLECULEOBJECT_MOLECULE_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16#include "GLMoleculeObject.hpp"
17
18#include "CodePatterns/Observer/Observer.hpp"
19
20#include "GLMoleculeObject_bond.hpp"
21
22class atom;
23class bond;
24class molecule;
25
26class GLMoleculeObject_molecule : public GLMoleculeObject, public Observer
27{
28 Q_OBJECT
29public:
[72a4c1]30 GLMoleculeObject_molecule(QGLSceneNode *mesh[], QObject *parent, const molecule *molref);
[c67518]31 virtual ~GLMoleculeObject_molecule();
32
[d6203a]33 void updateBoundingBox();
34
[c67518]35 // Observer functions
36 void update(Observable *publisher);
37 void subjectKilled(Observable *publisher);
38 void recieveNotification(Observable *publisher, Notification_ptr notification);
39
40private:
41
42 const molecule *_molecule;
43};
44
45
46
47#endif /* GLMOLECULEOBJECT_MOLECULE_HPP_ */
Note: See TracBrowser for help on using the repository browser.