Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/FloatTextureSceneLayer.h @ 769:4ba8892870a2
improved interface for lookup tables
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 23 May 2019 20:37:19 +0200 |
parents | ea8322566596 |
children | b8dfd966b5f4 |
comparison
equal
deleted
inserted
replaced
768:55411e7da2f7 | 769:4ba8892870a2 |
---|---|
31 ImageWindowing windowing_; | 31 ImageWindowing windowing_; |
32 float customCenter_; | 32 float customCenter_; |
33 float customWidth_; | 33 float customWidth_; |
34 | 34 |
35 public: | 35 public: |
36 // The pixel format must be "Float32" | 36 // The pixel format must be convertible to "Float32" |
37 FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture); | 37 FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture); |
38 | 38 |
39 void SetWindowing(ImageWindowing windowing); | 39 void SetWindowing(ImageWindowing windowing); |
40 | 40 |
41 void SetCustomWindowing(float customCenter, | 41 void SetCustomWindowing(float customCenter, |