Fawkes API  Fawkes Development Version
hv_search.h
1 
2 /***************************************************************************
3  * hv_search.h - Header of horizontal- and vertical-search filter
4  *
5  * Created: Tue Jul 12 14:39:27 2005
6  * Copyright 2005-2007 Tim Niemueller [www.niemueller.de]
7  * 2006 Yuxiao Hu (Yuxiao.Hu@rwth-aachen.de)
8  *
9  ****************************************************************************/
10 
11 /* This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version. A runtime exception applies to
15  * this software (see LICENSE.GPL_WRE file mentioned below for details).
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Library General Public License for more details.
21  *
22  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
23  */
24 
25 #ifndef __FIREVISION_FILTER_HV_SEARCH_H_
26 #define __FIREVISION_FILTER_HV_SEARCH_H_
27 
28 #include <fvfilters/filter.h>
29 #include <fvmodels/color/colormodel.h>
30 
31 namespace firevision {
32 #if 0 /* just to make Emacs auto-indent happy */
33 }
34 #endif
35 
36 class ColorModel;
37 
38 class FilterHVSearch : public Filter
39 {
40  public:
41  FilterHVSearch(ColorModel *cm, color_t what);
42 
43  virtual void apply();
44 
45  private:
46  ColorModel *cm;
47  color_t what;
48 
49 };
50 
51 } // end namespace firevision
52 
53 #endif // __FIREVISION_FILTER_HV_SEARCH_H_
54 
Color model interface.
Definition: colormodel.h:34
FilterHVSearch(ColorModel *cm, color_t what)
Constructor.
Definition: hv_search.cpp:51
Horizontal/vertical search filter.
Definition: hv_search.h:38
Filter interface.
Definition: filter.h:35
virtual void apply()
Apply the filter.
Definition: hv_search.cpp:60