Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyMaskLayer.cpp @ 1335:35469f75faa2
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 31 Mar 2020 15:47:29 +0200 |
parents | a72c2c9af49a |
children | 4431ffdcc2a4 |
comparison
equal
deleted
inserted
replaced
1330:a72c2c9af49a | 1335:35469f75faa2 |
---|---|
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 |
89 corner = corners_.begin(); corner != corners_.end(); ++corner) | |
89 { | 90 { |
90 double x = static_cast<double>(corner->GetX()); | 91 double x = static_cast<double>(corner->GetX()); |
91 double y = static_cast<double>(corner->GetY()); | 92 double y = static_cast<double>(corner->GetY()); |
92 | 93 |
93 dicomLayer_.GetTransform().Apply(x, y); | 94 dicomLayer_.GetTransform().Apply(x, y); |