TLIB documentation
 

tlDigitizerVRm.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 __TLDIGITIZERVRM_H__
00018 #define __TLDIGITIZERVRM_H__
00019 
00020 
00021 
00022 #include "tlVision.h"
00023 #include "tlDigitizer.h"
00024 
00025 #include "vrmusbcam2.h"
00026 
00027 
00028 
00029 #define TL_DIGITIZERVRM_DEFAULT_WIDTH   720
00030 #define TL_DIGITIZERVRM_DEFAULT_HEIGHT  556
00031 
00032 
00033 
00034 // interface
00035 class tlDigitizerVRm : public tlDigitizer
00036 {
00037 private:
00038   VRmUsbCamDevice device;
00039 
00040 public:
00041   tlDigitizerVRm  ();
00042   virtual ~tlDigitizerVRm ();
00043 
00044   virtual int open            (int index = 0);
00045   virtual int close           ();
00046 
00047   // virtual int setChannel      (int channel, unsigned short input);
00048   // virtual int setInput        (unsigned short input);
00049 
00050   virtual int grab            (tlImage *image);
00051   virtual int grab            (tlImage *image, tlRect *rect);
00052   virtual int grabQueued      (tlImage *image);
00053   virtual int grabQueued      (tlImage *image, tlRect *rect);
00054 };
00055 
00056 
00057 #endif


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.