TLIB documentation
 

tlCameraSVS.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 __TLCAMERASVS_H__
00018 #define __TLCAMERASVS_H__
00019 
00020 
00021 #define TL_CAMERA_SVS_FILENAME  "svs.ini"
00022 
00023 
00024 #include "tlVision.h"
00025 #include "tlCameraSVSBase.h"
00026 
00027 #include "svsclass.h"
00028 
00029 
00030 
00031 
00032 // interface
00033 class tlCameraSVS : public tlCameraSVSBase
00034 {
00035 private:
00036   tlSource        *leftSource;
00037   tlSource        *rightSource;
00038 
00039 public:
00040   tlCameraSVS  ();
00041   tlCameraSVS  (char *filename);
00042   virtual ~tlCameraSVS ();
00043 
00044   tlSource    *getLeftSource    () { return leftSource;  };
00045   tlSource    *getRightSource   () { return rightSource; };
00046 
00047   int         setSource       (tlSource *leftSource, tlSource *rightSource);
00048   int         setLeftSource   (tlSource *source);
00049   int         setRightSource  (tlSource *source);
00050 
00051   virtual int grab            (tlImage *image);
00052   virtual int grab            (tlImage *image, tlRect *rect);
00053   virtual int grabQueued      (tlImage *image);
00054   virtual int grabQueued      (tlImage *image, tlRect *rect);
00055 
00056   virtual int grab            (tlImage *image, tlImage *disparity);
00057   virtual int grab            (tlImage *image, tlImage *disparity, tlRect *rect);
00058   virtual int grabQueued      (tlImage *image, tlImage *disparity);
00059   virtual int grabQueued      (tlImage *image, tlImage *disparity, tlRect *rect);
00060 
00061 };
00062 
00063 #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.