MCPcopy Create free account
hub / github.com/MITK/MITK / BuildDICOMReader

Method BuildDICOMReader

Modules/DICOMTesting/src/mitkTestDICOMLoading.cpp:95–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95mitk::DICOMFileReader::Pointer
96mitk::TestDICOMLoading
97::BuildDICOMReader()
98{
99 DICOMFileReader::Pointer reader;
100
101 std::string xmlDescription = DICOMReaderConfigurator::GetConfigStringFromModuleResource("configurations/3DnT/1_default_config.xml");
102
103 if (!xmlDescription.empty())
104 {
105 DICOMReaderConfigurator::Pointer configurator = DICOMReaderConfigurator::New();
106 reader = configurator->CreateFromUTF8ConfigString(xmlDescription);
107 }
108
109 return reader;
110}
111
112mitk::Image::Pointer
113mitk::TestDICOMLoading

Callers 2

LoadFilesMethod · 0.95

Calls 3

NewFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected