-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpecAlignDoc.h
146 lines (135 loc) · 4.16 KB
/
SpecAlignDoc.h
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// SpecAlignDoc.h : interface of the CSpecAlignDoc class
//
#pragma once
#include "iface.h"
class CSpecAlignDoc : public CDocument
{
protected: // create from serialization only
CSpecAlignDoc();
DECLARE_DYNCREATE(CSpecAlignDoc)
// Attributes
public:
iface dat;
bool showAvg;
bool lineGraph;
bool barGraph;
bool stacked;
bool overlap;
bool showPeaks;
double height;
double cutoff;
int window;
bool peaksPicked;
bool plotPeaks;
bool rel;
int importType;
bool fastDraw;
bool viewBase;
bool viewPModel;
int baseVal;
int model;
int denoise_recurs;
double denoise_sens;
CString curpath;
CString curSpath;
int eval_segs;
// Operations
public:
// Overrides
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
// Implementation
public:
virtual ~CSpecAlignDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
CSize m_sizeDoc;
CListCtrl * results;
CString decompress(CString src);
void compress(CString src);
public:
CSize GetDocSize() { return m_sizeDoc; }
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnImportFile();
afx_msg void OnEditUndo();
afx_msg void OnProcessingNormalizetic();
afx_msg void OnEditRevert();
afx_msg void OnProcessingRelativeintensities();
afx_msg void OnViewAveragespec();
afx_msg void OnUpdateViewAveragespec(CCmdUI *pCmdUI);
afx_msg void OnGraphTrack();
afx_msg void OnUpdateGraphTrack(CCmdUI *pCmdUI);
afx_msg void OnGraphZoom();
afx_msg void OnUpdateGraphZoom(CCmdUI *pCmdUI);
//afx_msg void OnGraphPan();
//afx_msg void OnUpdateGraphPan(CCmdUI *pCmdUI);
afx_msg void OnEditUndoZoom();
afx_msg void OnEditRevertallzoom();
afx_msg void OnViewasLinegraph();
afx_msg void OnUpdateViewasLinegraph(CCmdUI *pCmdUI);
afx_msg void OnViewasBargraph();
afx_msg void OnUpdateViewasBargraph(CCmdUI *pCmdUI);
afx_msg void OnSpectrumPickpeaks();
afx_msg void OnSpectrumRemovepeaks();
afx_msg void OnProcessingAlignpeaks();
afx_msg void OnSpectrumPlotpeaks();
afx_msg void OnUpdateSpectrumPlotpeaks(CCmdUI *pCmdUI);
afx_msg void OnImportFolder();
afx_msg void OnSpectrumCrop();
afx_msg void OnExportFile();
afx_msg void OnSpectrumRemovespectrum();
afx_msg void OnExportMultifile();
afx_msg void OnFileOpen();
afx_msg void OnFileSaveAs();
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
afx_msg void OnFileSave();
afx_msg void OnUpdateSpectrumCrop(CCmdUI *pCmdUI);
afx_msg void OnProcessingbins();
afx_msg void OnProcessingSmooth();
afx_msg void OnSpectrumGenerateaveragespectrum();
afx_msg void OnExportAveragespectrum();
afx_msg void OnImportAveragespectrum();
afx_msg void OnViewasStackedgraph();
afx_msg void OnUpdateViewasStackedgraph(CCmdUI *pCmdUI);
afx_msg void OnFilePrint();
afx_msg void OnEditCopy();
afx_msg void OnSpectrumMergewithaveragespectrum();
afx_msg void OnProcessingScale();
afx_msg void OnProcessingSubtractbaseline();
afx_msg void OnSpectrumManualpickpeaks();
afx_msg void OnUpdateSpectrumManualpickpeaks(CCmdUI *pCmdUI);
afx_msg void OnSpectrumAutoscale();
afx_msg void OnSpectrumManualremovepeaks();
afx_msg void OnUpdateSpectrumManualremovepeaks(CCmdUI *pCmdUI);
afx_msg void OnSpectrumCropfrom();
afx_msg void OnViewasOverlappinggraph();
afx_msg void OnUpdateViewasOverlappinggraph(CCmdUI *pCmdUI);
afx_msg void OnProcessingRescaletopositive();
afx_msg void OnProcessingRemovenegative();
afx_msg void OnToolsCombinespectra();
afx_msg void OnToolsSubtractspectra();
afx_msg void OnToolsComparespectra();
afx_msg void OnToolsCompareall();
afx_msg void OnProcessingSpectraalignmentbybestfit();
afx_msg void OnSpectraalignmentCombinedmethod();
afx_msg void OnSpectraalignmentChoice();
afx_msg void OnViewFastdraw();
afx_msg void OnUpdateViewFastdraw(CCmdUI *pCmdUI);
afx_msg void OnToolsGeneratecorrelelograph();
afx_msg void OnSpectraalignmentFftmethod();
afx_msg void OnExportPeaks();
afx_msg void OnViewBaseline();
afx_msg void OnUpdateViewBaseline(CCmdUI *pCmdUI);
afx_msg void OnSpectrumCalculatepeakareas();
afx_msg void OnExportPeakarea();
afx_msg void OnProcessingDenoise();
afx_msg void OnToolsEvaluatedataset();
afx_msg void OnExportSpectramodel();
};