comparison Framework/Radiography/RadiographyMaskLayer.cpp @ 1372:0745bd7fdf70

fix
author Alain Mazy <alain@mazy.be>
date Fri, 03 Apr 2020 05:36:58 +0200
parents a72c2c9af49a
children 4431ffdcc2a4
comparison
equal deleted inserted replaced
1330:a72c2c9af49a 1372:0745bd7fdf70
83 } 83 }
84 else 84 else
85 { // get the extent of the in-mask area 85 { // get the extent of the in-mask area
86 Extent2D sceneExtent; 86 Extent2D sceneExtent;
87 87
88 for (std::vector<Orthanc::ImageProcessing::ImagePoint>::const_iterator& corner = corners_.begin(); corner != corners_.end(); corner++) 88 for (std::vector<Orthanc::ImageProcessing::ImagePoint>::const_iterator corner = corners_.begin(); corner != corners_.end(); corner++)
89 { 89 {
90 double x = static_cast<double>(corner->GetX()); 90 double x = static_cast<double>(corner->GetX());
91 double y = static_cast<double>(corner->GetY()); 91 double y = static_cast<double>(corner->GetY());
92 92
93 dicomLayer_.GetTransform().Apply(x, y); 93 dicomLayer_.GetTransform().Apply(x, y);