Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2DViewport/AngleMeasureTool.h @ 1791:9b650ab68d4c
replaced unneeded use of boost::share_ptr for MeasureCommand mementos by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 May 2021 16:11:17 +0200 |
parents | 9ac2a65d4172 |
children | 3889ae96d2e9 |
comparison
equal
deleted
inserted
replaced
1790:b325761e0bd3 | 1791:9b650ab68d4c |
---|---|
51 | 51 |
52 virtual bool HitTest(ScenePoint2D p) ORTHANC_OVERRIDE; | 52 virtual bool HitTest(ScenePoint2D p) ORTHANC_OVERRIDE; |
53 virtual void Highlight(ScenePoint2D p) ORTHANC_OVERRIDE; | 53 virtual void Highlight(ScenePoint2D p) ORTHANC_OVERRIDE; |
54 virtual void ResetHighlightState() ORTHANC_OVERRIDE; | 54 virtual void ResetHighlightState() ORTHANC_OVERRIDE; |
55 virtual boost::shared_ptr<IFlexiblePointerTracker> CreateEditionTracker(const PointerEvent& e) ORTHANC_OVERRIDE; | 55 virtual boost::shared_ptr<IFlexiblePointerTracker> CreateEditionTracker(const PointerEvent& e) ORTHANC_OVERRIDE; |
56 virtual boost::shared_ptr<MeasureToolMemento> GetMemento() const ORTHANC_OVERRIDE; | 56 virtual MeasureToolMemento* CreateMemento() const ORTHANC_OVERRIDE; |
57 virtual void SetMemento(boost::shared_ptr<MeasureToolMemento>) ORTHANC_OVERRIDE; | 57 virtual void SetMemento(const MeasureToolMemento& memento) ORTHANC_OVERRIDE; |
58 virtual std::string GetDescription() ORTHANC_OVERRIDE; | 58 virtual std::string GetDescription() ORTHANC_OVERRIDE; |
59 | 59 |
60 enum AngleHighlightArea | 60 enum AngleHighlightArea |
61 { | 61 { |
62 AngleHighlightArea_None, | 62 AngleHighlightArea_None, |