13 #ifndef mitkDICOMReaderConfigurator_h
14 #define mitkDICOMReaderConfigurator_h
119 DICOMFileReader::Pointer CreateFromXMLDocument(tinyxml2::XMLDocument& doc)
const;
120 DICOMTag tagFromXMLElement(
const tinyxml2::XMLElement*)
const;
121 std::string requiredStringAttribute(
const tinyxml2::XMLElement* xmlElement,
const std::string& key)
const;
122 unsigned int hexStringToUInt(
const std::string& s)
const;
124 ThreeDnTDICOMSeriesReader::Pointer ConfigureThreeDnTDICOMSeriesReader(ThreeDnTDICOMSeriesReader::Pointer reader,
const tinyxml2::XMLElement*)
const;
125 DICOMITKSeriesGDCMReader::Pointer ConfigureDICOMITKSeriesGDCMReader(DICOMITKSeriesGDCMReader::Pointer reader,
const tinyxml2::XMLElement*)
const;
126 void ConfigureCommonPropertiesOfDICOMITKSeriesGDCMReader(DICOMITKSeriesGDCMReader::Pointer reader,
const tinyxml2::XMLElement* element)
const;
127 void ConfigureCommonPropertiesOfThreeDnTDICOMSeriesReader(ThreeDnTDICOMSeriesReader::Pointer reader,
const tinyxml2::XMLElement* element)
const;
129 DICOMSortCriterion::Pointer CreateDICOMSortByTag(
const tinyxml2::XMLElement* xmlElement, DICOMSortCriterion::Pointer secondaryCriterion)
const;
130 DICOMSortCriterion::Pointer CreateSortByImagePositionPatient(
const tinyxml2::XMLElement* xmlElement, DICOMSortCriterion::Pointer secondaryCriterion)
const;
132 mitk::DICOMTagBasedSorter::Pointer CreateDICOMTagBasedSorter(
const tinyxml2::XMLElement* element)
const;
134 tinyxml2::XMLElement* CreateConfigStringFromReader(tinyxml2::XMLDocument& doc,
const DICOMITKSeriesGDCMReader* reader)
const;
135 tinyxml2::XMLElement* CreateConfigStringFromReader(tinyxml2::XMLDocument& doc,
const ThreeDnTDICOMSeriesReader* reader)
const;
136 tinyxml2::XMLElement* CreateConfigStringFromReader(tinyxml2::XMLDocument& doc,
const ClassicDICOMSeriesReader* reader)
const;
138 tinyxml2::XMLElement* CreateConfigStringFromDICOMDatasetSorter(tinyxml2::XMLDocument& doc,
const DICOMTagBasedSorter* sorter)
const;
140 tinyxml2::XMLElement* CreateConfigStringFromDICOMTag(tinyxml2::XMLDocument& doc,
const DICOMTag& tag)
const;
142 tinyxml2::XMLElement* CreateDICOMFileReaderTag(tinyxml2::XMLDocument& doc,
const DICOMFileReader* reader)
const;
144 std::string toHexString(
unsigned int i)
const;
147 bool QueryBooleanAttribute(
const tinyxml2::XMLElement* element,
const char* attributeName,
bool defaultValue)
const;
Sorting and grouping like mitk::DicomSeriesReader until 2013.
Interface for DICOM readers that produce mitk::Images.
Flexible reader based on itk::ImageSeriesReader and GDCM, for single-slice modalities like CT,...
Too-simple factory to create DICOMFileReaders.
~DICOMReaderConfigurator() override
DICOMFileReader::Pointer CreateFromConfigFile(const std::string &filename) const
DICOMFileReader::Pointer CreateFromUTF8ConfigString(const std::string &xmlContents) const
DICOMReaderConfigurator()
static std::string GetConfigStringFromModuleResource(const std::string &resourcePath)
std::string CreateConfigStringFromReader(DICOMFileReader::ConstPointer reader) const
mitkClassMacroItkParent(DICOMReaderConfigurator, itk::LightObject)
Sort DICOM datasets based on configurable tags.
Representation of a DICOM tag.
Extends DICOMITKSeriesGDCMReader by sorting/grouping into 3D+t image blocks.
Find image slices visible on a given plane.