# HG changeset patch # User Sebastien Jodogne # Date 1559313266 -7200 # Node ID e62e7361fd60ba4b4f8224138278d94c7886e0f8 # Parent 0965b665c653e0bdf93dfc9f5be5b9704e08596e fix diff -r 0965b665c653 -r e62e7361fd60 Framework/Scene2D/GrayscaleStyleConfigurator.cpp --- 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 diff -r 0965b665c653 -r e62e7361fd60 Framework/Scene2D/GrayscaleStyleConfigurator.h --- a/Framework/Scene2D/GrayscaleStyleConfigurator.h Fri May 31 16:30:32 2019 +0200 +++ b/Framework/Scene2D/GrayscaleStyleConfigurator.h Fri May 31 16:34:26 2019 +0200 @@ -47,11 +47,7 @@ { } - void SetWindowing(ImageWindowing windowing) - { - hasWindowing_ = true; - windowing_ = windowing; - } + void SetWindowing(ImageWindowing windowing); void SetLinearInterpolation(bool enabled);