comparison Framework/Toolbox/ISeriesLoader.h @ 32:517c46f527cd

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Dec 2016 11:00:23 +0100
parents 9aace933cb64
children 7207a407bcd8
comparison
equal deleted inserted replaced
31:9aace933cb64 32:517c46f527cd
34 34
35 #include "ParallelSlices.h" 35 #include "ParallelSlices.h"
36 36
37 #include "IThreadSafety.h" 37 #include "IThreadSafety.h"
38 #include "../../Resources/Orthanc/Core/Images/ImageAccessor.h" 38 #include "../../Resources/Orthanc/Core/Images/ImageAccessor.h"
39 #include "../../Resources/Orthanc/Plugins/Samples/Common/IDicomDataset.h"
39 40
40 namespace OrthancStone 41 namespace OrthancStone
41 { 42 {
42 // This class is NOT thread-safe 43 // This class is NOT thread-safe
43 class ISeriesLoader : public IThreadUnsafe 44 class ISeriesLoader : public IThreadUnsafe
49 50
50 virtual unsigned int GetWidth() = 0; 51 virtual unsigned int GetWidth() = 0;
51 52
52 virtual unsigned int GetHeight() = 0; 53 virtual unsigned int GetHeight() = 0;
53 54
54 virtual DicomDataset* DownloadDicom(size_t index) = 0; 55 virtual OrthancPlugins::IDicomDataset* DownloadDicom(size_t index) = 0;
55 56
56 // This downloads the frame from Orthanc. The resulting pixel 57 // This downloads the frame from Orthanc. The resulting pixel
57 // format must be Grayscale8, Grayscale16, SignedGrayscale16 or 58 // format must be Grayscale8, Grayscale16, SignedGrayscale16 or
58 // RGB24. Orthanc Stone assumes the conversion of the photometric 59 // RGB24. Orthanc Stone assumes the conversion of the photometric
59 // interpretation is done by Orthanc. 60 // interpretation is done by Orthanc.