Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/DicomInstanceParameters.h @ 1635:1a714e21ea7c
start refactoring DicomInstanceParameters
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Nov 2020 16:08:44 +0100 |
parents | a4418a489e86 |
children | d1e0b08b809d |
comparison
equal
deleted
inserted
replaced
1634:a4418a489e86 | 1635:1a714e21ea7c |
---|---|
41 { | 41 { |
42 std::string orthancInstanceId_; | 42 std::string orthancInstanceId_; |
43 std::string studyInstanceUid_; | 43 std::string studyInstanceUid_; |
44 std::string seriesInstanceUid_; | 44 std::string seriesInstanceUid_; |
45 std::string sopInstanceUid_; | 45 std::string sopInstanceUid_; |
46 Orthanc::DicomImageInformation imageInformation_; | 46 Orthanc::DicomImageInformation imageInformation_; // TODO REMOVE |
47 SopClassUid sopClassUid_; | 47 SopClassUid sopClassUid_; |
48 unsigned int numberOfFrames_; | |
49 unsigned int width_; | |
50 unsigned int height_; | |
48 double sliceThickness_; | 51 double sliceThickness_; |
49 double pixelSpacingX_; | 52 double pixelSpacingX_; |
50 double pixelSpacingY_; | 53 double pixelSpacingY_; |
51 CoordinateSystem3D geometry_; | 54 CoordinateSystem3D geometry_; |
52 Vector frameOffsets_; | 55 Vector frameOffsets_; |
53 bool isColor_; | 56 bool isColor_; // TODO REMOVE |
54 bool hasRescale_; | 57 bool hasRescale_; |
55 double rescaleIntercept_; | 58 double rescaleIntercept_; |
56 double rescaleSlope_; | 59 double rescaleSlope_; |
57 bool hasDefaultWindowing_; | 60 bool hasDefaultWindowing_; |
58 float defaultWindowingCenter_; | 61 float defaultWindowingCenter_; |
59 float defaultWindowingWidth_; | 62 float defaultWindowingWidth_; |
60 Orthanc::PixelFormat expectedPixelFormat_; | 63 Orthanc::PixelFormat expectedPixelFormat_; // TODO REMOVE |
61 bool hasIndexInSeries_; | 64 bool hasIndexInSeries_; |
62 unsigned int indexInSeries_; | 65 unsigned int indexInSeries_; |
63 std::string doseUnits_; | 66 std::string doseUnits_; |
64 double doseGridScaling_; | 67 double doseGridScaling_; |
65 | 68 |
133 SopClassUid GetSopClassUid() const | 136 SopClassUid GetSopClassUid() const |
134 { | 137 { |
135 return data_.sopClassUid_; | 138 return data_.sopClassUid_; |
136 } | 139 } |
137 | 140 |
141 unsigned int GetNumberOfFrames() const | |
142 { | |
143 return data_.numberOfFrames_; | |
144 } | |
145 | |
146 unsigned int GetWidth() const | |
147 { | |
148 return data_.width_; | |
149 } | |
150 | |
151 unsigned int GetHeight() const | |
152 { | |
153 return data_.height_; | |
154 } | |
155 | |
138 double GetSliceThickness() const | 156 double GetSliceThickness() const |
139 { | 157 { |
140 return data_.sliceThickness_; | 158 return data_.sliceThickness_; |
141 } | 159 } |
142 | 160 |