Mercurial > hg > orthanc-stone
diff Framework/Layers/ILayerSource.h @ 87:4a541cd4fa83 wasm
OrthancVolumeImageLoader
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 May 2017 15:31:58 +0200 |
parents | 02c3a7a4938f |
children | f244018a4e4b |
line wrap: on
line diff
--- a/Framework/Layers/ILayerSource.h Fri May 26 13:42:50 2017 +0200 +++ b/Framework/Layers/ILayerSource.h Fri May 26 15:31:58 2017 +0200 @@ -38,25 +38,25 @@ // Triggered as soon as the source has enough information to // answer to "GetExtent()" - virtual void NotifyGeometryReady(ILayerSource& source) = 0; + virtual void NotifyGeometryReady(const ILayerSource& source) = 0; - virtual void NotifyGeometryError(ILayerSource& source) = 0; + virtual void NotifyGeometryError(const ILayerSource& source) = 0; - // Triggered if the extent or the content of the volume has changed - virtual void NotifySourceChange(ILayerSource& source) = 0; + // Triggered if the content of the volume has changed + virtual void NotifyContentChange(const ILayerSource& source) = 0; // Triggered if the content of some slice in the source volume has changed - virtual void NotifySliceChange(ILayerSource& source, + virtual void NotifySliceChange(const ILayerSource& source, const Slice& slice) = 0; // The layer must be deleted by the observer. "layer" will never // be "NULL", otherwise "NotifyLayerError()" would have been // called. virtual void NotifyLayerReady(ILayerRenderer *layer, - ILayerSource& source, + const ILayerSource& source, const Slice& slice) = 0; - virtual void NotifyLayerError(ILayerSource& source, + virtual void NotifyLayerError(const ILayerSource& source, const SliceGeometry& slice) = 0; };