Mercurial > hg > orthanc-stone
diff Framework/SmartLoader.h @ 396:ed7146fa2c98
rename ILayerSource as IVolumeSlicer, and OrthancFrameLayerSource as as DicomSeriesVolumeSlicer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 10 Nov 2018 09:29:08 +0100 |
parents | 5f13809f3f76 |
children | f87f28624b96 b70e9be013e4 |
line wrap: on
line diff
--- a/Framework/SmartLoader.h Sat Nov 10 09:14:12 2018 +0100 +++ b/Framework/SmartLoader.h Sat Nov 10 09:29:08 2018 +0100 @@ -22,7 +22,7 @@ #pragma once #include <map> -#include "Layers/OrthancFrameLayerSource.h" +#include "Layers/DicomSeriesVolumeSlicer.h" #include "Messages/IObservable.h" #include "Toolbox/OrthancApiClient.h" @@ -38,7 +38,7 @@ typedef std::map<std::string, boost::shared_ptr<SmartLoader::CachedSlice> > CachedSlices; CachedSlices cachedSlices_; - typedef std::map<std::string, boost::shared_ptr<ILayerSource> > PreloadingInstances; + typedef std::map<std::string, boost::shared_ptr<IVolumeSlicer> > PreloadingInstances; PreloadingInstances preloadingInstances_; SliceImageQuality imageQuality_; @@ -58,9 +58,9 @@ void GetFirstInstanceIdForSeries(std::string& output, const std::string& seriesId); private: - void OnLayerGeometryReady(const ILayerSource::GeometryReadyMessage& message); - void OnFrameReady(const OrthancFrameLayerSource::FrameReadyMessage& message); - void OnLayerReady(const ILayerSource::LayerReadyMessage& message); + void OnLayerGeometryReady(const IVolumeSlicer::GeometryReadyMessage& message); + void OnFrameReady(const DicomSeriesVolumeSlicer::FrameReadyMessage& message); + void OnLayerReady(const IVolumeSlicer::LayerReadyMessage& message); };