| 1 |
#ifndef IDEAL_DEFDEN_H |
| 2 |
#define IDEAL_DEFDEN_H |
| 3 |
#include <QThread> |
| 4 |
#include "molecule.h" |
| 5 |
|
| 6 |
#include "opengltestwidget.h" |
| 7 |
#include "fourxle.h" |
| 8 |
|
| 9 |
class IdealDefdenGenerator : public QThread{ |
| 10 |
Q_OBJECT |
| 11 |
public: |
| 12 |
IdealDefdenGenerator(PlayOpenGL *chgl_,FourXle *FX, QObject * parent = nullptr ){ |
| 13 |
chgl = chgl_; |
| 14 |
mommy = parent; |
| 15 |
fxle=FX; |
| 16 |
} |
| 17 |
void run() override { |
| 18 |
|
| 19 |
beloWriteCube(); |
| 20 |
} |
| 21 |
double defden(V3 pos,CEnvironment &belo, QList<Matrix> &mi); |
| 22 |
void beloWriteCube(); |
| 23 |
PlayOpenGL *chgl; |
| 24 |
QObject *mommy; |
| 25 |
FourXle *fxle; |
| 26 |
|
| 27 |
signals: |
| 28 |
void message(const QString &); |
| 29 |
}; |
| 30 |
#endif |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|