File indexing completed on 2024-05-12 15:26:39
0001 /*************************************************************************** 0002 File : CopyThroughFilter.h 0003 Project : SciDAVis 0004 -------------------------------------------------------------------- 0005 Copyright : (C) 2007 by Knut Franke 0006 Email (use @ for *) : knut.franke*gmx.de 0007 Description : Filter which copies all provided inputs unaltered 0008 to an equal number of outputs. 0009 0010 ***************************************************************************/ 0011 0012 /*************************************************************************** 0013 * * 0014 * This program is free software; you can redistribute it and/or modify * 0015 * it under the terms of the GNU General Public License as published by * 0016 * the Free Software Foundation; either version 2 of the License, or * 0017 * (at your option) any later version. * 0018 * * 0019 * This program is distributed in the hope that it will be useful, * 0020 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 0022 * GNU General Public License for more details. * 0023 * * 0024 * You should have received a copy of the GNU General Public License * 0025 * along with this program; if not, write to the Free Software * 0026 * Foundation, Inc., 51 Franklin Street, Fifth Floor, * 0027 * Boston, MA 02110-1301 USA * 0028 * * 0029 ***************************************************************************/ 0030 #ifndef COPY_THROUGH_FILTER_H 0031 #define COPY_THROUGH_FILTER_H 0032 0033 #include "AbstractFilter.h" 0034 0035 class CopyThroughFilter : public AbstractFilter { 0036 public: 0037 virtual int inputCount() const; 0038 virtual int outputCount() const; 0039 virtual AbstractColumn* output(int port) const; 0040 }; 0041 0042 #endif // ifndef COPY_THROUGH_FILTER_H 0043