Mercurial > hg > orthanc-stone
diff Framework/Layers/ILayerSource.h @ 89:f244018a4e4b wasm
BUGGY- trying to remove IVolumeSlicesObserver
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 May 2017 18:27:59 +0200 |
parents | 4a541cd4fa83 |
children | 64e60018943f |
line wrap: on
line diff
--- a/Framework/Layers/ILayerSource.h Fri May 26 16:11:52 2017 +0200 +++ b/Framework/Layers/ILayerSource.h Fri May 26 18:27:59 2017 +0200 @@ -36,19 +36,15 @@ { } - // Triggered as soon as the source has enough information to - // answer to "GetExtent()" - virtual void NotifyGeometryReady(const ILayerSource& source) = 0; - - virtual void NotifyGeometryError(const ILayerSource& source) = 0; - - // Triggered if the content of the volume has changed + // Triggered if the content of several slices in the source + // volume has changed virtual void NotifyContentChange(const ILayerSource& source) = 0; - // Triggered if the content of some slice in the source volume has changed + // Triggered if the content of some individual slice in the + // source volume has changed 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.