Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/TiledPyramidStatistics.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 |
---|---|
38 public: | 38 public: |
39 explicit TiledPyramidStatistics(ITiledPyramid& source); // Takes ownership | 39 explicit TiledPyramidStatistics(ITiledPyramid& source); // Takes ownership |
40 | 40 |
41 virtual ~TiledPyramidStatistics(); | 41 virtual ~TiledPyramidStatistics(); |
42 | 42 |
43 virtual unsigned int GetLevelCount() const | 43 virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE |
44 { | 44 { |
45 return source_.GetLevelCount(); | 45 return source_.GetLevelCount(); |
46 } | 46 } |
47 | 47 |
48 virtual unsigned int GetLevelWidth(unsigned int level) const | 48 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE |
49 { | 49 { |
50 return source_.GetLevelWidth(level); | 50 return source_.GetLevelWidth(level); |
51 } | 51 } |
52 | 52 |
53 virtual unsigned int GetLevelHeight(unsigned int level) const | 53 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE |
54 { | 54 { |
55 return source_.GetLevelHeight(level); | 55 return source_.GetLevelHeight(level); |
56 } | 56 } |
57 | 57 |
58 virtual unsigned int GetTileWidth() const | 58 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE |
59 { | 59 { |
60 return source_.GetTileWidth(); | 60 return source_.GetTileWidth(); |
61 } | 61 } |
62 | 62 |
63 virtual unsigned int GetTileHeight() const | 63 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE |
64 { | 64 { |
65 return source_.GetTileHeight(); | 65 return source_.GetTileHeight(); |
66 } | 66 } |
67 | 67 |
68 virtual Orthanc::PixelFormat GetPixelFormat() const | 68 virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE |
69 { | 69 { |
70 return source_.GetPixelFormat(); | 70 return source_.GetPixelFormat(); |
71 } | 71 } |
72 | 72 |
73 virtual bool ReadRawTile(std::string& tile, | 73 virtual bool ReadRawTile(std::string& tile, |
74 ImageCompression& compression, | 74 ImageCompression& compression, |
75 unsigned int level, | 75 unsigned int level, |
76 unsigned int tileX, | 76 unsigned int tileX, |
77 unsigned int tileY); | 77 unsigned int tileY) ORTHANC_OVERRIDE; |
78 | 78 |
79 virtual Orthanc::ImageAccessor* DecodeTile(unsigned int level, | 79 virtual Orthanc::ImageAccessor* DecodeTile(unsigned int level, |
80 unsigned int tileX, | 80 unsigned int tileX, |
81 unsigned int tileY); | 81 unsigned int tileY) ORTHANC_OVERRIDE; |
82 | 82 |
83 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const | 83 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE |
84 { | 84 { |
85 return source_.GetPhotometricInterpretation(); | 85 return source_.GetPhotometricInterpretation(); |
86 } | 86 } |
87 }; | 87 }; |
88 } | 88 } |