00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TLDIGITIZERDT3130_H__
00018 #define __TLDIGITIZERDT3130_H__
00019
00020
00021 #include "tlVision.h"
00022 #include "tlDigitizer.h"
00023
00024 #include "olfgapi.h"
00025 #include "olimgapi.h"
00026 #include "olwintyp.h"
00027 #include "DtColorSDK.h"
00028
00029
00030 extern int tlVerbose;
00031
00032
00033
00034 class tlDigitizerDT3130 : public tlDigitizer
00035 {
00036 private:
00037 char name[OLC_MAX_ALIAS_STR_SIZE];
00038 OLT_IMG_DEV_ID devId;
00039 OLT_FG_FRAME_ID frameId;
00040 OLT_FG_FRAME_INFO frameInfo;
00041 OLT_FG_ACQJOB_ID jobId;
00042 OLT_FG_PASSJOB_ID jobPassId;
00043
00044 public:
00045 tlDigitizerDT3130 ();
00046 tlDigitizerDT3130 (int width, int height);
00047 tlDigitizerDT3130 (int width, int height, int channel, unsigned short input = TL_SOURCE_AUTO);
00048 virtual ~tlDigitizerDT3130 ();
00049
00050 virtual int open (int index = 0);
00051 virtual int open (int width, int height, int index = 0);
00052 int open (int width, int height, int index, int channel, unsigned short input = TL_SOURCE_AUTO);
00053 virtual int close ();
00054
00055 virtual int setChannel (int channel, unsigned short input);
00056 virtual int setInput (unsigned short input);
00057 virtual int setFrameRate (int fps);
00058 virtual int setSize (int width, int height);
00059
00060 virtual int grab (tlImage *image);
00061 virtual int grab (tlImage *image, tlRect *rect);
00062 virtual int grabQueued (tlImage *image);
00063 virtual int grabQueued (tlImage *image, tlRect *rect);
00064 };
00065
00066
00067 #endif
00068