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

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Dec 2016 11:00:23 +0100
parents ff1e935768e7
children 7207a407bcd8
comparison
equal deleted inserted replaced
31:9aace933cb64 32:517c46f527cd
30 **/ 30 **/
31 31
32 32
33 #pragma once 33 #pragma once
34 34
35 #include "DicomDataset.h" 35 #include "../../Resources/Orthanc/Core/Images/ImageAccessor.h"
36 #include "../../Resources/Orthanc/Plugins/Samples/Common/IDicomDataset.h"
36 37
37 #include "../../Resources/Orthanc/Core/Images/ImageAccessor.h" 38 #include <memory>
38 39
39 namespace OrthancStone 40 namespace OrthancStone
40 { 41 {
41 /** 42 /**
42 * This class is responsible for converting the pixel format of a 43 * This class is responsible for converting the pixel format of a
64 SetDefaultParameters(); 65 SetDefaultParameters();
65 } 66 }
66 67
67 Orthanc::PixelFormat GetExpectedPixelFormat() const; 68 Orthanc::PixelFormat GetExpectedPixelFormat() const;
68 69
69 void ReadParameters(const DicomDataset& dicom); 70 void ReadParameters(const OrthancPlugins::IDicomDataset& dicom);
70 71
71 float GetDefaultWindowCenter() const 72 float GetDefaultWindowCenter() const
72 { 73 {
73 return defaultWindowCenter_; 74 return defaultWindowCenter_;
74 } 75 }