Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkDICOMTagBasedSorter_h
14 #define mitkDICOMTagBasedSorter_h
52 virtual std::string operator()(
const std::string&)
const = 0;
66 unsigned int GetPrecision()
const;
67 std::string operator()(
const std::string&)
const override;
70 unsigned int m_Precision;
87 void SetSortCriterion( DICOMSortCriterion::ConstPointer criterion );
88 DICOMSortCriterion::ConstPointer GetSortCriterion()
const;
114 void SetStrictSorting(
bool strict);
115 bool GetStrictSorting()
const;
122 void SetExpectDistanceOne(
bool strict);
123 bool GetExpectDistanceOne()
const;
129 void Sort()
override;
134 void PrintConfiguration(std::ostream& os,
const std::string& indent =
"")
const override;
140 return m_DefaultStrictSorting;
145 return m_DefaultExpectDistanceOne;
201 const static bool m_DefaultStrictSorting =
false;
202 const static bool m_DefaultExpectDistanceOne =
false;
std::map< std::string, DICOMDatasetList > GroupIDToListType
Interface to datasets that is presented to sorting classes such as DICOMDatasetSorter.
TagValueProcessorMap m_TagValueProcessor
Processes tag values before they are compared. These classes could do some kind of normalization such...
Cuts a number after configured number of decimal places. An instance of this class can be used to avo...
DICOMSortCriterion::ConstPointer m_SortCriterion
static bool GetDefaultStrictSorting()
Representation of a DICOM tag.
Sort DICOM datasets based on configurable tags.
Find image slices visible on a given plane.
std::vector< DICOMTag > DICOMTagList
DICOMTagList m_DistinguishingTags
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
std::map< std::string, IOVolumeSplitReason::Pointer > SplitReasonListType
DICOMSortCriterion::ConstPointer m_SortCriterion
static bool GetDefaultExpectDistanceOne()
Helper struct to feed into std::sort, configured via DICOMSortCriterion.
#define mitkClassMacro(className, SuperClassName)
The sorting/splitting building-block of DICOMITKSeriesGDCMReader.
std::map< const DICOMTag, TagValueProcessor * > TagValueProcessorMap
virtual ~TagValueProcessor()