Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/InfoPanelSceneLayer.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 4fb8fdf03314 |
comparison
equal
deleted
inserted
replaced
1570:9a04f42098a3 | 1571:85e117739eca |
---|---|
49 InfoPanelSceneLayer(const Orthanc::ImageAccessor& texture, | 49 InfoPanelSceneLayer(const Orthanc::ImageAccessor& texture, |
50 BitmapAnchor anchor, | 50 BitmapAnchor anchor, |
51 bool isLinearInterpolation, | 51 bool isLinearInterpolation, |
52 bool applySceneRotation = false); | 52 bool applySceneRotation = false); |
53 | 53 |
54 virtual ISceneLayer* Clone() const | 54 virtual ISceneLayer* Clone() const ORTHANC_OVERRIDE |
55 { | 55 { |
56 return new InfoPanelSceneLayer(*texture_, | 56 return new InfoPanelSceneLayer(*texture_, |
57 anchor_, | 57 anchor_, |
58 isLinearInterpolation_, | 58 isLinearInterpolation_, |
59 applySceneRotation_); | 59 applySceneRotation_); |
77 bool IsLinearInterpolation() const | 77 bool IsLinearInterpolation() const |
78 { | 78 { |
79 return isLinearInterpolation_; | 79 return isLinearInterpolation_; |
80 } | 80 } |
81 | 81 |
82 virtual Type GetType() const | 82 virtual Type GetType() const ORTHANC_OVERRIDE |
83 { | 83 { |
84 return Type_InfoPanel; | 84 return Type_InfoPanel; |
85 } | 85 } |
86 | 86 |
87 virtual bool GetBoundingBox(Extent2D& target) const | 87 virtual bool GetBoundingBox(Extent2D& target) const ORTHANC_OVERRIDE |
88 { | 88 { |
89 return false; | 89 return false; |
90 } | 90 } |
91 | 91 |
92 virtual uint64_t GetRevision() const | 92 virtual uint64_t GetRevision() const ORTHANC_OVERRIDE |
93 { | 93 { |
94 return 0; | 94 return 0; |
95 } | 95 } |
96 | 96 |
97 static void ComputeAnchorLocation(int& x, | 97 static void ComputeAnchorLocation(int& x, |