comparison Framework/Outputs/InMemoryTiledImage.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
54 unsigned int tileHeight, 54 unsigned int tileHeight,
55 Orthanc::PhotometricInterpretation photometric); 55 Orthanc::PhotometricInterpretation photometric);
56 56
57 virtual ~InMemoryTiledImage(); 57 virtual ~InMemoryTiledImage();
58 58
59 virtual unsigned int GetLevelCount() const 59 virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE
60 { 60 {
61 return 1; 61 return 1;
62 } 62 }
63 63
64 virtual unsigned int GetCountTilesX(unsigned int level) const; 64 virtual unsigned int GetCountTilesX(unsigned int level) const ORTHANC_OVERRIDE;
65 65
66 virtual unsigned int GetCountTilesY(unsigned int level) const; 66 virtual unsigned int GetCountTilesY(unsigned int level) const ORTHANC_OVERRIDE;
67 67
68 virtual unsigned int GetLevelWidth(unsigned int level) const; 68 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE;
69 69
70 virtual unsigned int GetLevelHeight(unsigned int level) const; 70 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE;
71 71
72 virtual unsigned int GetTileWidth() const 72 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE
73 { 73 {
74 return tileWidth_; 74 return tileWidth_;
75 } 75 }
76 76
77 virtual unsigned int GetTileHeight() const 77 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE
78 { 78 {
79 return tileHeight_; 79 return tileHeight_;
80 } 80 }
81 81
82 virtual bool ReadRawTile(std::string& tile, 82 virtual bool ReadRawTile(std::string& tile,
83 ImageCompression& compression, 83 ImageCompression& compression,
84 unsigned int level, 84 unsigned int level,
85 unsigned int tileX, 85 unsigned int tileX,
86 unsigned int tileY); 86 unsigned int tileY) ORTHANC_OVERRIDE;
87 87
88 virtual Orthanc::ImageAccessor* DecodeTile(unsigned int level, 88 virtual Orthanc::ImageAccessor* DecodeTile(unsigned int level,
89 unsigned int tileX, 89 unsigned int tileX,
90 unsigned int tileY); 90 unsigned int tileY) ORTHANC_OVERRIDE;
91 91
92 virtual Orthanc::PixelFormat GetPixelFormat() const 92 virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE
93 { 93 {
94 return format_; 94 return format_;
95 } 95 }
96 96
97 virtual void WriteRawTile(const std::string& raw, 97 virtual void WriteRawTile(const std::string& raw,
98 ImageCompression compression, 98 ImageCompression compression,
99 unsigned int level, 99 unsigned int level,
100 unsigned int tileX, 100 unsigned int tileX,
101 unsigned int tileY); 101 unsigned int tileY) ORTHANC_OVERRIDE;
102 102
103 virtual void EncodeTile(const Orthanc::ImageAccessor& tile, 103 virtual void EncodeTile(const Orthanc::ImageAccessor& tile,
104 unsigned int level, 104 unsigned int level,
105 unsigned int tileX, 105 unsigned int tileX,
106 unsigned int tileY); 106 unsigned int tileY) ORTHANC_OVERRIDE;
107 107
108 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const 108 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE
109 { 109 {
110 return photometric_; 110 return photometric_;
111 } 111 }
112 }; 112 };
113 } 113 }