Mercurial > hg > orthanc-stone
diff Framework/Widgets/SliceViewerWidget.h @ 394:17d54c028805
rename ILayerRenderer::GetLayerSlice() to GetLayerPlane()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 10 Nov 2018 08:44:18 +0100 |
parents | 20f149669c1f |
children | ed7146fa2c98 |
line wrap: on
line diff
--- a/Framework/Widgets/SliceViewerWidget.h Fri Nov 09 18:30:30 2018 +0100 +++ b/Framework/Widgets/SliceViewerWidget.h Sat Nov 10 08:44:18 2018 +0100 @@ -48,7 +48,7 @@ LayersIndex layersIndex_; std::vector<ILayerSource*> layers_; std::vector<RenderStyle> styles_; - CoordinateSystem3D slice_; + CoordinateSystem3D plane_; std::auto_ptr<Scene> currentScene_; std::auto_ptr<Scene> pendingScene_; std::vector<bool> changedLayers_; @@ -87,7 +87,7 @@ void UpdateLayer(size_t index, ILayerRenderer* renderer, - const CoordinateSystem3D& slice); + const CoordinateSystem3D& plane); void InvalidateAllLayers(); @@ -112,11 +112,11 @@ void SetLayerStyle(size_t layer, const RenderStyle& style); - void SetSlice(const CoordinateSystem3D& slice); + void SetSlice(const CoordinateSystem3D& plane); const CoordinateSystem3D& GetSlice() const { - return slice_; + return plane_; } virtual bool HasAnimation() const