13 #ifndef mitkDICOMReaderConfigurator_h
14 #define mitkDICOMReaderConfigurator_h
100 DICOMFileReader::Pointer CreateFromConfigFile(
const std::string& filename)
const;
101 DICOMFileReader::Pointer CreateFromUTF8ConfigString(
const std::string& xmlContents)
const;
103 std::string CreateConfigStringFromReader(DICOMFileReader::ConstPointer reader)
const;
112 DICOMFileReader::Pointer CreateFromXMLDocument(tinyxml2::XMLDocument& doc)
const;
113 DICOMTag tagFromXMLElement(
const tinyxml2::XMLElement*)
const;
114 std::string requiredStringAttribute(
const tinyxml2::XMLElement* xmlElement,
const std::string& key)
const;
115 unsigned int hexStringToUInt(
const std::string& s)
const;
117 ThreeDnTDICOMSeriesReader::Pointer ConfigureThreeDnTDICOMSeriesReader(ThreeDnTDICOMSeriesReader::Pointer reader,
const tinyxml2::XMLElement*)
const;
118 DICOMITKSeriesGDCMReader::Pointer ConfigureDICOMITKSeriesGDCMReader(DICOMITKSeriesGDCMReader::Pointer reader,
const tinyxml2::XMLElement*)
const;
119 void ConfigureCommonPropertiesOfDICOMITKSeriesGDCMReader(DICOMITKSeriesGDCMReader::Pointer reader,
const tinyxml2::XMLElement* element)
const;
120 void ConfigureCommonPropertiesOfThreeDnTDICOMSeriesReader(ThreeDnTDICOMSeriesReader::Pointer reader,
const tinyxml2::XMLElement* element)
const;
122 DICOMSortCriterion::Pointer CreateDICOMSortByTag(
const tinyxml2::XMLElement* xmlElement, DICOMSortCriterion::Pointer secondaryCriterion)
const;
123 DICOMSortCriterion::Pointer CreateSortByImagePositionPatient(
const tinyxml2::XMLElement* xmlElement, DICOMSortCriterion::Pointer secondaryCriterion)
const;
125 mitk::DICOMTagBasedSorter::Pointer CreateDICOMTagBasedSorter(
const tinyxml2::XMLElement* element)
const;
127 tinyxml2::XMLElement* CreateConfigStringFromReader(tinyxml2::XMLDocument& doc,
const DICOMITKSeriesGDCMReader* reader)
const;
128 tinyxml2::XMLElement* CreateConfigStringFromReader(tinyxml2::XMLDocument& doc,
const ThreeDnTDICOMSeriesReader* reader)
const;
129 tinyxml2::XMLElement* CreateConfigStringFromReader(tinyxml2::XMLDocument& doc,
const ClassicDICOMSeriesReader* reader)
const;
131 tinyxml2::XMLElement* CreateConfigStringFromDICOMDatasetSorter(tinyxml2::XMLDocument& doc,
const DICOMTagBasedSorter* sorter)
const;
133 tinyxml2::XMLElement* CreateConfigStringFromDICOMTag(tinyxml2::XMLDocument& doc,
const DICOMTag& tag)
const;
135 tinyxml2::XMLElement* CreateDICOMFileReaderTag(tinyxml2::XMLDocument& doc,
const DICOMFileReader* reader)
const;
137 std::string toHexString(
unsigned int i)
const;
140 bool QueryBooleanAttribute(
const tinyxml2::XMLElement* element,
const char* attributeName,
bool defaultValue)
const;