Public Member Functions | Protected Member Functions | List of all members
mirtk::data::op::ElementWiseBinaryOp Class Referenceabstract

Base class of element-wise data transformations. More...

#include <DataFunctions.h>

Inheritance diagram for mirtk::data::op::ElementWiseBinaryOp:
Inheritance graph
Collaboration diagram for mirtk::data::op::ElementWiseBinaryOp:
Collaboration graph

Public Member Functions

virtual double Op (double value, double, bool &) const =0
 Transform data value and/or mask it by setting mask = false.
 
- Public Member Functions inherited from mirtk::data::Op
virtual void Process (int, double *, bool *=NULL)=0
 Process given data.
 
virtual ~Op ()
 Destructor.
 

Protected Member Functions

 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.
 

Detailed Description

Base class of element-wise data transformations.

Definition at line 186 of file DataFunctions.h.


The documentation for this class was generated from the following file: