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 __TLSIZE_H__ 00018 #define __TLSIZE_H__ 00019 00020 00021 #include "tlVision.h" 00022 00023 00024 class tlSize 00025 { 00026 public: 00027 00028 int width; 00029 int height; 00030 int depth; 00031 00032 00033 // constructor 00034 tlSize (); 00035 tlSize (int width, int height, int depth = 255); 00036 virtual ~tlSize (); 00037 00038 // management 00039 int setSize (int width, int height, int depth = 255); 00040 }; 00041 00042 00043 #endif 00044 00045