• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List

filter_nan.h

00001 //
00002 // C++ Interface: filter_nan
00003 //
00004 // Description: 
00005 //
00006 //
00007 // Author:  <Enrico Reimer>, (C) 2007
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 #ifndef FILTER_NAN_H
00013 #define FILTER_NAN_H
00014 
00015 #include <odindata/filter_step.h>
00016 
00020 class FilterNaN : public FilterStep
00021 {
00022   JDXfloat replace;
00023 
00024   STD_string label() const {return "noNaN";}
00025   STD_string description() const {return "Replaces every NaN by the given value";}
00026   bool process(Data<float,4>& data, Protocol& prot)const;
00027   FilterStep*  allocate() const {return new FilterNaN();}
00028   void init();
00029 };
00030 
00031 #endif

Generated on Tue Dec 18 2012 15:11:14 by  doxygen 1.7.1