00001 00002 /*************************************************************************** 00003 * hv_search.h - Header of horizontal- and vertical-search filter 00004 * 00005 * Created: Tue Jul 12 14:39:27 2005 00006 * Copyright 2005-2007 Tim Niemueller [www.niemueller.de] 00007 * 2006 Yuxiao Hu (Yuxiao.Hu@rwth-aachen.de) 00008 * 00009 ****************************************************************************/ 00010 00011 /* This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU 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. A runtime exception applies to 00015 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU Library General Public License for more details. 00021 * 00022 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00023 */ 00024 00025 #ifndef __FIREVISION_FILTER_HV_SEARCH_H_ 00026 #define __FIREVISION_FILTER_HV_SEARCH_H_ 00027 00028 #include <filters/filter.h> 00029 #include <models/color/colormodel.h> 00030 00031 namespace firevision { 00032 #if 0 /* just to make Emacs auto-indent happy */ 00033 } 00034 #endif 00035 00036 class ColorModel; 00037 00038 class FilterHVSearch : public Filter 00039 { 00040 public: 00041 FilterHVSearch(ColorModel *cm, color_t what); 00042 00043 virtual void apply(); 00044 00045 private: 00046 ColorModel *cm; 00047 color_t what; 00048 00049 }; 00050 00051 } // end namespace firevision 00052 00053 #endif // __FIREVISION_FILTER_HV_SEARCH_H_ 00054