Mercurial > hg > orthanc-stone
diff Framework/Scene2D/GrayscaleStyleConfigurator.cpp @ 836:e62e7361fd60
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 31 May 2019 16:34:26 +0200 |
parents | 0965b665c653 |
children | 2b4b6b86520a |
line wrap: on
line diff
--- a/Framework/Scene2D/GrayscaleStyleConfigurator.cpp Fri May 31 16:30:32 2019 +0200 +++ b/Framework/Scene2D/GrayscaleStyleConfigurator.cpp Fri May 31 16:34:26 2019 +0200 @@ -27,18 +27,28 @@ namespace OrthancStone { + void GrayscaleStyleConfigurator::SetWindowing(ImageWindowing windowing) + { + hasWindowing_ = true; + windowing_ = windowing; + revision_++; + } + + void GrayscaleStyleConfigurator::SetLinearInterpolation(bool enabled) { linearInterpolation_ = enabled; revision_++; } + TextureBaseSceneLayer* GrayscaleStyleConfigurator::CreateTextureFromImage( const Orthanc::ImageAccessor& image) const { throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); } + TextureBaseSceneLayer* GrayscaleStyleConfigurator::CreateTextureFromDicom( const Orthanc::ImageAccessor& frame, const DicomInstanceParameters& parameters) const