Subversion Repositories seema-scanner

Rev

Rev 18 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef CameraPointGrey_H
#define CameraPointGrey_H

#include "Camera.h"
#include <FlyCapture2.h>

using namespace std;

class CameraPointGrey : public Camera {
    public:
        // Static methods
        static vector<CameraInfo> getCameraList();
        // Interface function
        CameraPointGrey(unsigned int camNum);
        CameraSettings getCameraSettings();
        void setCameraSettings(CameraSettings);
        void startCapture();
        void stopCapture();
        CameraFrame lockFrame();
        void unlockFrame();
        CameraFrame getSingleFrame();
        size_t getFrameSizeBytes();
        void getFrameWidthHeight(unsigned int *width, unsigned int *height);
        ~CameraPointGrey();
    private:
        FlyCapture2::Camera cam;
};

#endif