Mercurial > hg > orthanc-stone
diff Applications/Samples/SingleVolumeApplication.h @ 128:c993693e9e63 wasm
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 14 Nov 2017 17:26:10 +0100 |
parents | c9e88e7935a4 |
children | 1982d6c1d2ff |
line wrap: on
line diff
--- a/Applications/Samples/SingleVolumeApplication.h Wed Nov 08 17:53:55 2017 +0100 +++ b/Applications/Samples/SingleVolumeApplication.h Tue Nov 14 17:26:10 2017 +0100 @@ -211,12 +211,13 @@ //pet->ScheduleLoadInstance("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"); // IBA 3 //pet->ScheduleLoadInstance("269f26f4-0c83eeeb-2e67abbd-5467a40f-f1bec90c"); // 0522c0001 TCIA - const std::string s = "54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9"; // IBA - //const std::string s = "17cd032b-ad92a438-ca05f06a-f9e96668-7e3e9e20"; // 0522c0001 TCIA + std::auto_ptr<DicomStructureSetRendererFactory> rtStruct(new DicomStructureSetRendererFactory(context.GetWebService())); + rtStruct->ScheduleLoadInstance("54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9"); // IBA + //rtStruct->ScheduleLoadInstance("17cd032b-ad92a438-ca05f06a-f9e96668-7e3e9e20"); // 0522c0001 TCIA widget->AddLayer(new VolumeImageSource(*ct)); widget->AddLayer(new VolumeImageSource(*pet)); - widget->AddLayer(new DicomStructureSetRendererFactory(context.GetWebService(), s)); + widget->AddLayer(rtStruct.release()); context.AddInteractor(new Interactor(*pet, *widget, projection, 1)); //context.AddInteractor(new VolumeImageInteractor(*ct, *widget, projection));