comparison Framework/Layers/ILayerSource.h @ 66:298f375dcb68 wasm

LayerWidget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 May 2017 22:03:09 +0200
parents 885932a893de
children f5f54ed8d307
comparison
equal deleted inserted replaced
65:885932a893de 66:298f375dcb68
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
40 // answer to "GetExtent()"
41 virtual void NotifyGeometryReady(ILayerSource& source) = 0;
42
39 // Triggered if the extent or the content of the volume has changed 43 // Triggered if the extent or the content of the volume has changed
40 virtual void NotifySourceChange(ILayerSource& source) = 0; 44 virtual void NotifySourceChange(ILayerSource& source) = 0;
41 45
42 // Triggered if some slice in the source volume has changed 46 // Triggered if some slice in the source volume has changed
43 virtual void NotifySliceChange(ILayerSource& source, 47 virtual void NotifySliceChange(ILayerSource& source,
65 double& x2, 69 double& x2,
66 double& y2, 70 double& y2,
67 const SliceGeometry& viewportSlice) = 0; 71 const SliceGeometry& viewportSlice) = 0;
68 72
69 virtual void ScheduleLayerCreation(const SliceGeometry& viewportSlice) = 0; 73 virtual void ScheduleLayerCreation(const SliceGeometry& viewportSlice) = 0;
74
75 virtual void Start() = 0;
70 }; 76 };
71 } 77 }