Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/OpenSlidePyramid.h @ 317:f611fb47d0e8
reuse base class members in OpenSlidePyramid
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Sep 2024 13:43:39 +0200 |
parents | 072968f00d26 |
children | 8ad12abde290 |
comparison
equal
deleted
inserted
replaced
316:51ef122c1882 | 317:f611fb47d0e8 |
---|---|
32 { | 32 { |
33 private: | 33 private: |
34 OpenSlideLibrary::Image image_; | 34 OpenSlideLibrary::Image image_; |
35 unsigned int tileWidth_; | 35 unsigned int tileWidth_; |
36 unsigned int tileHeight_; | 36 unsigned int tileHeight_; |
37 uint8_t backgroundColor_[3]; | |
38 | 37 |
39 protected: | 38 protected: |
40 virtual void ReadRegion(Orthanc::ImageAccessor& target, | 39 virtual void ReadRegion(Orthanc::ImageAccessor& target, |
41 unsigned int level, | 40 unsigned int level, |
42 unsigned int x, | 41 unsigned int x, |
82 return Orthanc::PhotometricInterpretation_RGB; | 81 return Orthanc::PhotometricInterpretation_RGB; |
83 } | 82 } |
84 | 83 |
85 bool LookupImagedVolumeSize(float& width, | 84 bool LookupImagedVolumeSize(float& width, |
86 float& height) const; | 85 float& height) const; |
87 | |
88 void SetBackgroundColor(uint8_t red, | |
89 uint8_t green, | |
90 uint8_t blue); | |
91 }; | 86 }; |
92 } | 87 } |