diff Applications/BasicApplicationContext.h @ 102:fcec0ab44054 wasm

display volumes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 31 May 2017 17:01:18 +0200
parents cee8f308a4bc
children 1982d6c1d2ff
line wrap: on
line diff
--- a/Applications/BasicApplicationContext.h	Wed May 31 10:35:20 2017 +0200
+++ b/Applications/BasicApplicationContext.h	Wed May 31 17:01:18 2017 +0200
@@ -21,7 +21,7 @@
 
 #pragma once
 
-#include "../../Framework/Volumes/VolumeImage.h"
+#include "../../Framework/Volumes/ISlicedVolume.h"
 #include "../../Framework/Viewport/WidgetViewport.h"
 #include "../../Framework/Widgets/IWorldSceneInteractor.h"
 #include "../../Framework/Toolbox/DicomStructureSet.h"
@@ -35,7 +35,7 @@
   class BasicApplicationContext : public boost::noncopyable
   {
   private:
-    typedef std::list<ISliceableVolume*>       Volumes;
+    typedef std::list<ISlicedVolume*>          Volumes;
     typedef std::list<IWorldSceneInteractor*>  Interactors;
     typedef std::list<DicomStructureSet*>      StructureSets;
 
@@ -84,9 +84,7 @@
       return webService_;
     }
     
-    VolumeImage& AddSeriesVolume(const std::string& series,
-                                 bool isProgressiveDownload,
-                                 size_t downloadThreadCount);
+    ISlicedVolume& AddVolume(ISlicedVolume* volume);
 
     DicomStructureSet& AddStructureSet(const std::string& instance);