Medical Imaging Interaction Toolkit  2016.11.0
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
 
virtual std::string operator() (const std::string &) const override
 Implements the "processing". More...
 
virtual 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 65 of file mitkDICOMTagBasedSorter.h.

Constructor & Destructor Documentation

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

Definition at line 22 of file mitkDICOMTagBasedSorter.cpp.

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

Definition at line 28 of file mitkDICOMTagBasedSorter.cpp.

Member Function Documentation

mitk::DICOMTagBasedSorter::TagValueProcessor * mitk::DICOMTagBasedSorter::CutDecimalPlaces::Clone ( ) const
overridevirtual
unsigned int mitk::DICOMTagBasedSorter::CutDecimalPlaces::GetPrecision ( ) const

Definition at line 85 of file mitkDICOMTagBasedSorter.cpp.

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

Implements the "processing".

Implements mitk::DICOMTagBasedSorter::TagValueProcessor.

Definition at line 35 of file mitkDICOMTagBasedSorter.cpp.


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