ODIN
odindata
filter_nan.h
1
//
2
// C++ Interface: filter_nan
3
//
4
// Description:
5
//
6
//
7
// Author: <Enrico Reimer>, (C) 2007
8
//
9
// Copyright: See COPYING file that comes with this distribution
10
//
11
//
12
#ifndef FILTER_NAN_H
13
#define FILTER_NAN_H
14
15
#include <odindata/filter_step.h>
16
20
class
FilterNaN
:
public
FilterStep
21
{
22
LDRfloat
replace;
23
24
STD_string label()
const
{
return
"noNaN"
;}
25
STD_string description()
const
{
return
"Replaces every NaN by the given value"
;}
26
bool
process(
Data<float,4>
& data,
Protocol
& prot)
const
;
27
FilterStep
* allocate()
const
{
return
new
FilterNaN
();}
28
void
init();
29
};
30
31
#endif
Data
Definition:
odindata/data.h:148
FilterNaN
Definition:
filter_nan.h:21
FilterStep
Definition:
filter_step.h:31
LDRnumber< float >
Protocol
Protocol proxy.
Definition:
protocol.h:33
Generated on Fri Oct 15 2021 11:36:55 for ODIN by
1.9.1