Computer Assisted Medical Intervention Tool Kit  version 5.2
MinThreshold Class Reference

A Threshold method is a method where individualTest is true is the tested double is superior or equal to a fixed value. More...

#include <MinThreshold.h>

+ Inheritance diagram for MinThreshold:
+ Collaboration diagram for MinThreshold:

Public Member Functions

bool individualTest (double tested) override
 return true if tested >= value More...
 
 MinThreshold (mml::MinThreshold *m)
 constructor More...
 
std::string toString () override
 get Method name More...
 
 ~MinThreshold () override=default
 destructor More...
 
- Public Member Functions inherited from Method
 Method (mml::Method *m)
 constructor More...
 
std::string scopeTosString ()
 get a String of the scope More...
 
virtual bool test (std::vector< double > &values)
 return true if the vector of fouble values passed the test (see scope) More...
 
virtual ~Method ()=default
 destructor More...
 

Additional Inherited Members

- Public Types inherited from Method
enum  ScopeType { Any , Average , Sum , None }
 the scope of the method More...
 
- Protected Attributes inherited from Method
ScopeType scope
 scope of the method Any: test is true if all indivitual test are true in the values vector Average: test is true if the indivudal test of values vector's average is true Sum: test is true if the indivudal test of the sum of all double of the values vector is true None: used for monitor wich are not applied to a structural component (ex: time) More...
 

Detailed Description

A Threshold method is a method where individualTest is true is the tested double is superior or equal to a fixed value.

Constructor & Destructor Documentation

◆ MinThreshold()

MinThreshold::MinThreshold ( mml::MinThreshold *  m)

constructor

Parameters
thexsdcxx generated MinThreshold class

◆ ~MinThreshold()

MinThreshold::~MinThreshold ( )
overridedefault

destructor

Member Function Documentation

◆ individualTest()

bool MinThreshold::individualTest ( double  tested)
overridevirtual

return true if tested >= value

Implements Method.

◆ toString()

std::string MinThreshold::toString ( )
overridevirtual

get Method name

Implements Method.


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