#include <DataFunctions.h>
Public Member Functions | |
Mask (double value) | |
Constructor. | |
Mask (const double *value) | |
Constructor. | |
Mask (const char *fname) | |
Constructor. | |
Mask (const char *fname, double value) | |
Constructor. | |
virtual double | Op (double value, double constant, bool &mask) const |
Transform data value and/or mask data value by setting *mask = false. | |
virtual void | Process (int n, double *data, bool *mask=NULL) |
Process given data (not thread-safe!) | |
Public Member Functions inherited from mirtk::data::Op | |
virtual | ~Op () |
Destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from mirtk::data::op::ElementWiseBinaryOp | |
ElementWiseBinaryOp (double value) | |
Constructor. | |
ElementWiseBinaryOp (const double *value) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, double value) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const double *value) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const char *aname, bool cell_data=false) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const char *aname, double value, bool cell_data=false) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const char *aname, const double *value, bool cell_data=false) | |
Constructor. | |
void | Finalize () |
Finalize processing and release temporary memory. | |
void | Initialize (int n, double *data, bool *mask=nullptr) |
Initialize processing and read data from file. | |
Mask values.
Definition at line 681 of file DataFunctions.h.