-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglframe.h
More file actions
executable file
·54 lines (40 loc) · 1.2 KB
/
Copy pathglframe.h
File metadata and controls
executable file
·54 lines (40 loc) · 1.2 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
#ifndef GLFRAME_H
#define GLFRAME_H
#include <QGLWidget>
#include "glrenderthread.h"
#include <iostream>
#include <vector>
#include <pointcloud.h>
#include <opencv2/core/core.hpp>
using namespace std;
class GLFrame : public QGLWidget
{
Q_OBJECT
public:
explicit GLFrame (QWidget *parent = 0);
~GLFrame ();
void initRenderThread (void);
void stopRenderThread (void);
void resumeRenderThread (void);
void pauseRenderThread (void);
bool getCtrlMetaFlag ();
bool getAltFlag ();
void delegateSetPointCloud (PointCloud *point_cloud);
void DelegateCameraPyramidAddition (cv::Mat_<double> &camera_matrix, int rows, int cols);
signals:
public slots:
protected:
void closeEvent (QCloseEvent *event);
void resizeEvent (QResizeEvent *event);
void paintEvent (QPaintEvent *);
void focusInEvent (QFocusEvent *);
void focusOutEvent (QFocusEvent *);
void wheelEvent (QWheelEvent *);
void keyPressEvent (QKeyEvent *event);
void keyReleaseEvent (QKeyEvent *event);
GLRenderThread RenderThread;
bool Ctrl_or_Meta_key_pressed;
bool Alt_key_pressed;
private:
};
#endif // GLFRAME_H