comparison Framework/Volumes/StructureSetLoader.cpp @ 673:3f13f7f1b55d am-dev

merge default -> am-dev
author Alain Mazy <alain@mazy.be>
date Thu, 16 May 2019 09:11:14 +0200
parents 42dadae61fa9
children 4f2416d519b4
comparison
equal deleted inserted replaced
657:9e3bb8b4f726 673:3f13f7f1b55d
42 42
43 Orthanc::DicomMap slice; 43 Orthanc::DicomMap slice;
44 MessagingToolbox::ConvertDataset(slice, dataset); 44 MessagingToolbox::ConvertDataset(slice, dataset);
45 structureSet_->AddReferencedSlice(slice); 45 structureSet_->AddReferencedSlice(slice);
46 46
47 EmitMessage(ContentChangedMessage(*this)); 47 BroadcastMessage(ContentChangedMessage(*this));
48 } 48 }
49 49
50 50
51 void StructureSetLoader::OnStructureSetLoaded(const OrthancApiClient::JsonResponseReadyMessage& message) 51 void StructureSetLoader::OnStructureSetLoaded(const OrthancApiClient::JsonResponseReadyMessage& message)
52 { 52 {
61 { 61 {
62 orthanc_.PostBinaryAsyncExpectJson("/tools/lookup", *it, 62 orthanc_.PostBinaryAsyncExpectJson("/tools/lookup", *it,
63 new Callable<StructureSetLoader, OrthancApiClient::JsonResponseReadyMessage>(*this, &StructureSetLoader::OnLookupCompleted)); 63 new Callable<StructureSetLoader, OrthancApiClient::JsonResponseReadyMessage>(*this, &StructureSetLoader::OnLookupCompleted));
64 } 64 }
65 65
66 EmitMessage(GeometryReadyMessage(*this)); 66 BroadcastMessage(GeometryReadyMessage(*this));
67 } 67 }
68 68
69 69
70 void StructureSetLoader::OnLookupCompleted(const OrthancApiClient::JsonResponseReadyMessage& message) 70 void StructureSetLoader::OnLookupCompleted(const OrthancApiClient::JsonResponseReadyMessage& message)
71 { 71 {