Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/SingleLevelDecodedPyramid.h @ 216:c35a3a0627b9
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 12 Jan 2021 10:21:36 +0100 |
parents | 1e864138f0da |
children | 20bc074ec19a |
comparison
equal
deleted
inserted
replaced
215:02cb86d07966 | 216:c35a3a0627b9 |
---|---|
39 } | 39 } |
40 | 40 |
41 virtual void ReadRegion(Orthanc::ImageAccessor& target, | 41 virtual void ReadRegion(Orthanc::ImageAccessor& target, |
42 unsigned int level, | 42 unsigned int level, |
43 unsigned int x, | 43 unsigned int x, |
44 unsigned int y); | 44 unsigned int y) ORTHANC_OVERRIDE; |
45 | 45 |
46 public: | 46 public: |
47 SingleLevelDecodedPyramid(unsigned int tileWidth, | 47 SingleLevelDecodedPyramid(unsigned int tileWidth, |
48 unsigned int tileHeight) : | 48 unsigned int tileHeight) : |
49 tileWidth_(tileWidth), | 49 tileWidth_(tileWidth), |
50 tileHeight_(tileHeight) | 50 tileHeight_(tileHeight) |
51 { | 51 { |
52 } | 52 } |
53 | 53 |
54 virtual unsigned int GetTileWidth() const | 54 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE |
55 { | 55 { |
56 return tileWidth_; | 56 return tileWidth_; |
57 } | 57 } |
58 | 58 |
59 virtual unsigned int GetTileHeight() const | 59 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE |
60 { | 60 { |
61 return tileHeight_; | 61 return tileHeight_; |
62 } | 62 } |
63 | 63 |
64 virtual unsigned int GetLevelCount() const | 64 virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE |
65 { | 65 { |
66 return 1; | 66 return 1; |
67 } | 67 } |
68 | 68 |
69 virtual unsigned int GetLevelWidth(unsigned int level) const; | 69 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE; |
70 | 70 |
71 virtual unsigned int GetLevelHeight(unsigned int level) const; | 71 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE; |
72 | 72 |
73 virtual Orthanc::PixelFormat GetPixelFormat() const | 73 virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE |
74 { | 74 { |
75 return image_.GetFormat(); | 75 return image_.GetFormat(); |
76 } | 76 } |
77 | 77 |
78 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const; | 78 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE; |
79 }; | 79 }; |
80 } | 80 } |