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