adeae3a0
David Mayerich
Initial commit, s...
|
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
|
/*#ifndef SPECTRUMPLOT_H
#define SPECTRUMPLOT_H
#include "qcustomplot.h"
//stim libraries
#include "stim/envi/envi.h"
namespace Ui {
class MainWindow;
}
class SpectrumPlot : public QCustomPlot
{
Q_OBJECT
public:
//explicit MainWindow(QWidget *parent = 0);
//~MainWindow();
//void mousePressEvent(QMouseEvent* event); //handles when the image is clicked
//void resizeEvent(QResizeEvent* event); //handles when the window is resized
private:
//Ui::MainWindow *ui;
//QGraphicsScene* scene; //scene containing the image and any drawn UI elements
//QPixmap image; //stores the pixels for the displayed image
//QPoint p; //stores the picked position of the image
//SpectrumWindow* s; //window displaying the spectrum of the selected pixel
//stim::envi hsi; //data structure storing the current hyperspectral image
//QVector<double> x; //x values for the spectrum
//QVector<double> y; //y values for the spectrum
//void draw_overlay(); //draws an overlay showing the picked position
//void draw_viewport(); //draws the viewport, including the image and overlay
//void load_spectrum(); //loads a spectrum from the HSI and stores it in the global variable y
//void draw_spectrum(); //sends a spectrum to the SpectrumWindow for plotting
};
#endif // SPECTRUMPLOT_H*/
|