Mercurial > hg > orthanc-stone
diff RenderingPlugin/Sources/Plugin.cpp @ 1895:14c8f339d480
removed redundant definitions Point2D, Point3D and Vector3D from DicomStructureSetUtils.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 19 Jan 2022 14:51:55 +0100 |
parents | 438071a29f77 |
children | bd527bbc34df |
line wrap: on
line diff
--- a/RenderingPlugin/Sources/Plugin.cpp Wed Jan 19 14:25:59 2022 +0100 +++ b/RenderingPlugin/Sources/Plugin.cpp Wed Jan 19 14:51:55 2022 +0100 @@ -772,6 +772,7 @@ accessor.GetRtStruct().GetStructurePoints(polygons, structureIndex, parameters->GetSopInstanceUid()); } + // We use a "XOR" filler for the polygons in order to deal with holes in the RT-STRUCT XorFiller filler(parameters->GetWidth(), parameters->GetHeight()); OrthancStone::AffineTransform2D transform = dataAugmentation.ComputeTransform(parameters->GetWidth(), parameters->GetHeight());