Subversion Repositories seema-scanner

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jakw 1
#ifndef PROJECTORLC3000_H
2
#define PROJECTORLC3000_H
3
 
4
#include <iostream>
5
#include <vector>
6
#include <sys/types.h>
7
 
8
#include "Projector.h"
9
 
10
 
11
#include "LC3000API/lcr_cmd.h"
12
 
13
// Projector implementation for LightCrafter 3000 USB Api
14
class ProjectorLC3000 : public Projector {
15
    public:
16
        // Interface function
17
        ProjectorLC3000(unsigned int);
18
        // Define preset pattern sequence and upload to GPU
19
        void setPattern(unsigned int patternNumber, const unsigned char *tex, unsigned int texWidth, unsigned int texHeight);
20
        void displayPattern(unsigned int patternNumber);
21
        // Upload and display pattern on the fly
22
        void displayTexture(const unsigned char *tex, unsigned int width, unsigned int height);
23
        void displayBlack();
24
        void displayWhite();
25
        void getScreenRes(unsigned int *nx, unsigned int *ny);
26
        ~ProjectorLC3000();
27
    private:
28
        LCR_PatternSeqSetting_t patternSeqSettings;
29
        ErrorCode_t res;
30
};
31
 
32
#endif