Mercurial > hg > orthanc-stone
comparison Framework/Widgets/LayerWidget.h @ 85:bd48431ac285 wasm
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 May 2017 12:20:26 +0200 |
parents | 93b917b02fee |
children | 02c3a7a4938f |
comparison
equal
deleted
inserted
replaced
83:c75377306598 | 85:bd48431ac285 |
---|---|
46 std::auto_ptr<Scene> pendingScene_; | 46 std::auto_ptr<Scene> pendingScene_; |
47 | 47 |
48 | 48 |
49 bool LookupLayer(size_t& index /* out */, | 49 bool LookupLayer(size_t& index /* out */, |
50 ILayerSource& layer) const; | 50 ILayerSource& layer) const; |
51 | 51 |
52 bool GetAndFixExtent(double& x1, | |
53 double& y1, | |
54 double& x2, | |
55 double& y2, | |
56 ILayerSource& source) const; | |
52 | 57 |
53 virtual void NotifyGeometryReady(ILayerSource& source); | 58 virtual void NotifyGeometryReady(ILayerSource& source); |
54 | 59 |
55 virtual void NotifyGeometryError(ILayerSource& source); | 60 virtual void NotifyGeometryError(ILayerSource& source); |
56 | 61 |
92 void SetLayerStyle(size_t layer, | 97 void SetLayerStyle(size_t layer, |
93 const RenderStyle& style); | 98 const RenderStyle& style); |
94 | 99 |
95 void SetSlice(const SliceGeometry& slice); | 100 void SetSlice(const SliceGeometry& slice); |
96 | 101 |
102 const SliceGeometry& GetSlice() const | |
103 { | |
104 return slice_; | |
105 } | |
106 | |
97 virtual void Start(); | 107 virtual void Start(); |
98 }; | 108 }; |
99 } | 109 } |