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

Clamp values below or equal a given threshold value. More...

#include <DataFunctions.h>

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

Public Member Functions

 Clamp (double l, double u)
 Constructor.
 
 Clamp (const double *l, const double *u)
 Constructor.
 
 Clamp (double l, const double *u)
 Constructor.
 
 Clamp (const double *l, double u)
 Constructor.
 
virtual double Op (double value, 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!)
 
- Public Member Functions inherited from mirtk::data::Op
virtual ~Op ()
 Destructor.
 

Detailed Description

Clamp values below or equal a given threshold value.

Definition at line 1158 of file DataFunctions.h.


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