diff OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h @ 1998:1fa3f484008e

added arrows to AnnotationsSceneLayer::Segment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Nov 2022 13:08:50 +0100
parents a595776232bb
children 709b90ae0f89
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h	Tue Nov 01 19:42:27 2022 +0100
+++ b/OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h	Wed Nov 02 13:08:50 2022 +0100
@@ -38,7 +38,7 @@
     {
       Tool_Edit,
       Tool_None,
-      Tool_Segment,
+      Tool_Length,
       Tool_Angle,
       Tool_Circle,
       Tool_Remove,
@@ -61,10 +61,12 @@
     class ProbingAnnotation;
     class PixelProbeAnnotation;
     class SegmentAnnotation;
+    class LengthAnnotation;
     class AngleAnnotation;
     class CircleAnnotation;
     class RectangleProbeAnnotation;
     class EllipseProbeAnnotation;
+    class TextAnnotation;
     
     class EditPrimitiveTracker;
     class CreateTwoHandlesTracker;
@@ -120,8 +122,8 @@
       return units_;
     }
 
-    void AddSegmentAnnotation(const ScenePoint2D& p1,
-                              const ScenePoint2D& p2);
+    void AddLengthAnnotation(const ScenePoint2D& p1,
+                             const ScenePoint2D& p2);
 
     void AddCircleAnnotation(const ScenePoint2D& p1,
                              const ScenePoint2D& p2);