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

Mask values. More...

#include <DataFunctions.h>

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

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.
 

Detailed Description

Mask values.

Definition at line 681 of file DataFunctions.h.


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