TLIB documentation
 

tlCameraStereo.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 __TLCAMERASTEREO_H__
00018 #define __TLCAMERASTEREO_H__
00019 
00020 
00021 #include "tlVision.h"
00022 #include "tlCamera.h"
00023 
00024 
00025 
00026 // interface
00027 class tlCameraStereo : public tlCamera
00028 {
00029 protected:
00030 
00031 public:
00032   tlCameraStereo ();
00033   virtual ~tlCameraStereo ();
00034 
00035   virtual int grab          (tlImage *image) = 0;
00036   virtual int grab          (tlImage *image, tlRect *rect) = 0;
00037   virtual int grabQueued    (tlImage *image) = 0;
00038   virtual int grabQueued    (tlImage *image, tlRect *rect) = 0;
00039 
00040   virtual int grab          (tlImage *image, tlImage *disparity) = 0;
00041   virtual int grab          (tlImage *image, tlImage *disparity, tlRect *rect) = 0;
00042   virtual int grabQueued    (tlImage *image, tlImage *disparity) = 0;
00043   virtual int grabQueued    (tlImage *image, tlImage *disparity, tlRect *rect) = 0;
00044 
00045   virtual int getDisparity  (tlImage *disparity) = 0;
00046   virtual int getDisparity  (tlImage *disparity, tlRect *rect) = 0;
00047 
00048   virtual int getDisparity  (tlImage *leftImage, tlImage *rightImage, tlImage *disparity) = 0;
00049   virtual int getDisparity  (tlImage *leftImage, tlImage *rightImage, tlImage *disparity, tlRect *rect) = 0;
00050 
00051   virtual int toWorld       (tlLocation *location) = 0;
00052   virtual int toWorld       (tlLocation *location, tlLocation *dest) = 0;
00053   virtual int toImage       (tlLocation *location) = 0;
00054   virtual int toImage       (tlLocation *location, tlLocation *dest) = 0;
00055 };
00056 
00057 #endif
00058 


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.