Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/AngleMeasureTool.h @ 1020:ac88989817e3 toa2019093001
TrackerCommand --> MeasureCommand + fuse against exception in MeasureTool dtor
+ added DeleteMeasureCommand + moved the various concrete measuring tool-related
classes to their pre-assigned file locations (everything was crammed into
MeasureCommands.* files up to this commit) + added double-click handler to
GuiAdapter (for TOA implementation of "delete measuring tool on double-click")
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 30 Sep 2019 10:41:06 +0200 |
parents | c71ef52602a0 |
children | e713f1a99861 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
1019:29f5f2031310 | 1020:ac88989817e3 |
---|---|
52 virtual void Highlight(ScenePoint2D p) ORTHANC_OVERRIDE; | 52 virtual void Highlight(ScenePoint2D p) ORTHANC_OVERRIDE; |
53 virtual void ResetHighlightState() ORTHANC_OVERRIDE; | 53 virtual void ResetHighlightState() ORTHANC_OVERRIDE; |
54 virtual boost::shared_ptr<IFlexiblePointerTracker> CreateEditionTracker(const PointerEvent& e) ORTHANC_OVERRIDE; | 54 virtual boost::shared_ptr<IFlexiblePointerTracker> CreateEditionTracker(const PointerEvent& e) ORTHANC_OVERRIDE; |
55 virtual boost::shared_ptr<MeasureToolMemento> GetMemento() const ORTHANC_OVERRIDE; | 55 virtual boost::shared_ptr<MeasureToolMemento> GetMemento() const ORTHANC_OVERRIDE; |
56 virtual void SetMemento(boost::shared_ptr<MeasureToolMemento>) ORTHANC_OVERRIDE; | 56 virtual void SetMemento(boost::shared_ptr<MeasureToolMemento>) ORTHANC_OVERRIDE; |
57 virtual std::string GetDescription() ORTHANC_OVERRIDE; | |
57 | 58 |
58 enum AngleHighlightArea | 59 enum AngleHighlightArea |
59 { | 60 { |
60 AngleHighlightArea_None, | 61 AngleHighlightArea_None, |
61 AngleHighlightArea_Side1End, | 62 AngleHighlightArea_Side1End, |