comparison Framework/Scene2DViewport/CreateAngleMeasureCommand.h @ 1305:a5326ce4f24b broker

Trackers and measuring tools now use the viewport instead of ViewportController, so that proper locks can be used
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 04 Mar 2020 09:45:38 +0100
parents 7ec8fea061b9
children ab81ee8fce1f
comparison
equal deleted inserted replaced
1304:b7fa67bf87fa 1305:a5326ce4f24b
26 class CreateAngleMeasureCommand : public CreateMeasureCommand 26 class CreateAngleMeasureCommand : public CreateMeasureCommand
27 { 27 {
28 public: 28 public:
29 /** Ctor sets end of side 1*/ 29 /** Ctor sets end of side 1*/
30 CreateAngleMeasureCommand( 30 CreateAngleMeasureCommand(
31 boost::weak_ptr<ViewportController> controllerW, 31 IViewport& viewport,
32 ScenePoint2D point); 32 ScenePoint2D point);
33 33
34 /** This method sets center*/ 34 /** This method sets center*/
35 void SetCenter(ScenePoint2D scenePos); 35 void SetCenter(ScenePoint2D scenePos);
36 36