Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/GrayscaleStyleConfigurator.h @ 1179:177e7d431cd1 broker
log scale in textures, remove redundant code for LUTs
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Nov 2019 15:24:20 +0100 |
parents | ba9db2ad317c |
children | ab06dfdf3b75 |
comparison
equal
deleted
inserted
replaced
1178:3c7cdbf32e2a | 1179:177e7d431cd1 |
---|---|
40 float customWindowCenter_; | 40 float customWindowCenter_; |
41 bool inverted_; | 41 bool inverted_; |
42 bool applyLog_; | 42 bool applyLog_; |
43 | 43 |
44 public: | 44 public: |
45 GrayscaleStyleConfigurator() : | 45 GrayscaleStyleConfigurator(); |
46 revision_(0), | |
47 linearInterpolation_(false), | |
48 hasWindowing_(false), | |
49 customWindowWidth_(0), | |
50 customWindowCenter_(0), | |
51 inverted_(false), | |
52 applyLog_(false) | |
53 { | |
54 } | |
55 | 46 |
56 void SetWindowing(ImageWindowing windowing); | 47 void SetWindowing(ImageWindowing windowing); |
57 | 48 |
58 void SetCustomWindowing(float windowCenter, float windowWidth); | 49 void SetCustomWindowing(float windowCenter, float windowWidth); |
59 | 50 |