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

Method LoadImages

Modules/DICOM/src/mitkThreeDnTDICOMSeriesReader.cpp:242–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242bool
243mitk::ThreeDnTDICOMSeriesReader
244::LoadImages()
245{
246 bool success = true;
247
248 unsigned int numberOfOutputs = this->GetNumberOfOutputs();
249 for (unsigned int o = 0; o < numberOfOutputs; ++o)
250 {
251 const DICOMImageBlockDescriptor& block = this->InternalGetOutput(o);
252
253 if (block.GetFlag("3D+t", false))
254 {
255 success &= this->LoadMitkImageForOutput(o);
256 }
257 else
258 {
259 success &= DICOMITKSeriesGDCMReader::LoadMitkImageForOutput(o); // let superclass handle non-3D+t
260 }
261 }
262
263 return success;
264}
265
266bool
267mitk::ThreeDnTDICOMSeriesReader

Callers

nothing calls this directly

Calls 3

GetFlagMethod · 0.80
GetNumberOfOutputsMethod · 0.45

Tested by

no test coverage detected