Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/ColorTextureSceneLayer.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 |
---|---|
27 { | 27 { |
28 class ColorTextureSceneLayer : public TextureBaseSceneLayer | 28 class ColorTextureSceneLayer : public TextureBaseSceneLayer |
29 { | 29 { |
30 public: | 30 public: |
31 // If using RGBA32, premultiplied alpha is assumed | 31 // If using RGBA32, premultiplied alpha is assumed |
32 ColorTextureSceneLayer(const Orthanc::ImageAccessor& texture); | 32 explicit ColorTextureSceneLayer(const Orthanc::ImageAccessor& texture); |
33 | 33 |
34 virtual ISceneLayer* Clone() const; | 34 virtual ISceneLayer* Clone() const ORTHANC_OVERRIDE; |
35 | 35 |
36 virtual Type GetType() const | 36 virtual Type GetType() const ORTHANC_OVERRIDE |
37 { | 37 { |
38 return Type_ColorTexture; | 38 return Type_ColorTexture; |
39 } | 39 } |
40 }; | 40 }; |
41 } | 41 } |