17 #ifndef mitkDICOMTagBasedSorter_h
18 #define mitkDICOMTagBasedSorter_h
56 virtual std::string operator()(
const std::string&)
const = 0;
70 unsigned int GetPrecision()
const;
71 virtual std::string operator()(
const std::string&)
const override;
74 unsigned int m_Precision;
85 const
TagValueProcessor* GetTagValueProcessorForDistinguishingTag(const DICOMTag&) const;
117 void SetStrictSorting(
bool strict);
118 bool GetStrictSorting() const;
125 void SetExpectDistanceOne(
bool strict);
126 bool GetExpectDistanceOne() const;
132 virtual
void Sort() override;
137 virtual
void PrintConfiguration(
std::ostream& os, const
std::
string& indent = "") const override;
172 GroupIDToListType SplitInputGroups();
178 GroupIDToListType& SortGroups(GroupIDToListType& groups);
The sorting/splitting building-block of DICOMITKSeriesGDCMReader.
std::map< const DICOMTag, TagValueProcessor * > TagValueProcessorMap
std::vector< DICOMTag > DICOMTagList
DICOMTagList m_DistinguishingTags
Representation of a DICOM tag.
#define MITKDICOMREADER_EXPORT
DICOMSortCriterion::ConstPointer m_SortCriterion
DataCollection - Class to facilitate loading/accessing structured data.
std::map< std::string, DICOMDatasetList > GroupIDToListType
itk::SmartPointer< const Self > ConstPointer
Helper struct to feed into std::sort, configured via DICOMSortCriterion.
Interface to datasets that is presented to sorting classes such as DICOMDatasetSorter.
TagValueProcessorMap m_TagValueProcessor
#define mitkClassMacro(className, SuperClassName)
virtual ~TagValueProcessor()
DICOMSortCriterion::ConstPointer m_SortCriterion
Cuts a number after configured number of decimal places. An instance of this class can be used to avo...
A tag based sorting criterion for use in DICOMTagBasedSorter.
Sort DICOM datasets based on configurable tags.
Processes tag values before they are compared. These classes could do some kind of normalization such...