Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/LineMeasureTool.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 |
---|---|
51 virtual void Highlight(ScenePoint2D p) ORTHANC_OVERRIDE; | 51 virtual void Highlight(ScenePoint2D p) ORTHANC_OVERRIDE; |
52 virtual void ResetHighlightState() ORTHANC_OVERRIDE; | 52 virtual void ResetHighlightState() ORTHANC_OVERRIDE; |
53 virtual boost::shared_ptr<IFlexiblePointerTracker> CreateEditionTracker(const PointerEvent& e) ORTHANC_OVERRIDE; | 53 virtual boost::shared_ptr<IFlexiblePointerTracker> CreateEditionTracker(const PointerEvent& e) ORTHANC_OVERRIDE; |
54 virtual boost::shared_ptr<MeasureToolMemento> GetMemento() const ORTHANC_OVERRIDE; | 54 virtual boost::shared_ptr<MeasureToolMemento> GetMemento() const ORTHANC_OVERRIDE; |
55 virtual void SetMemento(boost::shared_ptr<MeasureToolMemento>) ORTHANC_OVERRIDE; | 55 virtual void SetMemento(boost::shared_ptr<MeasureToolMemento>) ORTHANC_OVERRIDE; |
56 virtual std::string GetDescription() ORTHANC_OVERRIDE; | |
56 | 57 |
57 enum LineHighlightArea | 58 enum LineHighlightArea |
58 { | 59 { |
59 LineHighlightArea_None, | 60 LineHighlightArea_None, |
60 LineHighlightArea_Start, | 61 LineHighlightArea_Start, |