diff Framework/Radiography/RadiographyScene.h @ 488:aede9b042cb7 am-touch-events

now using ImageProcessing::FillPolygon
author am@osimis.io
date Tue, 19 Feb 2019 11:40:14 +0100
parents 7bf001b9d244
children 64d90190a08c
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.h	Fri Feb 15 18:43:41 2019 +0100
+++ b/Framework/Radiography/RadiographyScene.h	Tue Feb 19 11:40:14 2019 +0100
@@ -25,10 +25,10 @@
 #include "../Toolbox/OrthancApiClient.h"
 #include "Framework/StoneEnumerations.h"
 #include "Core/Images/Image.h"
+#include "Core/Images/ImageProcessing.h"
 
 namespace OrthancStone
 {
-  struct MaskPoint;
   class RadiographyDicomLayer;
 
   class RadiographyScene :
@@ -154,7 +154,7 @@
                                     unsigned int height,
                                     RadiographyLayer::Geometry* geometry);
 
-    RadiographyLayer& LoadMask(const std::vector<MaskPoint>& corners,
+    RadiographyLayer& LoadMask(const std::vector<Orthanc::ImageProcessing::ImagePoint>& corners,
                                const RadiographyDicomLayer& dicomLayer,
                                float foreground,
                                RadiographyLayer::Geometry* geometry);