Subversion Repositories seema-scanner

Rev

Details | Last modification | View Log | RSS feed

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