comparison Applications/Samples/Deprecated/rt-viewer-demo/main.cpp @ 1365:c7d98d750224 broker

reduce verbosity + some comments
author Benjamin Golinvaux <bgo@osimis.io>
date Sat, 18 Apr 2020 14:35:39 +0200
parents bfd77672d825
children
comparison
equal deleted inserted replaced
1364:dd50d0852ae2 1365:c7d98d750224
670 670
671 ct_.reset(new OrthancStone::OrthancVolumeImage( 671 ct_.reset(new OrthancStone::OrthancVolumeImage(
672 IObserver::GetBroker(), context->GetOrthancApiClient(), false)); 672 IObserver::GetBroker(), context->GetOrthancApiClient(), false));
673 ct_->ScheduleLoadSeries(ctSeries_); 673 ct_->ScheduleLoadSeries(ctSeries_);
674 //ct_->ScheduleLoadSeries( 674 //ct_->ScheduleLoadSeries(
675 // "a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa"); // IBA 675 // "a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa");
676 //ct_->ScheduleLoadSeries( 676 //ct_->ScheduleLoadSeries(
677 // "03677739-1d8bca40-db1daf59-d74ff548-7f6fc9c0"); // 0522c0001 TCIA 677 // "03677739-1d8bca40-db1daf59-d74ff548-7f6fc9c0");
678 } 678 }
679 679
680 if (!doseSeries_.empty() || 680 if (!doseSeries_.empty() ||
681 !doseInstance_.empty()) 681 !doseInstance_.empty())
682 { 682 {
700 { 700 {
701 dose_->ScheduleLoadInstance(doseInstance_); 701 dose_->ScheduleLoadInstance(doseInstance_);
702 } 702 }
703 703
704 //dose_->ScheduleLoadInstance( 704 //dose_->ScheduleLoadInstance(
705 //"830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"); // IBA 1 705 //"830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb"); // 1
706 //dose_->ScheduleLoadInstance( 706 //dose_->ScheduleLoadInstance(
707 //"269f26f4-0c83eeeb-2e67abbd-5467a40f-f1bec90c"); //0522c0001 TCIA 707 //"269f26f4-0c83eeeb-2e67abbd-5467a40f-f1bec90c"); //0522c0001 TCIA
708 } 708 }
709 709
710 if (!structInstance_.empty()) 710 if (!structInstance_.empty())
713 IObserver::GetBroker(), context->GetOrthancApiClient())); 713 IObserver::GetBroker(), context->GetOrthancApiClient()));
714 714
715 struct_->ScheduleLoadInstance(structInstance_); 715 struct_->ScheduleLoadInstance(structInstance_);
716 716
717 //struct_->ScheduleLoadInstance( 717 //struct_->ScheduleLoadInstance(
718 //"54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9"); // IBA 718 //"54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9");
719 //struct_->ScheduleLoadInstance( 719 //struct_->ScheduleLoadInstance(
720 //"17cd032b-ad92a438-ca05f06a-f9e96668-7e3e9e20"); // 0522c0001 TCIA 720 //"17cd032b-ad92a438-ca05f06a-f9e96668-7e3e9e20"); // 0522c0001 TCIA
721 } 721 }
722 722
723 mainWidget_ = new LayoutWidget("main-layout"); 723 mainWidget_ = new LayoutWidget("main-layout");