Mercurial > hg > orthanc-stone
diff Framework/Layers/FrameRenderer.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 | 814fa32e2fcc |
children | b70e9be013e4 |
line wrap: on
line diff
--- a/Framework/Layers/FrameRenderer.h Fri Nov 09 18:30:30 2018 +0100 +++ b/Framework/Layers/FrameRenderer.h Sat Nov 10 08:44:18 2018 +0100 @@ -30,7 +30,7 @@ class FrameRenderer : public ILayerRenderer { private: - CoordinateSystem3D frameSlice_; + CoordinateSystem3D framePlane_; double pixelSpacingX_; double pixelSpacingY_; RenderStyle style_; @@ -41,7 +41,7 @@ virtual CairoSurface* GenerateDisplay(const RenderStyle& style) = 0; public: - FrameRenderer(const CoordinateSystem3D& frameSlice, + FrameRenderer(const CoordinateSystem3D& framePlane, double pixelSpacingX, double pixelSpacingY, bool isFullQuality); @@ -49,9 +49,9 @@ virtual bool RenderLayer(CairoContext& context, const ViewportGeometry& view); - virtual const CoordinateSystem3D& GetLayerSlice() + virtual const CoordinateSystem3D& GetLayerPlane() { - return frameSlice_; + return framePlane_; } virtual void SetLayerStyle(const RenderStyle& style); @@ -63,7 +63,7 @@ // TODO: Avoid cloning the "frame" static ILayerRenderer* CreateRenderer(const Orthanc::ImageAccessor& frame, - const Slice& frameSlice, + const Slice& framePlane, bool isFullQuality); }; }