TLIB documentation
 

tlDigitizerDT3130.h

Go to the documentation of this file.
00001 /////////////////////////////////////////////////////////////////////////////////
00002 //
00003 //  This file is part of the TLIB computer vision library.
00004 //  Copyright (C) 2003-2008 Sebastien Grange
00005 //  Copyright (C) 2003-2007 VRAI Group, EPFL
00006 //  All rights reserved.
00007 // 
00008 //  This library is free software; you can redistribute it and/or modify
00009 //  it under the terms of the GNU General Public License("GPL") version 2
00010 //  as published by the Free Software Foundation.
00011 // 
00012 //  <http://www.tuyphon.com/tlib>
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 // debug verbosity
00030 extern int tlVerbose;
00031 
00032 
00033 // interface
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 


TLIB documentation - generated on 7 May 2008
Please address any questions to seb@tuyphon.com
(C) 2001-2008 - S. Grange
(C) 2001-2007 - VRAI Group, EPFL
All Rights Reserved.