Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h @ 1806:0840a25c6d41
removed hard-coded test in AnnotationsSceneLayer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 May 2021 17:11:10 +0200 |
parents | 5a872e69c74f |
children | 79a5838739a6 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h Thu May 20 17:05:30 2021 +0200 +++ b/OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.h Thu May 20 17:11:10 2021 +0200 @@ -99,6 +99,16 @@ return activeTool_; } + void AddSegmentAnnotation(const ScenePoint2D& p1, + const ScenePoint2D& p2); + + void AddCircleAnnotation(const ScenePoint2D& p1, + const ScenePoint2D& p2); + + void AddAngleAnnotation(const ScenePoint2D& p1, + const ScenePoint2D& p2, + const ScenePoint2D& p3); + void Render(Scene2D& scene); bool ClearHover();