ProjectedTextures
Prototype software for spacial augmented reality applications.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
ShaderLamps
src
ProjectorWidget.h
Go to the documentation of this file.
1
#ifndef PROJECTORWIDGET_H
2
#define PROJECTORWIDGET_H
3
4
#include <QTimer>
5
#include "ui_ProjectorWidget.h"
6
#include "
Geometry.h
"
7
#include "
Projector.h
"
8
#include "
RenderBase.h
"
9
15
class
ProjectorWidget
:
16
public
RenderBase
17
{
18
Q_OBJECT
19
20
public
:
25
ProjectorWidget
(
ShaderManager
* shaders, QList<Geometry*>*
geometries
, QWidget *parent = 0);
26
~ProjectorWidget
();
27
28
void
setProjector
(
Projector
*
projector
){this->projector =
projector
;}
30
protected
:
31
Projector
*
projector
;
32
QTimer*
updateTimer
;
35
void
initializeGL
();
36
void
resizeGL
(
int
w,
int
h);
37
void
paintGL
();
40
bool
intensityCorrection
;
42
private
:
43
Ui::ProjectorWidget ui;
44
45
46
public
slots:
47
void
setIntensityCorrection
(
bool
enable){
intensityCorrection
= enable;}
48
49
};
50
51
#endif // PROJECTORWIDGET_H
Generated on Fri Feb 19 2016 11:04:41 for ProjectedTextures by
1.8.4