Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
88:90bf4116a23c | 89:f244018a4e4b |
---|---|
34 public: | 34 public: |
35 virtual ~IObserver() | 35 virtual ~IObserver() |
36 { | 36 { |
37 } | 37 } |
38 | 38 |
39 // Triggered as soon as the source has enough information to | 39 // Triggered if the content of several slices in the source |
40 // answer to "GetExtent()" | 40 // volume has changed |
41 virtual void NotifyGeometryReady(const ILayerSource& source) = 0; | |
42 | |
43 virtual void NotifyGeometryError(const ILayerSource& source) = 0; | |
44 | |
45 // Triggered if the content of the volume has changed | |
46 virtual void NotifyContentChange(const ILayerSource& source) = 0; | 41 virtual void NotifyContentChange(const ILayerSource& source) = 0; |
47 | 42 |
48 // Triggered if the content of some slice in the source volume has changed | 43 // Triggered if the content of some individual slice in the |
44 // source volume has changed | |
49 virtual void NotifySliceChange(const ILayerSource& source, | 45 virtual void NotifySliceChange(const ILayerSource& source, |
50 const Slice& slice) = 0; | 46 const Slice& slice) = 0; |
51 | 47 |
52 // The layer must be deleted by the observer. "layer" will never | 48 // The layer must be deleted by the observer. "layer" will never |
53 // be "NULL", otherwise "NotifyLayerError()" would have been | 49 // be "NULL", otherwise "NotifyLayerError()" would have been |
54 // called. | 50 // called. |
55 virtual void NotifyLayerReady(ILayerRenderer *layer, | 51 virtual void NotifyLayerReady(ILayerRenderer *layer, |
56 const ILayerSource& source, | 52 const ILayerSource& source, |