Mercurial > hg > orthanc-stone
comparison Samples/Common/MeasureCommands.h @ 635:104c379f3f1b
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 09 May 2019 15:02:44 +0200 |
parents | 500c3f70b6c2 |
children | 1e9ed656318e |
comparison
equal
deleted
inserted
replaced
634:6a144a45b2d8 | 635:104c379f3f1b |
---|---|
69 typedef boost::shared_ptr<CreateMeasureCommand> CreateMeasureCommandPtr; | 69 typedef boost::shared_ptr<CreateMeasureCommand> CreateMeasureCommandPtr; |
70 | 70 |
71 class CreateLineMeasureCommand : public CreateMeasureCommand | 71 class CreateLineMeasureCommand : public CreateMeasureCommand |
72 { | 72 { |
73 public: | 73 public: |
74 CreateLineMeasureCommand::CreateLineMeasureCommand( | 74 CreateLineMeasureCommand(Scene2D& scene, |
75 Scene2D& scene, MeasureToolList& measureTools, ScenePoint2D point); | 75 MeasureToolList& measureTools, |
76 ScenePoint2D point); | |
76 | 77 |
77 void Update(ScenePoint2D scenePos) ORTHANC_OVERRIDE; | 78 void Update(ScenePoint2D scenePos) ORTHANC_OVERRIDE; |
78 | 79 |
79 private: | 80 private: |
80 virtual MeasureToolPtr GetMeasureTool() ORTHANC_OVERRIDE | 81 virtual MeasureToolPtr GetMeasureTool() ORTHANC_OVERRIDE |