CustusX
16.5.0-rc9
An IGT application
|
#include <cxtestSyntheticVolumeComparer.h>
Public Member Functions | |
SyntheticVolumeComparer () | |
void | setPhantom (cx::cxSyntheticVolumePtr phantom) |
void | setTestImage (cx::ImagePtr image) |
void | checkRMSBelow (double threshold) |
void | checkCentroidDifferenceBelow (double val) |
void | checkMassDifferenceBelow (double val) |
void | checkValueWithin (cx::Vector3D p_r, int lowerLimit, int upperLimit) |
void | saveNominalOutputToFile (QString filename) |
void | saveOutputToFile (QString filename) |
void | setVerbose (bool val) |
bool | getVerbose () const |
Compares nominal and real versions of a test volume.
The input Test Image contains real data based on the phantom. The check methods compares this image to the corresponding nominal values in the phantom.
This class calls catch test functions.
Definition at line 54 of file cxtestSyntheticVolumeComparer.h.
cxtest::SyntheticVolumeComparer::SyntheticVolumeComparer | ( | ) |
Definition at line 48 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkCentroidDifferenceBelow | ( | double | val | ) |
Definition at line 113 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkMassDifferenceBelow | ( | double | val | ) |
Definition at line 126 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkRMSBelow | ( | double | threshold | ) |
Definition at line 97 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::checkValueWithin | ( | cx::Vector3D | p_r, |
int | lowerLimit, | ||
int | upperLimit | ||
) |
Definition at line 138 of file cxtestSyntheticVolumeComparer.cpp.
|
inline |
Definition at line 70 of file cxtestSyntheticVolumeComparer.h.
void cxtest::SyntheticVolumeComparer::saveNominalOutputToFile | ( | QString | filename | ) |
Definition at line 157 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::saveOutputToFile | ( | QString | filename | ) |
Definition at line 162 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::setPhantom | ( | cx::cxSyntheticVolumePtr | phantom | ) |
Definition at line 52 of file cxtestSyntheticVolumeComparer.cpp.
void cxtest::SyntheticVolumeComparer::setTestImage | ( | cx::ImagePtr | image | ) |
Definition at line 58 of file cxtestSyntheticVolumeComparer.cpp.
|
inline |
Definition at line 69 of file cxtestSyntheticVolumeComparer.h.