Fraxinus  22.04-rc5
An IGT application
cxtest::SyntheticVolumeComparer Class Reference

#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, cx::FileManagerServicePtr port)
 
void saveOutputToFile (QString filename, cx::FileManagerServicePtr port)
 
void setVerbose (bool val)
 
bool getVerbose () const
 

Detailed Description

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.

Date
28.11.2013
Author
christiana

Definition at line 33 of file cxtestSyntheticVolumeComparer.h.

Constructor & Destructor Documentation

cxtest::SyntheticVolumeComparer::SyntheticVolumeComparer ( )

Definition at line 27 of file cxtestSyntheticVolumeComparer.cpp.

Member Function Documentation

void cxtest::SyntheticVolumeComparer::checkCentroidDifferenceBelow ( double  val)

Definition at line 92 of file cxtestSyntheticVolumeComparer.cpp.

void cxtest::SyntheticVolumeComparer::checkMassDifferenceBelow ( double  val)

Definition at line 105 of file cxtestSyntheticVolumeComparer.cpp.

void cxtest::SyntheticVolumeComparer::checkRMSBelow ( double  threshold)

Definition at line 76 of file cxtestSyntheticVolumeComparer.cpp.

void cxtest::SyntheticVolumeComparer::checkValueWithin ( cx::Vector3D  p_r,
int  lowerLimit,
int  upperLimit 
)

Definition at line 117 of file cxtestSyntheticVolumeComparer.cpp.

bool cxtest::SyntheticVolumeComparer::getVerbose ( ) const
inline

Definition at line 49 of file cxtestSyntheticVolumeComparer.h.

void cxtest::SyntheticVolumeComparer::saveNominalOutputToFile ( QString  filename,
cx::FileManagerServicePtr  port 
)

Definition at line 136 of file cxtestSyntheticVolumeComparer.cpp.

void cxtest::SyntheticVolumeComparer::saveOutputToFile ( QString  filename,
cx::FileManagerServicePtr  port 
)

Definition at line 141 of file cxtestSyntheticVolumeComparer.cpp.

void cxtest::SyntheticVolumeComparer::setPhantom ( cx::cxSyntheticVolumePtr  phantom)

Definition at line 31 of file cxtestSyntheticVolumeComparer.cpp.

void cxtest::SyntheticVolumeComparer::setTestImage ( cx::ImagePtr  image)

Definition at line 37 of file cxtestSyntheticVolumeComparer.cpp.

void cxtest::SyntheticVolumeComparer::setVerbose ( bool  val)
inline

Definition at line 48 of file cxtestSyntheticVolumeComparer.h.


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