-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathGL_Layer.cpp
More file actions
141 lines (106 loc) · 2.34 KB
/
GL_Layer.cpp
File metadata and controls
141 lines (106 loc) · 2.34 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* FTSPlot - fast time series dataset plotter
Copyright (C) 2013 Michael Riss <Michael.Riss@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
#include <cmath>
#include <iostream>
#include "commonDefs.h"
#include "GL_Layer.h"
using namespace std;
using namespace FTSPlot;
GL_Layer::GL_Layer()
{
visible = true;
}
GL_Layer::~GL_Layer()
{
}
void GL_Layer::paintGL()
{
cout << "GL_Layer::paintGL() called" << endl;
}
void GL_Layer::genDisplayList ( qint64 reqXdataBegin, qint64 reqXdataEnd, int reqDispPower, double YFrustMin, double YFrustMax )
{
}
void GL_Layer::toggleLists()
{
}
double GL_Layer::getMin()
{
return DoubleInfinity;
}
double GL_Layer::getMax()
{
return -DoubleInfinity;
}
void GL_Layer::setColor ( QColor color )
{
}
QString GL_Layer::getPath()
{
return QString();
}
void GL_Layer::mouseMoveEvent ( QMouseEvent * event )
{
event->ignore();
}
void GL_Layer::mousePressEvent ( QMouseEvent * event )
{
event->ignore();
}
void GL_Layer::wheelEvent ( QWheelEvent * event )
{
event->ignore();
}
void GL_Layer::setVisible ( bool visible )
{
this->visible = visible;
}
bool GL_Layer::isVisible()
{
return visible;
}
void GL_Layer::enterEvent ( QEvent* )
{
}
void GL_Layer::leaveEvent ( QEvent* )
{
}
void GL_Layer::keyPressEvent ( QKeyEvent * )
{
}
void GL_Layer::keyReleaseEvent ( QKeyEvent * )
{
}
qint64 GL_Layer::getXmin()
{
return -1;
}
qint64 GL_Layer::getXmax()
{
return -1;
}
void GL_Layer::showGUI()
{
}
void GL_Layer::hideGUI()
{
}
bool GL_Layer::hasGUI()
{
return false;
}
bool GL_Layer::GUIvisible()
{
return false;
}
// kate: indent-mode cstyle; space-indent on; indent-width 4;