Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
487:e4febcef669e | 488:aede9b042cb7 |
---|---|
23 | 23 |
24 #include "RadiographyLayer.h" | 24 #include "RadiographyLayer.h" |
25 #include "../Toolbox/OrthancApiClient.h" | 25 #include "../Toolbox/OrthancApiClient.h" |
26 #include "Framework/StoneEnumerations.h" | 26 #include "Framework/StoneEnumerations.h" |
27 #include "Core/Images/Image.h" | 27 #include "Core/Images/Image.h" |
28 #include "Core/Images/ImageProcessing.h" | |
28 | 29 |
29 namespace OrthancStone | 30 namespace OrthancStone |
30 { | 31 { |
31 struct MaskPoint; | |
32 class RadiographyDicomLayer; | 32 class RadiographyDicomLayer; |
33 | 33 |
34 class RadiographyScene : | 34 class RadiographyScene : |
35 public IObserver, | 35 public IObserver, |
36 public IObservable | 36 public IObservable |
152 | 152 |
153 RadiographyLayer& LoadTestBlock(unsigned int width, | 153 RadiographyLayer& LoadTestBlock(unsigned int width, |
154 unsigned int height, | 154 unsigned int height, |
155 RadiographyLayer::Geometry* geometry); | 155 RadiographyLayer::Geometry* geometry); |
156 | 156 |
157 RadiographyLayer& LoadMask(const std::vector<MaskPoint>& corners, | 157 RadiographyLayer& LoadMask(const std::vector<Orthanc::ImageProcessing::ImagePoint>& corners, |
158 const RadiographyDicomLayer& dicomLayer, | 158 const RadiographyDicomLayer& dicomLayer, |
159 float foreground, | 159 float foreground, |
160 RadiographyLayer::Geometry* geometry); | 160 RadiographyLayer::Geometry* geometry); |
161 | 161 |
162 RadiographyLayer& LoadAlphaBitmap(Orthanc::ImageAccessor* bitmap, // takes ownership | 162 RadiographyLayer& LoadAlphaBitmap(Orthanc::ImageAccessor* bitmap, // takes ownership |