-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCylinderDisplay.h
More file actions
48 lines (37 loc) · 827 Bytes
/
CylinderDisplay.h
File metadata and controls
48 lines (37 loc) · 827 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
43
44
45
46
47
48
#ifndef CYLINDER_DISP
#define CYLINDER_DISP
//#include <GL/glut.h>
#include <QtOpenGL/QGLWidget>
#include <math.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include <QGLWidget>
#include "BasicTypes.h"
#include "AbstractGraph.h"
#include "UiVariables.h"
#include "NucleotideLinker.h"
using namespace std;
class CylinderDisplay : public AbstractGraph
{
Q_OBJECT
public:
CylinderDisplay(UiVariables* gui, GLWidget* gl);
~CylinderDisplay();
void createSquare();
void quickSquare();
void calculateOutputPixels();
void display();
GLuint render();
int width();
string SELECT_MouseClick(point2D pt);
public slots:
signals:
private:
float max_width;
GLuint square;
vector<float> width_list;
NucleotideLinker* ntLinker;
float turnCylinder;
};
#endif