comparison Framework/ImagedVolumeParameters.h @ 280:34b507959e32 iiif

integration mainline->iiif
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jul 2023 18:08:27 +0200
parents 77afef2cf64b
children 7020852a8fa9
comparison
equal deleted inserted replaced
277:ac1508b438b1 280:34b507959e32
25 namespace OrthancWSI 25 namespace OrthancWSI
26 { 26 {
27 class ImagedVolumeParameters 27 class ImagedVolumeParameters
28 { 28 {
29 private: 29 private:
30 bool hasWidth_;
31 bool hasHeight_;
30 float width_; 32 float width_;
31 float height_; 33 float height_;
32 float depth_; 34 float depth_;
33 float offsetX_; 35 float offsetX_;
34 float offsetY_; 36 float offsetY_;
35 37
36 public: 38 public:
37 ImagedVolumeParameters(); 39 ImagedVolumeParameters();
38 40
39 float GetWidth() const 41 bool HasWidth() const
40 { 42 {
41 return width_; 43 return hasWidth_;
44 }
45
46 bool HasHeight() const
47 {
48 return hasHeight_;
42 } 49 }
43 50
44 float GetHeight() const 51 float GetWidth() const;
45 { 52
46 return height_; 53 float GetHeight() const;
47 }
48 54
49 float GetDepth() const 55 float GetDepth() const
50 { 56 {
51 return depth_; 57 return depth_;
52 } 58 }