Mercurial > hg > orthanc-stone
diff Framework/Scene2D/GrayscaleStyleConfigurator.cpp @ 1061:eb28dfe432f7
fixed typo in assert. msg. + getters for custom windowing in grayscale layer configurator.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 15 Oct 2019 10:53:28 +0200 |
parents | 4d1f57773b5b |
children | ba9db2ad317c b5dec783ba08 |
line wrap: on
line diff
--- a/Framework/Scene2D/GrayscaleStyleConfigurator.cpp Mon Oct 07 15:09:45 2019 +0200 +++ b/Framework/Scene2D/GrayscaleStyleConfigurator.cpp Tue Oct 15 10:53:28 2019 +0200 @@ -41,6 +41,11 @@ customWindowWidth_ = windowWidth; } + void GrayscaleStyleConfigurator::GetCustomWindowing(float& windowCenter, float& windowWidth) const + { + windowCenter = customWindowCenter_; + windowWidth = customWindowWidth_; + } void GrayscaleStyleConfigurator::SetInverted(bool inverted) {