Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/GrayscaleStyleConfigurator.cpp @ 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 |
---|---|
25 | 25 |
26 #include <Core/OrthancException.h> | 26 #include <Core/OrthancException.h> |
27 | 27 |
28 namespace OrthancStone | 28 namespace OrthancStone |
29 { | 29 { |
30 GrayscaleStyleConfigurator::GrayscaleStyleConfigurator() : | |
31 revision_(0), | |
32 linearInterpolation_(false), | |
33 hasWindowing_(false), | |
34 customWindowWidth_(0), | |
35 customWindowCenter_(0), | |
36 inverted_(false), | |
37 applyLog_(false) | |
38 { | |
39 } | |
40 | |
30 void GrayscaleStyleConfigurator::SetWindowing(ImageWindowing windowing) | 41 void GrayscaleStyleConfigurator::SetWindowing(ImageWindowing windowing) |
31 { | 42 { |
32 hasWindowing_ = true; | 43 hasWindowing_ = true; |
33 windowing_ = windowing; | 44 windowing_ = windowing; |
34 revision_++; | 45 revision_++; |