comparison Framework/Scene2D/GrayscaleStyleConfigurator.cpp @ 1163:ba9db2ad317c broker

test log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 Nov 2019 20:44:55 +0100
parents eb28dfe432f7
children 177e7d431cd1
comparison
equal deleted inserted replaced
1162:709aa65aca17 1163:ba9db2ad317c
57 { 57 {
58 linearInterpolation_ = enabled; 58 linearInterpolation_ = enabled;
59 revision_++; 59 revision_++;
60 } 60 }
61 61
62 void GrayscaleStyleConfigurator::SetApplyLog(bool apply)
63 {
64 applyLog_ = apply;
65 revision_++;
66 }
67
62 TextureBaseSceneLayer* GrayscaleStyleConfigurator::CreateTextureFromImage( 68 TextureBaseSceneLayer* GrayscaleStyleConfigurator::CreateTextureFromImage(
63 const Orthanc::ImageAccessor& image) const 69 const Orthanc::ImageAccessor& image) const
64 { 70 {
65 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); 71 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented);
66 } 72 }
97 else 103 else
98 { 104 {
99 l.SetCustomWindowing(customWindowCenter_, customWindowWidth_); 105 l.SetCustomWindowing(customWindowCenter_, customWindowWidth_);
100 } 106 }
101 } 107 }
108
102 l.SetInverted(inverted_); 109 l.SetInverted(inverted_);
110 l.SetApplyLog(applyLog_);
103 } 111 }
104 } 112 }