1 |
mmeineke |
501 |
#ifndef __MOLOCATOR_H__ |
2 |
|
|
#define __MOLOCATOR_H__ |
3 |
|
|
|
4 |
|
|
#include "Atom.hpp" |
5 |
|
|
#include "MoleculeStamp.hpp" |
6 |
|
|
|
7 |
|
|
|
8 |
|
|
class MoLocator{ |
9 |
|
|
|
10 |
|
|
public: |
11 |
|
|
|
12 |
|
|
MoLocator( MoleculeStamp* theStamp ); |
13 |
|
|
~MoLocator(); |
14 |
|
|
|
15 |
mmeineke |
504 |
void placeMol( double pos[3], double ornt[3][3], Atom** atomArray, |
16 |
|
|
int atomIndex ); |
17 |
mmeineke |
501 |
double getMaxLength( void ) { return maxLength; } |
18 |
|
|
|
19 |
|
|
private: |
20 |
|
|
|
21 |
|
|
void calcRefCoords( void ); |
22 |
mmeineke |
503 |
void rotMe( double r[3], double A[3][3] ); |
23 |
mmeineke |
501 |
|
24 |
|
|
MoleculeStamp* myStamp; |
25 |
|
|
double *myCoords; |
26 |
|
|
double maxLength; |
27 |
mmeineke |
503 |
int nAtoms; |
28 |
mmeineke |
501 |
}; |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
#endif |