comparison 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
comparison
equal deleted inserted replaced
1894:438071a29f77 1895:14c8f339d480
770 } 770 }
771 771
772 accessor.GetRtStruct().GetStructurePoints(polygons, structureIndex, parameters->GetSopInstanceUid()); 772 accessor.GetRtStruct().GetStructurePoints(polygons, structureIndex, parameters->GetSopInstanceUid());
773 } 773 }
774 774
775 // We use a "XOR" filler for the polygons in order to deal with holes in the RT-STRUCT
775 XorFiller filler(parameters->GetWidth(), parameters->GetHeight()); 776 XorFiller filler(parameters->GetWidth(), parameters->GetHeight());
776 OrthancStone::AffineTransform2D transform = dataAugmentation.ComputeTransform(parameters->GetWidth(), parameters->GetHeight()); 777 OrthancStone::AffineTransform2D transform = dataAugmentation.ComputeTransform(parameters->GetWidth(), parameters->GetHeight());
777 778
778 for (std::list< std::vector<OrthancStone::Vector> >::const_iterator 779 for (std::list< std::vector<OrthancStone::Vector> >::const_iterator
779 it = polygons.begin(); it != polygons.end(); ++it) 780 it = polygons.begin(); it != polygons.end(); ++it)