-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstruct3d.h
More file actions
42 lines (33 loc) · 742 Bytes
/
struct3d.h
File metadata and controls
42 lines (33 loc) · 742 Bytes
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
#ifndef STRUCT3D_H
#define STRUCT3D_H
#include <QWidget>
#include "tethrascene.h"
#include "abstractstructure.h"
namespace Ui {
class struct3d;
}
class QGraphicsView;
class QSlider;
class struct3d : public AbstractStructure
{
Q_OBJECT
public:
explicit struct3d(QWidget *parent = 0);
~struct3d();
unsigned giveNumber(){return giveSynapses().size();};
std::vector<std::vector<double> > & giveSynapses();
public slots:
void saveImage();
void zoomIn();
void zoomOut();
void color() ;
void save();
void showOrder(int n);
private:
Ui::struct3d *ui;
QSlider *xSlider;
QSlider *ySlider;
QGraphicsView * view;
tethraScene * scene;
};
#endif // STRUCT3D_H