Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomFormat/DicomImageInformation.h @ 4279:ab4d015af660
moving inline methods to source files for ABI compatibility
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 20:48:01 +0100 |
parents | 1a26daefc3fe |
children | 6d49e3b6ff77 |
comparison
equal
deleted
inserted
replaced
4278:9279de56a405 | 4279:ab4d015af660 |
---|---|
65 public: | 65 public: |
66 explicit DicomImageInformation(const DicomMap& values); | 66 explicit DicomImageInformation(const DicomMap& values); |
67 | 67 |
68 DicomImageInformation* Clone() const; | 68 DicomImageInformation* Clone() const; |
69 | 69 |
70 unsigned int GetWidth() const | 70 unsigned int GetWidth() const; |
71 { | |
72 return width_; | |
73 } | |
74 | 71 |
75 unsigned int GetHeight() const | 72 unsigned int GetHeight() const; |
76 { | |
77 return height_; | |
78 } | |
79 | 73 |
80 unsigned int GetNumberOfFrames() const | 74 unsigned int GetNumberOfFrames() const; |
81 { | |
82 return numberOfFrames_; | |
83 } | |
84 | 75 |
85 unsigned int GetChannelCount() const | 76 unsigned int GetChannelCount() const; |
86 { | |
87 return samplesPerPixel_; | |
88 } | |
89 | 77 |
90 unsigned int GetBitsStored() const | 78 unsigned int GetBitsStored() const; |
91 { | |
92 return bitsStored_; | |
93 } | |
94 | 79 |
95 size_t GetBytesPerValue() const | 80 size_t GetBytesPerValue() const; |
96 { | |
97 return bytesPerValue_; | |
98 } | |
99 | 81 |
100 bool IsSigned() const | 82 bool IsSigned() const; |
101 { | |
102 return isSigned_; | |
103 } | |
104 | 83 |
105 unsigned int GetBitsAllocated() const | 84 unsigned int GetBitsAllocated() const; |
106 { | |
107 return bitsAllocated_; | |
108 } | |
109 | 85 |
110 unsigned int GetHighBit() const | 86 unsigned int GetHighBit() const; |
111 { | |
112 return highBit_; | |
113 } | |
114 | 87 |
115 bool IsPlanar() const | 88 bool IsPlanar() const; |
116 { | |
117 return isPlanar_; | |
118 } | |
119 | 89 |
120 unsigned int GetShift() const | 90 unsigned int GetShift() const; |
121 { | |
122 return highBit_ + 1 - bitsStored_; | |
123 } | |
124 | 91 |
125 PhotometricInterpretation GetPhotometricInterpretation() const | 92 PhotometricInterpretation GetPhotometricInterpretation() const; |
126 { | |
127 return photometric_; | |
128 } | |
129 | 93 |
130 bool ExtractPixelFormat(PixelFormat& format, | 94 bool ExtractPixelFormat(PixelFormat& format, |
131 bool ignorePhotometricInterpretation) const; | 95 bool ignorePhotometricInterpretation) const; |
132 | 96 |
133 size_t GetFrameSize() const; | 97 size_t GetFrameSize() const; |