Mercurial > hg > orthanc-wsi
comparison Framework/Outputs/InMemoryTiledImage.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 |
---|---|
67 | 67 |
68 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE; | 68 virtual unsigned int GetLevelWidth(unsigned int level) const ORTHANC_OVERRIDE; |
69 | 69 |
70 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE; | 70 virtual unsigned int GetLevelHeight(unsigned int level) const ORTHANC_OVERRIDE; |
71 | 71 |
72 // From IPyramidWriter (if used as an output) | |
72 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE | 73 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE |
73 { | 74 { |
74 return tileWidth_; | 75 return tileWidth_; |
75 } | 76 } |
76 | 77 |
77 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE | 78 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE |
79 { | |
80 return tileHeight_; | |
81 } | |
82 | |
83 // From ITiledPyramid (if used as an input) | |
84 virtual unsigned int GetTileWidth(unsigned int level) const ORTHANC_OVERRIDE | |
85 { | |
86 return tileWidth_; | |
87 } | |
88 | |
89 virtual unsigned int GetTileHeight(unsigned int level) const ORTHANC_OVERRIDE | |
78 { | 90 { |
79 return tileHeight_; | 91 return tileHeight_; |
80 } | 92 } |
81 | 93 |
82 virtual bool ReadRawTile(std::string& tile, | 94 virtual bool ReadRawTile(std::string& tile, |