# HG changeset patch # User Alain Mazy # Date 1570479106 -7200 # Node ID 692291406f6a7f8ad312393a1a02aaa153c4de20 # Parent 7912de3a15e0b36e2f641b2de7501ea87790ba16 virtual Render diff -r 7912de3a15e0 -r 692291406f6a Framework/Radiography/RadiographyScene.h --- a/Framework/Radiography/RadiographyScene.h Fri Oct 04 17:47:31 2019 +0200 +++ b/Framework/Radiography/RadiographyScene.h Mon Oct 07 22:11:46 2019 +0200 @@ -263,9 +263,9 @@ Extent2D GetSceneExtent() const; - void Render(Orthanc::ImageAccessor& buffer, - const AffineTransform2D& viewTransform, - ImageInterpolation interpolation) const; + virtual void Render(Orthanc::ImageAccessor& buffer, + const AffineTransform2D& viewTransform, + ImageInterpolation interpolation) const; bool LookupLayer(size_t& index /* out */, double x, diff -r 7912de3a15e0 -r 692291406f6a Framework/Toolbox/AffineTransform2D.h --- a/Framework/Toolbox/AffineTransform2D.h Fri Oct 04 17:47:31 2019 +0200 +++ b/Framework/Toolbox/AffineTransform2D.h Mon Oct 07 22:11:46 2019 +0200 @@ -77,6 +77,7 @@ const AffineTransform2D& c, const AffineTransform2D& d); + // transformations are applied right to left: e is the first transfo applied, a is the last one static AffineTransform2D Combine(const AffineTransform2D& a, const AffineTransform2D& b, const AffineTransform2D& c,