Vespucci  1.0.0
metadataset.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Copyright (C) 2014-2016 Wright State University - All Rights Reserved
3  Daniel P. Foose - Maintainer/Lead Developer
4 
5  This file is part of Vespucci.
6 
7  Vespucci is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  Vespucci is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with Vespucci. If not, see <http://www.gnu.org/licenses/>.
19 *******************************************************************************/
20 #ifndef METADATASET_H
21 #define METADATASET_H
23 
24 
25 
31 {
32 public:
33  MetaDataset(QString name,
34  MainWindow *main_window,
35  QString *directory,
36  QString method_description,
37  MetaMethod::Method method,
38  QList<QSharedPointer<VespucciDataset> > parent_datasets);
39  vec *parents();
40 
41 private:
45  QList<QSharedPointer<VespucciDataset> > parent_datasets_;
46 
51  QString method_description_;
52 
57  uvec parent_indices_;
58 
62  vec parents_;
63  mat parent_coordinates_;
64 
65 
69  MetaMethod::Method method_;
70 
71  mat ProcessAverage(vec &x, vec &y);
72  mat Concatenate(vec &x, vec &y);
73 
74  mat Stitch(vec &x, vec &y, int v_pos, int h_pos);
75 
76  bool ParentsValid();
77 };
78 
79 #endif // METADATASET_H
The MetaDataset class A subclass of VespucciDataset for datasets created from multiple other datasets...
Definition: metadataset.h:30
const QString name() const
VespucciDataset::name.
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.
vec * parents()
MetaDataset(QString name, MainWindow *main_window, QString *directory, QString method_description, MetaMethod::Method method, QList< QSharedPointer< VespucciDataset > > parent_datasets)
MetaDataset::MetaDataset.
Definition: metadataset.cpp:34
vec y() const
VespucciDataset::y.
vec x() const
VespucciDataset::x.
The MainWindow class The main window of the program, this is where the user performs most operations...
Definition: mainwindow.h:58