changeset 836:e62e7361fd60

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 31 May 2019 16:34:26 +0200
parents 0965b665c653
children c47031d9f6b1
files Framework/Scene2D/GrayscaleStyleConfigurator.cpp Framework/Scene2D/GrayscaleStyleConfigurator.h
diffstat 2 files changed, 11 insertions(+), 5 deletions(-) [+]
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
--- 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);