Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/HierarchicalTiff.h @ 217:20bc074ec19a
Viewer can display DICOM pyramids whose tile sizes vary across levels
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 12 Jan 2021 14:24:18 +0100 |
parents | c35a3a0627b9 |
children | 49f647ed1b4c |
comparison
equal
deleted
inserted
replaced
216:c35a3a0627b9 | 217:20bc074ec19a |
---|---|
84 | 84 |
85 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE; | 85 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE; |
86 | 86 |
87 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE; | 87 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE; |
88 | 88 |
89 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE | 89 virtual unsigned int GetTileWidth(unsigned int level) const ORTHANC_OVERRIDE |
90 { | 90 { |
91 return tileWidth_; | 91 return tileWidth_; |
92 } | 92 } |
93 | 93 |
94 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE | 94 virtual unsigned int GetTileHeight(unsigned int level) 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, |