Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/LookupTableStyleConfigurator.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 8563ea5d8ae4 |
comparison
equal
deleted
inserted
replaced
1570:9a04f42098a3 | 1571:85e117739eca |
---|---|
57 bool IsApplyLog() const | 57 bool IsApplyLog() const |
58 { | 58 { |
59 return applyLog_; | 59 return applyLog_; |
60 } | 60 } |
61 | 61 |
62 virtual uint64_t GetRevision() const | 62 virtual uint64_t GetRevision() const ORTHANC_OVERRIDE |
63 { | 63 { |
64 return revision_; | 64 return revision_; |
65 } | 65 } |
66 | 66 |
67 virtual TextureBaseSceneLayer* CreateTextureFromImage(const Orthanc::ImageAccessor& image) const; | 67 virtual TextureBaseSceneLayer* CreateTextureFromImage( |
68 const Orthanc::ImageAccessor& image) const ORTHANC_OVERRIDE; | |
68 | 69 |
69 virtual TextureBaseSceneLayer* CreateTextureFromDicom(const Orthanc::ImageAccessor& frame, | 70 virtual TextureBaseSceneLayer* CreateTextureFromDicom( |
70 const DicomInstanceParameters& parameters) const | 71 const Orthanc::ImageAccessor& frame, |
72 const DicomInstanceParameters& parameters) const ORTHANC_OVERRIDE | |
71 { | 73 { |
72 return parameters.CreateLookupTableTexture(frame); | 74 return parameters.CreateLookupTableTexture(frame); |
73 } | 75 } |
74 | 76 |
75 virtual void ApplyStyle(ISceneLayer& layer) const; | 77 virtual void ApplyStyle(ISceneLayer& layer) const ORTHANC_OVERRIDE; |
76 }; | 78 }; |
77 } | 79 } |