Mercurial > hg > orthanc-stone
diff Framework/Viewport/ViewportBase.h @ 1055:af456106576c
moving GetCanvasIdentifier from IViewport to WebAssemblyViewport
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Oct 2019 16:07:58 +0200 |
parents | 32b403a47b19 |
children | 6dd90b8d1589 |
line wrap: on
line diff
--- a/Framework/Viewport/ViewportBase.h Thu Oct 10 15:55:54 2019 +0200 +++ b/Framework/Viewport/ViewportBase.h Thu Oct 10 16:07:58 2019 +0200 @@ -29,25 +29,18 @@ class ViewportBase : public IViewport { private: - std::string identifier_; boost::shared_ptr<Scene2D> scene_; public: - ViewportBase(const std::string& identifier); + ViewportBase(); - ViewportBase(const std::string& identifier, - boost::shared_ptr<Scene2D>& scene); + ViewportBase(boost::shared_ptr<Scene2D>& scene); virtual Scene2D& GetScene() ORTHANC_OVERRIDE { return *scene_; } - virtual const std::string& GetCanvasIdentifier() const ORTHANC_OVERRIDE - { - return identifier_; - } - virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) ORTHANC_OVERRIDE; }; }