Mercurial > hg > orthanc-wsi
diff 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 |
line wrap: on
line diff
--- a/Framework/Inputs/SingleLevelDecodedPyramid.h Mon Jan 11 17:12:24 2021 +0100 +++ b/Framework/Inputs/SingleLevelDecodedPyramid.h Tue Jan 12 10:21:36 2021 +0100 @@ -41,7 +41,7 @@ virtual void ReadRegion(Orthanc::ImageAccessor& target, unsigned int level, unsigned int x, - unsigned int y); + unsigned int y) ORTHANC_OVERRIDE; public: SingleLevelDecodedPyramid(unsigned int tileWidth, @@ -51,30 +51,30 @@ { } - virtual unsigned int GetTileWidth() const + virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE { return tileWidth_; } - virtual unsigned int GetTileHeight() const + virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE { return tileHeight_; } - virtual unsigned int GetLevelCount() const + virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE { return 1; } - virtual unsigned int GetLevelWidth(unsigned int level) const; + virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE; - virtual unsigned int GetLevelHeight(unsigned int level) const; + virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE; - virtual Orthanc::PixelFormat GetPixelFormat() const + virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE { return image_.GetFormat(); } - virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const; + virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE; }; }