Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
127:b963f3a9a86c | 128:c993693e9e63 |
---|---|
209 pet->ScheduleLoadInstance("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"); // IBA 1 | 209 pet->ScheduleLoadInstance("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"); // IBA 1 |
210 //pet->ScheduleLoadInstance("337876a1-a68a9718-f15abccd-38faafa1-b99b496a"); // IBA 2 | 210 //pet->ScheduleLoadInstance("337876a1-a68a9718-f15abccd-38faafa1-b99b496a"); // IBA 2 |
211 //pet->ScheduleLoadInstance("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"); // IBA 3 | 211 //pet->ScheduleLoadInstance("830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"); // IBA 3 |
212 //pet->ScheduleLoadInstance("269f26f4-0c83eeeb-2e67abbd-5467a40f-f1bec90c"); // 0522c0001 TCIA | 212 //pet->ScheduleLoadInstance("269f26f4-0c83eeeb-2e67abbd-5467a40f-f1bec90c"); // 0522c0001 TCIA |
213 | 213 |
214 const std::string s = "54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9"; // IBA | 214 std::auto_ptr<DicomStructureSetRendererFactory> rtStruct(new DicomStructureSetRendererFactory(context.GetWebService())); |
215 //const std::string s = "17cd032b-ad92a438-ca05f06a-f9e96668-7e3e9e20"; // 0522c0001 TCIA | 215 rtStruct->ScheduleLoadInstance("54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9"); // IBA |
216 //rtStruct->ScheduleLoadInstance("17cd032b-ad92a438-ca05f06a-f9e96668-7e3e9e20"); // 0522c0001 TCIA | |
216 | 217 |
217 widget->AddLayer(new VolumeImageSource(*ct)); | 218 widget->AddLayer(new VolumeImageSource(*ct)); |
218 widget->AddLayer(new VolumeImageSource(*pet)); | 219 widget->AddLayer(new VolumeImageSource(*pet)); |
219 widget->AddLayer(new DicomStructureSetRendererFactory(context.GetWebService(), s)); | 220 widget->AddLayer(rtStruct.release()); |
220 | 221 |
221 context.AddInteractor(new Interactor(*pet, *widget, projection, 1)); | 222 context.AddInteractor(new Interactor(*pet, *widget, projection, 1)); |
222 //context.AddInteractor(new VolumeImageInteractor(*ct, *widget, projection)); | 223 //context.AddInteractor(new VolumeImageInteractor(*ct, *widget, projection)); |
223 | 224 |
224 context.AddVolume(ct.release()); | 225 context.AddVolume(ct.release()); |