| 5 |
|
#include "MoleculeStamp.hpp" |
| 6 |
|
#include "SimState.hpp" |
| 7 |
|
|
| 8 |
– |
|
| 8 |
|
class MoLocator{ |
| 9 |
|
|
| 10 |
|
public: |
| 13 |
|
~MoLocator(); |
| 14 |
|
|
| 15 |
|
void placeMol( double pos[3], double ornt[3][3], Atom** atomArray, |
| 16 |
< |
int atomIndex ); |
| 16 |
> |
int atomIndex, SimState* myConfig ); |
| 17 |
|
double getMaxLength( void ) { return maxLength; } |
| 18 |
|
|
| 20 |
– |
void setConfig( SimState* theConfig ); |
| 21 |
– |
|
| 19 |
|
private: |
| 20 |
|
|
| 21 |
|
void calcRefCoords( void ); |
| 26 |
|
double maxLength; |
| 27 |
|
int nAtoms; |
| 28 |
|
|
| 32 |
– |
SimState* myConfig; |
| 33 |
– |
bool haveConfig; |
| 29 |
|
}; |
| 30 |
|
|
| 31 |
+ |
extern void getRandomRot( double rot[3][3] ); |
| 32 |
+ |
extern void getEulerRot( double theta, double phi, double psi, |
| 33 |
+ |
double rot[3][3] ); |
| 34 |
|
|
| 35 |
|
#endif |