comparison Framework/Scene2DViewport/EditAngleMeasureTracker.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
36 In turn, a container for these commands to store the actual measuring 36 In turn, a container for these commands to store the actual measuring
37 must be supplied, too 37 must be supplied, too
38 */ 38 */
39 EditAngleMeasureTracker( 39 EditAngleMeasureTracker(
40 boost::shared_ptr<MeasureTool> measureTool, 40 boost::shared_ptr<MeasureTool> measureTool,
41 boost::weak_ptr<ViewportController> controllerW, 41 IViewport& viewport,
42 const PointerEvent& e); 42 const PointerEvent& e);
43 43
44 ~EditAngleMeasureTracker(); 44 ~EditAngleMeasureTracker();
45 45
46 virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE; 46 virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE;