Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Cuts a number after configured number of decimal places. An instance of this class can be used to avoid errors when comparing minimally different image orientations. More...
#include <mitkDICOMTagBasedSorter.h>
Public Member Functions | |
CutDecimalPlaces (unsigned int precision) | |
CutDecimalPlaces (const CutDecimalPlaces &other) | |
unsigned int | GetPrecision () const |
std::string | operator() (const std::string &) const override |
Implements the "processing". More... | |
TagValueProcessor * | Clone () const override |
Public Member Functions inherited from mitk::DICOMTagBasedSorter::TagValueProcessor | |
virtual | ~TagValueProcessor () |
Cuts a number after configured number of decimal places. An instance of this class can be used to avoid errors when comparing minimally different image orientations.
Definition at line 61 of file mitkDICOMTagBasedSorter.h.
mitk::DICOMTagBasedSorter::CutDecimalPlaces::CutDecimalPlaces | ( | unsigned int | precision | ) |
mitk::DICOMTagBasedSorter::CutDecimalPlaces::CutDecimalPlaces | ( | const CutDecimalPlaces & | other | ) |
|
overridevirtual |
Implements mitk::DICOMTagBasedSorter::TagValueProcessor.
unsigned int mitk::DICOMTagBasedSorter::CutDecimalPlaces::GetPrecision | ( | ) | const |
|
overridevirtual |
Implements the "processing".
Implements mitk::DICOMTagBasedSorter::TagValueProcessor.