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;
108 static std::string GetConfigStringFromModuleResource(
const std::string& resourcePath);
110 std::string CreateConfigStringFromReader(DICOMFileReader::ConstPointer reader)
const;
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;