comparison Framework/Inputs/OpenSlidePyramid.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
35 35
36 protected: 36 protected:
37 virtual void ReadRegion(Orthanc::ImageAccessor& target, 37 virtual void ReadRegion(Orthanc::ImageAccessor& target,
38 unsigned int level, 38 unsigned int level,
39 unsigned int x, 39 unsigned int x,
40 unsigned int y); 40 unsigned int y) ORTHANC_OVERRIDE;
41 41
42 public: 42 public:
43 OpenSlidePyramid(const std::string& path, 43 OpenSlidePyramid(const std::string& path,
44 unsigned int tileWidth, 44 unsigned int tileWidth,
45 unsigned int tileHeight); 45 unsigned int tileHeight);
46 46
47 virtual unsigned int GetTileWidth() const 47 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE
48 { 48 {
49 return tileWidth_; 49 return tileWidth_;
50 } 50 }
51 51
52 virtual unsigned int GetTileHeight() const 52 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE
53 { 53 {
54 return tileHeight_; 54 return tileHeight_;
55 } 55 }
56 56
57 virtual unsigned int GetLevelCount() const 57 virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE
58 { 58 {
59 return image_.GetLevelCount(); 59 return image_.GetLevelCount();
60 } 60 }
61 61
62 virtual unsigned int GetLevelWidth(unsigned int level) const 62 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE
63 { 63 {
64 return image_.GetLevelWidth(level); 64 return image_.GetLevelWidth(level);
65 } 65 }
66 66
67 virtual unsigned int GetLevelHeight(unsigned int level) const 67 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE
68 { 68 {
69 return image_.GetLevelHeight(level); 69 return image_.GetLevelHeight(level);
70 } 70 }
71 71
72 virtual Orthanc::PixelFormat GetPixelFormat() const 72 virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE
73 { 73 {
74 return Orthanc::PixelFormat_RGB24; 74 return Orthanc::PixelFormat_RGB24;
75 } 75 }
76 76
77 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const 77 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE
78 { 78 {
79 return Orthanc::PhotometricInterpretation_RGB; 79 return Orthanc::PhotometricInterpretation_RGB;
80 } 80 }
81 }; 81 };
82 } 82 }