Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/SingleLevelDecodedPyramid.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 |
---|---|
49 tileWidth_(tileWidth), | 49 tileWidth_(tileWidth), |
50 tileHeight_(tileHeight) | 50 tileHeight_(tileHeight) |
51 { | 51 { |
52 } | 52 } |
53 | 53 |
54 virtual unsigned int GetTileWidth() const ORTHANC_OVERRIDE | 54 virtual unsigned int GetTileWidth(unsigned int level) const ORTHANC_OVERRIDE |
55 { | 55 { |
56 return tileWidth_; | 56 return tileWidth_; |
57 } | 57 } |
58 | 58 |
59 virtual unsigned int GetTileHeight() const ORTHANC_OVERRIDE | 59 virtual unsigned int GetTileHeight(unsigned int level) const ORTHANC_OVERRIDE |
60 { | 60 { |
61 return tileHeight_; | 61 return tileHeight_; |
62 } | 62 } |
63 | 63 |
64 virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE | 64 virtual unsigned int GetLevelCount() const ORTHANC_OVERRIDE |