Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
 
void saveOutputToFile (QString filename)
 
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 54 of file cxtestSyntheticVolumeComparer.h.

Constructor & Destructor Documentation

cxtest::SyntheticVolumeComparer::SyntheticVolumeComparer ( )

Definition at line 48 of file cxtestSyntheticVolumeComparer.cpp.

Member Function Documentation

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.

bool cxtest::SyntheticVolumeComparer::getVerbose ( ) const
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.

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

Definition at line 69 of file cxtestSyntheticVolumeComparer.h.


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