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
31namespace firevision {
32
33class ColorModel;
34
35class FilterHVSearch : public Filter
36{
37public:
38 FilterHVSearch(ColorModel *cm, color_t what);
39
40 virtual void apply();
41
42private:
43 ColorModel *cm;
44 color_t what;
45};
46
47} // end namespace firevision
48
49#endif // FIREVISION_FILTER_HV_SEARCH_H__
Color model interface.
Definition: colormodel.h:32
Horizontal/vertical search filter.
Definition: hv_search.h:36
virtual void apply()
Apply the filter.
Definition: hv_search.cpp:53
FilterHVSearch(ColorModel *cm, color_t what)
Constructor.
Definition: hv_search.cpp:46
Filter interface.
Definition: filter.h:33