00001 #ifndef TE_LINEAR_FILTER_H 00002 #define TE_LINEAR_FILTER_H 00003 00004 /*****************************************************************************\ 00005 * 00006 * TeLinearFilter.h 00007 * 00008 * TeLinearFilter generator class 00009 * 00010 * Author: Martin Havlíček (xhavli15 AT stud.fit.vutbr.cz) 00011 * Contributors: 00012 * 00013 * ---------------------------------------------------------------------------- 00014 * 00015 * THIS SOFTWARE IS NOT COPYRIGHTED 00016 * 00017 * This source code is offered for use in the public domain. 00018 * You may use, modify or distribute it freely. 00019 * 00020 * This source code is distributed in the hope that it will be useful but 00021 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00022 * DISCLAIMED. This includes but is not limited to warranties of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00024 * 00025 * If you find the source code useful, authors will kindly welcome 00026 * if you give them credit and keep their names with their source code. 00027 * 00028 \*****************************************************************************/ 00029 00037 #include "generators/TeGenerator.h" 00038 00053 class TeLinearFilter : public TeGenerator { 00054 00055 private: 00056 00058 int _times; 00060 float _coef; 00061 00062 public: 00063 00071 int times; 00082 float coef; 00083 00084 TeLinearFilter(); 00085 00086 virtual void setDefaults(); 00087 virtual void updateParams(); 00088 virtual void generate(); 00089 virtual SbBool genStep(); 00090 00091 }; 00092 00093 00094 #endif /* TE_LINEAR_FILTER_H */