00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef JDXFILTER_H
00018 #define JDXFILTER_H
00019
00020 #include <odinpara/jdxfunction.h>
00021
00031 class JDXfilter : public JDXfunction, public StaticHandler<JDXfilter> {
00032
00033 public:
00034 JDXfilter(const STD_string& jdxlabel="unnamedJDXfilter") : JDXfunction(filterFunc,jdxlabel) {}
00035
00036 JDXfilter(const JDXfilter& jf) : JDXfunction(jf) {}
00037
00038 JDXfilter& operator = (const JDXfilter& jf) {JDXfunction::operator = (jf); return *this;}
00039
00040 float calculate (float rel_kradius) const {
00041 if(allocated_function) return allocated_function->calculate_filter(rel_kradius);
00042 else return 0.0;
00043 }
00044
00045
00046 static void init_static();
00047 static void destroy_static();
00048
00049 };
00050
00051
00055 #endif
00056
00057