Medical Imaging Interaction Toolkit  2023.12.99-b884b24c
Medical Imaging Interaction Toolkit
mitk::DICOMTagBasedSorter::CutDecimalPlaces Class Reference

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>

Inheritance diagram for mitk::DICOMTagBasedSorter::CutDecimalPlaces:
Collaboration diagram for mitk::DICOMTagBasedSorter::CutDecimalPlaces:

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...
 
TagValueProcessorClone () const override
 
- Public Member Functions inherited from mitk::DICOMTagBasedSorter::TagValueProcessor
virtual ~TagValueProcessor ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CutDecimalPlaces() [1/2]

mitk::DICOMTagBasedSorter::CutDecimalPlaces::CutDecimalPlaces ( unsigned int  precision)

◆ CutDecimalPlaces() [2/2]

mitk::DICOMTagBasedSorter::CutDecimalPlaces::CutDecimalPlaces ( const CutDecimalPlaces other)

Member Function Documentation

◆ Clone()

TagValueProcessor* mitk::DICOMTagBasedSorter::CutDecimalPlaces::Clone ( ) const
overridevirtual

◆ GetPrecision()

unsigned int mitk::DICOMTagBasedSorter::CutDecimalPlaces::GetPrecision ( ) const

◆ operator()()

std::string mitk::DICOMTagBasedSorter::CutDecimalPlaces::operator() ( const std::string &  ) const
overridevirtual

Implements the "processing".

Implements mitk::DICOMTagBasedSorter::TagValueProcessor.


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