Subversion Repositories seema-scanner

Rev

Rev 18 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jakw 1
#ifndef CameraPointGrey_H
2
#define CameraPointGrey_H
3
 
4
#include "Camera.h"
5
#include <FlyCapture2.h>
6
 
7
using namespace std;
8
 
9
class CameraPointGrey : public Camera {
10
    public:
11
        // Static methods
12
        static vector<CameraInfo> getCameraList();
13
        // Interface function
14
        CameraPointGrey(unsigned int camNum);
15
        CameraSettings getCameraSettings();
16
        void setCameraSettings(CameraSettings);
17
        void startCapture();
18
        void stopCapture();
19
        CameraFrame lockFrame();
20
        void unlockFrame();
21
        CameraFrame getSingleFrame();
22
        size_t getFrameSizeBytes();
23
        void getFrameWidthHeight(unsigned int *width, unsigned int *height);
24
        ~CameraPointGrey();
25
    private:
26
        FlyCapture2::Camera cam;
27
};
28
 
29
#endif