00001 /* --------------------------------------------------------------------------- 00002 Phission : 00003 Realtime Vision Processing System 00004 00005 Copyright (C) 2003-2006 Philip D.S. Thoren (pthoren@cs.uml.edu) 00006 University of Massachusetts at Lowell, 00007 Laboratory for Artificial Intelligence and Robotics 00008 00009 This file is part of Phission. 00010 00011 Phission is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU Lesser General Public License as published by 00013 the Free Software Foundation; either version 2 of the License, or 00014 (at your option) any later version. 00015 00016 Phission is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU Lesser General Public License for more details. 00020 00021 You should have received a copy of the GNU Lesser General Public License 00022 along with Phission; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 00025 ---------------------------------------------------------------------------*/ 00026 #ifndef _PHHOUGHDATA_H 00027 #define _PHHOUGHDATA_H 00028 00034 #include <ImageGfx.h> 00035 #include <phLiveObject.h> 00036 00042 /* ------------------------------------------------------------------------ */ 00043 PHAPI(class) phHoughData : public phLiveObject 00044 { 00045 private: 00046 uint32_t m_line_count; 00047 phLine *m_lines; 00048 uint32_t m_lines_size; 00049 00050 void init(); 00051 00052 public: 00053 phHoughData(); 00054 ~phHoughData(); 00055 00056 phHoughData(const phHoughData &hough); 00057 00058 /* phLiveObject interface */ 00059 int copy( phObject *copyto_obj ); 00060 int swap( phObject *obj ); 00061 00062 int copy( phHoughData ©from ); 00063 phHoughData &operator =( phHoughData &right ); 00064 00065 int setData( phLine *lines, 00066 uint32_t line_count ); 00067 00068 uint32_t getLineCount(); 00069 phLine *getLines (); 00070 phLine getLine ( uint32_t index ); 00071 00072 void print_data(); 00073 }; 00074 /* ImageProcessing */ 00076 00077 #endif /* _PHHOUGHDATA_H */ 00078
Copyright (C) 2002 - 2007 |
Philip D.S. Thoren ( pthoren@users.sourceforge.net ) University Of Massachusetts at Lowell Robotics Lab |