comparison Framework/Radiography/RadiographyMaskLayer.cpp @ 1375:4431ffdcc2a4

merge
author Alain Mazy <alain@mazy.be>
date Mon, 20 Apr 2020 18:26:32 +0200
parents 0745bd7fdf70 35469f75faa2
children
comparison
equal deleted inserted replaced
1374:1e4878ed1d77 1375:4431ffdcc2a4
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);