changeset 391:021480604c92

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Nov 2018 17:41:46 +0100
parents 0cb925325470
children d87fe075d31b
files Framework/Layers/ReferenceLineFactory.cpp Framework/Layers/ReferenceLineFactory.h
diffstat 2 files changed, 18 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Layers/ReferenceLineFactory.cpp	Fri Nov 09 17:37:34 2018 +0100
+++ b/Framework/Layers/ReferenceLineFactory.cpp	Fri Nov 09 17:41:46 2018 +0100
@@ -25,8 +25,8 @@
 
 namespace OrthancStone
 {
-  ReferenceLineFactory::ReferenceLineFactory(LayeredSceneWidget& owner,
-                                             LayeredSceneWidget& sibling) :
+  ReferenceLineFactory::ReferenceLineFactory(SliceViewerWidget& owner,
+                                             SliceViewerWidget& sibling) :
     owner_(owner),
     sibling_(sibling),
     hasLayerIndex_(false)
@@ -37,7 +37,7 @@
   }
 
 
-  void ReferenceLineFactory::NotifySliceChange(const LayeredSceneWidget& source,
+  void ReferenceLineFactory::NotifySliceChange(const SliceViewerWidget& source,
                                                const SliceGeometry& slice)
   {
     if (&source == &sibling_)
@@ -119,8 +119,8 @@
   }
 
 
-  void ReferenceLineFactory::Configure(LayeredSceneWidget& a,
-                                       LayeredSceneWidget& b)
+  void ReferenceLineFactory::Configure(SliceViewerWidget& a,
+                                       SliceViewerWidget& b)
   {
     {
       size_t layerIndex;
--- a/Framework/Layers/ReferenceLineFactory.h	Fri Nov 09 17:37:34 2018 +0100
+++ b/Framework/Layers/ReferenceLineFactory.h	Fri Nov 09 17:41:46 2018 +0100
@@ -21,28 +21,28 @@
 
 #pragma once
 
-#include "../Widgets/LayeredSceneWidget.h"
+#include "../Widgets/SliceViewerWidget.h"
 
 namespace OrthancStone
 {
   class ReferenceLineFactory : 
     public ILayerRendererFactory,
-    public LayeredSceneWidget::ISliceObserver
+    public SliceViewerWidget::ISliceObserver
   {
   private:
-    LayeredSceneWidget&   owner_;
-    LayeredSceneWidget&   sibling_;
-    SliceGeometry         slice_;
-    RenderStyle           style_;
-    bool                  hasLayerIndex_;
-    size_t                layerIndex_;
+    SliceViewerWidget&   owner_;
+    SliceViewerWidget&   sibling_;
+    SliceGeometry        slice_;
+    RenderStyle          style_;
+    bool                 hasLayerIndex_;
+    size_t               layerIndex_;
 
       
   public:
-    ReferenceLineFactory(LayeredSceneWidget& owner,
-                         LayeredSceneWidget& sibling);
+    ReferenceLineFactory(SliceViewerWidget& owner,
+                         SliceViewerWidget& sibling);
 
-    virtual void NotifySliceChange(const LayeredSceneWidget& source,
+    virtual void NotifySliceChange(const SliceViewerWidget& source,
                                    const SliceGeometry& slice);
 
     void SetLayerIndex(size_t layerIndex);
@@ -71,7 +71,7 @@
 
     virtual ISliceableVolume& GetSourceVolume() const;
 
-    static void Configure(LayeredSceneWidget& a,
-                          LayeredSceneWidget& b);
+    static void Configure(SliceViewerWidget& a,
+                          SliceViewerWidget& b);
   };
 }