Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1997:c622219a3388 | 1998:1fa3f484008e |
---|---|
36 | 36 |
37 enum Tool | 37 enum Tool |
38 { | 38 { |
39 Tool_Edit, | 39 Tool_Edit, |
40 Tool_None, | 40 Tool_None, |
41 Tool_Segment, | 41 Tool_Length, |
42 Tool_Angle, | 42 Tool_Angle, |
43 Tool_Circle, | 43 Tool_Circle, |
44 Tool_Remove, | 44 Tool_Remove, |
45 Tool_PixelProbe, | 45 Tool_PixelProbe, |
46 Tool_RectangleProbe, | 46 Tool_RectangleProbe, |
59 | 59 |
60 class Annotation; | 60 class Annotation; |
61 class ProbingAnnotation; | 61 class ProbingAnnotation; |
62 class PixelProbeAnnotation; | 62 class PixelProbeAnnotation; |
63 class SegmentAnnotation; | 63 class SegmentAnnotation; |
64 class LengthAnnotation; | |
64 class AngleAnnotation; | 65 class AngleAnnotation; |
65 class CircleAnnotation; | 66 class CircleAnnotation; |
66 class RectangleProbeAnnotation; | 67 class RectangleProbeAnnotation; |
67 class EllipseProbeAnnotation; | 68 class EllipseProbeAnnotation; |
69 class TextAnnotation; | |
68 | 70 |
69 class EditPrimitiveTracker; | 71 class EditPrimitiveTracker; |
70 class CreateTwoHandlesTracker; | 72 class CreateTwoHandlesTracker; |
71 class CreateAngleTracker; | 73 class CreateAngleTracker; |
72 class CreatePixelProbeTracker; | 74 class CreatePixelProbeTracker; |
118 Units GetUnits() const | 120 Units GetUnits() const |
119 { | 121 { |
120 return units_; | 122 return units_; |
121 } | 123 } |
122 | 124 |
123 void AddSegmentAnnotation(const ScenePoint2D& p1, | 125 void AddLengthAnnotation(const ScenePoint2D& p1, |
124 const ScenePoint2D& p2); | 126 const ScenePoint2D& p2); |
125 | 127 |
126 void AddCircleAnnotation(const ScenePoint2D& p1, | 128 void AddCircleAnnotation(const ScenePoint2D& p1, |
127 const ScenePoint2D& p2); | 129 const ScenePoint2D& p2); |
128 | 130 |
129 void AddAngleAnnotation(const ScenePoint2D& p1, | 131 void AddAngleAnnotation(const ScenePoint2D& p1, |