Menu

[r124]: / MCEOverlayAtomsDlg.h  Maximize  Restore  History

Download this file

63 lines (49 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
57
58
59
60
61
62
#pragma once
#include "Atom.h"
#include "rmsd.h"
// MCEOverlayAtomsDlg dialog
#define WM_EXIT_OVERLAY_ATOMS WM_USER + 15
#define WM_APPLY_OVERLAY_ATOMS WM_USER + 16
class MCEOverlayAtomsDlg : public CDialogEx
{
DECLARE_DYNAMIC(MCEOverlayAtomsDlg)
public:
MCEOverlayAtomsDlg(CWnd* pParent = NULL); // standard constructor
MCEOverlayAtomsDlg(CView* pView); // new modelless constructor
virtual ~MCEOverlayAtomsDlg();
BOOL Create();
void AddAtom(float x, float y, float z, CString name, bool is_part_of_fragment);
bool overlay();
// Dialog Data
enum { IDD = IDD_DIALOG4 };
int m_current_editbox;
float m_translate_1[3];
float m_translate_2[3];
float m_translate_3[3];
float m_rotate[3][3];
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
virtual void OnCancel();
DECLARE_MESSAGE_MAP()
private:
CView* m_pMCEView;
Atom m_atom_frag_1;
Atom m_atom_frag_2;
Atom m_atom_frag_3;
Atom m_atom_dest_1;
Atom m_atom_dest_2;
Atom m_atom_dest_3;
double m_center_vect[3];
double m_mov_vect[3];
double m_rotMx[3][3];
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancel();
afx_msg void OnEnChangeEdit1();
afx_msg void OnEnChangeEdit2();
afx_msg void OnEnChangeEdit3();
afx_msg void OnEnChangeEdit5();
afx_msg void OnEnChangeEdit6();
afx_msg void OnEnChangeEdit7();
};