Mercurial > hg > orthanc-stone
comparison Applications/Samples/SingleVolumeApplication.h @ 126:c9e88e7935a4 wasm
rt-struct projection
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 Nov 2017 17:27:38 +0100 |
parents | ed0003f6102c |
children | c993693e9e63 |
comparison
equal
deleted
inserted
replaced
125:44fc253d4876 | 126:c9e88e7935a4 |
---|---|
201 #else | 201 #else |
202 std::auto_ptr<OrthancVolumeImage> ct(new OrthancVolumeImage(context.GetWebService(), false)); | 202 std::auto_ptr<OrthancVolumeImage> ct(new OrthancVolumeImage(context.GetWebService(), false)); |
203 //ct->ScheduleLoadSeries("dd069910-4f090474-7d2bba07-e5c10783-f9e4fb1d"); | 203 //ct->ScheduleLoadSeries("dd069910-4f090474-7d2bba07-e5c10783-f9e4fb1d"); |
204 ct->ScheduleLoadSeries("a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa"); // IBA | 204 ct->ScheduleLoadSeries("a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa"); // IBA |
205 //ct->ScheduleLoadSeries("03677739-1d8bca40-db1daf59-d74ff548-7f6fc9c0"); // 0522c0001 TCIA | 205 //ct->ScheduleLoadSeries("03677739-1d8bca40-db1daf59-d74ff548-7f6fc9c0"); // 0522c0001 TCIA |
206 | 206 |
207 std::auto_ptr<OrthancVolumeImage> pet(new OrthancVolumeImage(context.GetWebService(), true)); | 207 std::auto_ptr<OrthancVolumeImage> pet(new OrthancVolumeImage(context.GetWebService(), true)); |
208 //pet->ScheduleLoadSeries("aabad2e7-80702b5d-e599d26c-4f13398e-38d58a9e"); | 208 //pet->ScheduleLoadSeries("aabad2e7-80702b5d-e599d26c-4f13398e-38d58a9e"); |
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 |
218 widget->AddLayer(new VolumeImageSource(*pet)); | 218 widget->AddLayer(new VolumeImageSource(*pet)); |
219 widget->AddLayer(new DicomStructureSetRendererFactory(context.GetWebService(), s)); | 219 widget->AddLayer(new DicomStructureSetRendererFactory(context.GetWebService(), s)); |
220 | 220 |
221 context.AddInteractor(new Interactor(*pet, *widget, projection, 1)); | 221 context.AddInteractor(new Interactor(*pet, *widget, projection, 1)); |
222 //context.AddInteractor(new VolumeImageInteractor(*ct, *widget, projection)); | 222 //context.AddInteractor(new VolumeImageInteractor(*ct, *widget, projection)); |
223 | |
223 context.AddVolume(ct.release()); | 224 context.AddVolume(ct.release()); |
224 context.AddVolume(pet.release()); | 225 context.AddVolume(pet.release()); |
225 | 226 |
226 { | 227 { |
227 RenderStyle s; | 228 RenderStyle s; |