comparison Framework/Toolbox/OrthancSlicesLoader.cpp @ 406:5d359b115b29

use of callables in OrthancVolumeImage
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 11 Nov 2018 18:17:50 +0100
parents dd4c7e82b4be
children aee3d7941c9b
comparison
equal deleted inserted replaced
405:3942123602ba 406:5d359b115b29
173 }; 173 };
174 174
175 void OrthancSlicesLoader::NotifySliceImageSuccess(const Operation& operation, 175 void OrthancSlicesLoader::NotifySliceImageSuccess(const Operation& operation,
176 const Orthanc::ImageAccessor& image) 176 const Orthanc::ImageAccessor& image)
177 { 177 {
178 OrthancSlicesLoader::SliceImageReadyMessage msg(operation.GetSliceIndex(), operation.GetSlice(), image, operation.GetQuality()); 178 OrthancSlicesLoader::SliceImageReadyMessage msg
179 (*this, operation.GetSliceIndex(), operation.GetSlice(), image, operation.GetQuality());
179 EmitMessage(msg); 180 EmitMessage(msg);
180 } 181 }
181 182
182 183
183 void OrthancSlicesLoader::NotifySliceImageError(const Operation& operation) 184 void OrthancSlicesLoader::NotifySliceImageError(const Operation& operation)
184 { 185 {
185 OrthancSlicesLoader::SliceImageErrorMessage msg(operation.GetSliceIndex(), operation.GetSlice(), operation.GetQuality()); 186 OrthancSlicesLoader::SliceImageErrorMessage msg
187 (*this, operation.GetSliceIndex(), operation.GetSlice(), operation.GetQuality());
186 EmitMessage(msg); 188 EmitMessage(msg);
187 } 189 }
188 190
189 191
190 void OrthancSlicesLoader::SortAndFinalizeSlices() 192 void OrthancSlicesLoader::SortAndFinalizeSlices()