comparison 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
comparison
equal deleted inserted replaced
101:af312ce4fe59 102:fcec0ab44054
19 **/ 19 **/
20 20
21 21
22 #pragma once 22 #pragma once
23 23
24 #include "../../Framework/Volumes/VolumeImage.h" 24 #include "../../Framework/Volumes/ISlicedVolume.h"
25 #include "../../Framework/Viewport/WidgetViewport.h" 25 #include "../../Framework/Viewport/WidgetViewport.h"
26 #include "../../Framework/Widgets/IWorldSceneInteractor.h" 26 #include "../../Framework/Widgets/IWorldSceneInteractor.h"
27 #include "../../Framework/Toolbox/DicomStructureSet.h" 27 #include "../../Framework/Toolbox/DicomStructureSet.h"
28 #include "../../Platforms/Generic/OracleWebService.h" 28 #include "../../Platforms/Generic/OracleWebService.h"
29 29
33 namespace OrthancStone 33 namespace OrthancStone
34 { 34 {
35 class BasicApplicationContext : public boost::noncopyable 35 class BasicApplicationContext : public boost::noncopyable
36 { 36 {
37 private: 37 private:
38 typedef std::list<ISliceableVolume*> Volumes; 38 typedef std::list<ISlicedVolume*> Volumes;
39 typedef std::list<IWorldSceneInteractor*> Interactors; 39 typedef std::list<IWorldSceneInteractor*> Interactors;
40 typedef std::list<DicomStructureSet*> StructureSets; 40 typedef std::list<DicomStructureSet*> StructureSets;
41 41
42 static void UpdateThread(BasicApplicationContext* that); 42 static void UpdateThread(BasicApplicationContext* that);
43 43
82 IWebService& GetWebService() 82 IWebService& GetWebService()
83 { 83 {
84 return webService_; 84 return webService_;
85 } 85 }
86 86
87 VolumeImage& AddSeriesVolume(const std::string& series, 87 ISlicedVolume& AddVolume(ISlicedVolume* volume);
88 bool isProgressiveDownload,
89 size_t downloadThreadCount);
90 88
91 DicomStructureSet& AddStructureSet(const std::string& instance); 89 DicomStructureSet& AddStructureSet(const std::string& instance);
92 90
93 IWorldSceneInteractor& AddInteractor(IWorldSceneInteractor* interactor); 91 IWorldSceneInteractor& AddInteractor(IWorldSceneInteractor* interactor);
94 92