comparison Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp @ 1417:afdd5be8731c loader-injection-feature

when CT slices are loaded, it is now possible to act on this by implementing the ISlicePostProcessor interface and inject it in the loader.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 11 May 2020 17:38:29 +0200
parents f4a06ad1580b
children dad6a2fe6fc7
comparison
equal deleted inserted replaced
1416:d959bc8f6c1b 1417:afdd5be8731c
360 instance->SetOrthancInstanceIdentifier(instances[i]); 360 instance->SetOrthancInstanceIdentifier(instances[i]);
361 361
362 // the 3D plane corresponding to the slice 362 // the 3D plane corresponding to the slice
363 OrthancStone::CoordinateSystem3D geometry = instance->GetGeometry(); 363 OrthancStone::CoordinateSystem3D geometry = instance->GetGeometry();
364 slices.AddSlice(geometry, instance.release()); 364 slices.AddSlice(geometry, instance.release());
365
366 if (slicePostProcessor_)
367 slicePostProcessor_->ProcessCTDicomSlice(dicom);
365 } 368 }
366 369
367 seriesGeometry_.ComputeGeometry(slices); 370 seriesGeometry_.ComputeGeometry(slices);
368 } 371 }
369 372