-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSLProjectorVirtual.h
More file actions
33 lines (27 loc) · 966 Bytes
/
SLProjectorVirtual.h
File metadata and controls
33 lines (27 loc) · 966 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
/*
*
SLStudio - Platform for Real-Time Structured Light
(c) 2013 -- 2014 Jakob Wilm, DTU, Kgs.Lyngby, Denmark
*
*/
#ifndef SLPROJECTORVIRTUAL_H
#define SLPROJECTORVIRTUAL_H
#include "Projector.h"
#include <QTime>
// Virtual Projector implementation. Does essentially nothing.
class SLProjectorVirtual: public Projector {
public:
// Interface function
SLProjectorVirtual(unsigned int);
void setPattern(unsigned int /*patternNumber*/, const unsigned char */*tex*/, unsigned int /*texWidth*/, unsigned int /*texHeight*/){}
void displayPattern(unsigned int /*patternNumber*/);
void displayTexture(const unsigned char */*tex*/, unsigned int /*width*/, unsigned int /*height*/);
void displayBlack();
void displayWhite();
void getScreenRes(unsigned int */*nx*/, unsigned int */*ny*/);
~SLProjectorVirtual();
private:
void waitForProjection();
QTime *time;
};
#endif