comparison OrthancStone/Sources/Scene2DViewport/ViewportController.h @ 1789:462d7a0e064e

added line measures to sdl single frame viewer sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 May 2021 11:55:21 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
comparison
equal deleted inserted replaced
1788:4fd065ad1fc0 1789:462d7a0e064e
137 137
138 /** 138 /**
139 With this method, the object takes ownership of the supplied tracker and 139 With this method, the object takes ownership of the supplied tracker and
140 updates it according to user interaction 140 updates it according to user interaction
141 */ 141 */
142 void AcquireActiveTracker(IFlexiblePointerTracker* tracker); 142 void AcquireActiveTracker(const boost::shared_ptr<IFlexiblePointerTracker>& tracker)
143 {
144 activeTracker_ = tracker;
145 }
143 146
144 /** Forwarded to the underlying scene */ 147 /** Forwarded to the underlying scene */
145 AffineTransform2D GetCanvasToSceneTransform() const; 148 AffineTransform2D GetCanvasToSceneTransform() const;
146 149
147 /** Forwarded to the underlying scene */ 150 /** Forwarded to the underlying scene */