Public Member Functions | List of all members
mirtk::data::op::Sub Class Reference

Element-wise subtraction. More...

#include <DataFunctions.h>

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

Public Member Functions

virtual double Op (double value, double constant, bool &) 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!)
 
 Sub (double value)
 Constructor.
 
 Sub (const double *value)
 Constructor.
 
 Sub (const char *fname)
 Constructor.
 
- 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.
 

Detailed Description

Element-wise subtraction.

Definition at line 525 of file DataFunctions.h.


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