23 #include <QMainWindow> 63 explicit MainWindow(QWidget *parent, QSharedPointer<VespucciWorkspace> ws);
65 void RefreshTreeModel(
const DataModel *data_model);
68 void RecalculateGlobalDataRange(
QCPRange* new_data_range);
70 void SetGlobalDataRange(
QCPRange* new_data_range);
71 QSharedPointer<VespucciWorkspace> workspace_ptr();
72 void DisplayExceptionWarning(std::exception e);
73 void DisplayExceptionWarning(std::string where, std::exception e);
74 QListView *map_list_view();
75 void SetActiveDatasetListRow(
const QModelIndex &index);
76 void SetActiveDatasetTreeIndex(
const QModelIndex &index);
77 void DisplayWarning(
const QString &title,
const QString &text);
78 void DisplayInformation(
const QString &title,
const QString &text);
86 void DatasetSelectionChanged(QString dataset_key);
87 void MatrixSelectionChanged(QStringList matrix_keys);
88 void DatasetToBeRemoved(QString name);
89 void MatrixToBeRemoved(QStringList keys);
92 void closeEvent(QCloseEvent *event);
94 void RangeDialogAccepted(
double min,
double max);
95 void SetPlotViewerActionChecked(
bool checked);
96 void SetDataViewerActionChecked(
bool checked);
97 void SetStatsViewerActionChecked(
bool checked);
98 void SetSpectrumEditorActionChecked(
bool checked);
99 void SetMacroEditorActionChecked(
bool checked);
100 void SetPythonShellActionChecked(
bool checked);
101 void SetHistoryDialogActionChecked(
bool checked);
102 void SpectrumRequested(QString dataset_key, QString map_name,
size_t index);
103 void HeldSpectrumRequested(QString dataset_key, QString map_name,
size_t index);
106 void on_actionExit_triggered();
108 void on_actionImport_Dataset_from_File_triggered();
110 void on_actionAbout_Vespucci_triggered();
112 void on_actionCiting_Vespucci_triggered();
114 void on_actionNew_Univariate_Map_triggered();
116 void on_actionNew_Band_Ratio_Map_triggered();
118 void on_actionPrincipal_Components_Analysis_triggered();
120 void on_actionNormalize_Standardize_triggered();
122 void on_actionSubtract_Background_triggered();
124 void on_actionSpectra_triggered();
126 void on_actionAverage_Spectra_triggered();
128 void on_actionAverage_Spectra_with_Abscissa_triggered();
130 void on_actionSpectral_Abscissa_triggered();
132 void on_actionAll_Data_triggered();
134 void on_actionFilter_Derivatize_triggered();
136 void on_actionClose_Dataset_triggered();
138 void on_actionDocumentation_triggered();
140 void on_actionCrop_triggered();
142 void on_actionCorrect_Baseline_triggered();
144 void on_actionPartial_Least_Squares_triggered();
146 void on_actionK_Means_Clustering_triggered();
148 void on_actionVertex_Components_triggered();
150 void on_actionUndo_triggered();
152 void on_actionDelete_Map_triggered();
154 void on_actionNew_Composite_Dataset_triggered();
156 void on_actionReject_Clipped_Spectra_triggered();
158 void on_actionSpectra_as_Columns_triggered();
160 void on_actionBooleanize_Clamp_triggered();
162 void on_actionRemove_Vectors_of_Zeros_triggered();
164 void on_actionRun_script_triggered();
166 void on_actionDetect_Peaks_triggered();
168 void on_actionCalculate_Peak_Populations_triggered();
170 void on_actionImport_From_Multiple_Point_Spectra_triggered();
172 void on_actionBatch_File_Conversion_triggered();
174 void on_actionClassical_Least_Squares_triggered();
176 void on_actionSettings_triggered();
178 void on_actionTransform_Abscissa_triggered();
180 void on_actionFourierTransform_triggered();
182 void on_actionInterpolate_to_New_Abscissa_triggered();
184 void on_actionSave_Log_File_triggered();
186 void on_actionImport_Dataset_from_Multiple_Files_triggered();
188 void on_actionCreate_Plot_triggered();
190 void on_actionPlot_Viewer_toggled(
bool arg1);
192 void ChildDialogVisibleToggled(
const QString &key,
bool arg1);
194 void on_actionData_Viewer_toggled(
bool arg1);
196 void on_actionStatistics_Viewer_toggled(
bool arg1);
198 void on_actionSpectrum_Editor_toggled(
bool arg1);
200 void on_actionPython_Shell_toggled(
bool arg1);
202 void on_actionMacro_Editor_toggled(
bool arg1);
204 void on_actionMapResult_triggered();
206 void on_actionOnline_Documentation_triggered();
208 void on_actionGlobal_Color_Scales_triggered();
210 void on_datasetTreeView_clicked(
const QModelIndex &index);
212 void on_datasetTreeView_doubleClicked(
const QModelIndex &index);
214 void on_actionShow_in_Data_Viewer_triggered();
216 void on_actionView_Statistics_triggered();
218 void on_actionPlotResult_triggered();
220 void on_actionSave_Dataset_triggered();
222 void on_actionOpenDataset_triggered();
224 void on_actionSave_Dataset_As_triggered();
226 void on_actionExport_Matrix_triggered();
228 void on_actionImport_Data_Into_Dataset_triggered();
230 void on_actionCalculate_Representative_Spectrum_triggered();
232 void on_actionTransform_triggered();
234 void on_actionOn_Multiple_Datasets_triggered();
236 void on_actionHierarchical_Clustering_triggered();
239 void on_actionHistory_toggled(
bool arg1);
241 void on_actionConcatenate_triggered();
243 void on_actionAnalyze_triggered();
245 void on_actionNew_Dataset_from_Matrix_triggered();
247 void on_actionEstimate_Dimensionality_triggered();
250 void CloseDataset(
const QString &name);
266 QSharedPointer<VespucciWorkspace> workspace_;
274 unsigned int global_map_count_;
276 QMap<QString, QDialog*> child_dialogs_;
283 #endif // MAINWINDOW_H
VESPUCCI_EXPORT arma::uword max(arma::uword a, arma::uword b)
Vespucci::Math::max.
The VespucciDataset class This is the main class for dealing with hyperspectral data. This handles the import and export of spectra, and the creation of maps. Images are handled by the MapData class. This class is intended to be allocated on the heap inside of a smart pointer, there is no copy constructor.
The DataViewer class Window that displays dataset elements in a QTableView widget inside a QTabWidget...
The VespucciWorkspace class A class which contains all "global variables" (that aren't held in MainWi...
VESPUCCI_EXPORT arma::uword min(arma::uword a, arma::uword b)
Vespucci::Math::min.
Defines a color gradient for use with e.g. QCPColorMap.
Represents the range an axis is encompassing.
The MainWindow class The main window of the program, this is where the user performs most operations...