Mercurial > hg > orthanc-stone
diff Framework/Layers/FrameRenderer.h @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | d2c0e347ddc2 |
children |
line wrap: on
line diff
--- a/Framework/Layers/FrameRenderer.h Mon May 20 16:26:34 2019 +0200 +++ b/Framework/Layers/FrameRenderer.h Tue May 21 11:43:25 2019 +0200 @@ -25,31 +25,31 @@ #include "../Toolbox/Slice.h" -namespace OrthancStone +namespace Deprecated { class FrameRenderer : public ILayerRenderer { private: - CoordinateSystem3D framePlane_; + OrthancStone::CoordinateSystem3D framePlane_; double pixelSpacingX_; double pixelSpacingY_; RenderStyle style_; bool isFullQuality_; - std::auto_ptr<CairoSurface> display_; + std::auto_ptr<OrthancStone::CairoSurface> display_; protected: - virtual CairoSurface* GenerateDisplay(const RenderStyle& style) = 0; + virtual OrthancStone::CairoSurface* GenerateDisplay(const RenderStyle& style) = 0; public: - FrameRenderer(const CoordinateSystem3D& framePlane, + FrameRenderer(const OrthancStone::CoordinateSystem3D& framePlane, double pixelSpacingX, double pixelSpacingY, bool isFullQuality); - virtual bool RenderLayer(CairoContext& context, + virtual bool RenderLayer(OrthancStone::CairoContext& context, const ViewportGeometry& view); - virtual const CoordinateSystem3D& GetLayerPlane() + virtual const OrthancStone::CoordinateSystem3D& GetLayerPlane() { return framePlane_; }