Mercurial > hg > orthanc-stone
diff Framework/Toolbox/ViewportGeometry.h @ 332:50e5ec1bdd46 am-2
separating ZoomMouseTracker and PanMouseTracker from WorldSceneWidget
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Oct 2018 19:38:39 +0200 |
parents | 7a364e44fbb4 |
children | f5d5814a41a0 |
line wrap: on
line diff
--- a/Framework/Toolbox/ViewportGeometry.h Wed Oct 17 15:18:48 2018 +0200 +++ b/Framework/Toolbox/ViewportGeometry.h Wed Oct 17 19:38:39 2018 +0200 @@ -63,6 +63,11 @@ double x, double y) const; + void MapPixelCenterToScene(double& sceneX /* out */, + double& sceneY /* out */, + int x, + int y) const; + void MapSceneToDisplay(int& displayX /* out */, int& displayY /* out */, double x,