-
Notifications
You must be signed in to change notification settings - Fork 0
/
expresultvis.h
51 lines (41 loc) · 1.09 KB
/
expresultvis.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
#ifndef EXPRESULTVIS_H
#define EXPRESULTVIS_H
#include <QGLWidget>
#include "ui_expresultvis.h"
#include "FiberData.h"
#include "ColorTable.h"
class expResultVis : public QGLWidget
{
Q_OBJECT
public:
expResultVis(QWidget *parent = 0);
~expResultVis();
private:
Ui::expResultVisClass ui;
int _widgetWidth, _widgetHeight;
vector<FloatPoint> _atlasMDS;
vector<CylindPoint> _atlasTractEmbs;
vector<CylindPoint> _atlasClusterEmbs;
FiberData * _labeledFiberData;
vector<CylindPoint> _healthyEmbeds;
vector<CylindPoint> _subjectEmbeds;
float * _ordinaryMDS;
float * _constrainedMDS;
float * _fibToRegDist;
int * _clusters;
ColorTable * _colorTable;
FiberData * _fiberData;
protected:
void initializeGL();
void resizeGL(int width, int height);
void paintGL();
public:
void drawAtlasClusterMDS ();
void drawAtlasTract ();
void drawAtlasTractEmbs();
void drawLabeledEmbs();
void drawGroupEmbs();
void loadEmbFile (const QString &fileName, vector<CylindPoint> &ptBuf);
void drawOrdinaryAndConstrainedMDS ();
};
#endif // EXPRESULTVIS_H