comparison Framework/Inputs/HierarchicalTiff.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
75 virtual ~HierarchicalTiff() 75 virtual ~HierarchicalTiff()
76 { 76 {
77 Finalize(); 77 Finalize();
78 } 78 }
79 79
80 virtual unsigned int GetLevelCount() const 80 virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE
81 { 81 {
82 return levels_.size(); 82 return levels_.size();
83 } 83 }
84 84
85 virtual unsigned int GetLevelWidth(unsigned int level) const; 85 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE;
86 86
87 virtual unsigned int GetLevelHeight(unsigned int level) const; 87 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE;
88 88
89 virtual unsigned int GetTileWidth() const 89 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE
90 { 90 {
91 return tileWidth_; 91 return tileWidth_;
92 } 92 }
93 93
94 virtual unsigned int GetTileHeight() const 94 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE
95 { 95 {
96 return tileHeight_; 96 return tileHeight_;
97 } 97 }
98 98
99 virtual bool ReadRawTile(std::string& tile, 99 virtual bool ReadRawTile(std::string& tile,
100 ImageCompression& compression, 100 ImageCompression& compression,
101 unsigned int level, 101 unsigned int level,
102 unsigned int tileX, 102 unsigned int tileX,
103 unsigned int tileY); 103 unsigned int tileY) ORTHANC_OVERRIDE;
104 104
105 virtual Orthanc::PixelFormat GetPixelFormat() const 105 virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE
106 { 106 {
107 return pixelFormat_; 107 return pixelFormat_;
108 } 108 }
109 109
110 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const 110 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE
111 { 111 {
112 return photometric_; 112 return photometric_;
113 } 113 }
114 114
115 ImageCompression GetImageCompression() 115 ImageCompression GetImageCompression()