Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/DicomInstanceParameters.cpp @ 757:f7c236894c1a
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 May 2019 17:05:14 +0200 |
parents | d716bfb3e07c |
children | 26f4345e771e |
comparison
equal
deleted
inserted
replaced
749:f3a7092ed10e | 757:f7c236894c1a |
---|---|
228 tmp = GetFrameGeometry(frame); | 228 tmp = GetFrameGeometry(frame); |
229 } | 229 } |
230 | 230 |
231 double distance; | 231 double distance; |
232 | 232 |
233 return (CoordinateSystem3D::GetDistance(distance, tmp, plane) && | 233 return (CoordinateSystem3D::ComputeDistance(distance, tmp, plane) && |
234 distance <= thickness_ / 2.0); | 234 distance <= thickness_ / 2.0); |
235 } | 235 } |
236 | 236 |
237 | 237 |
238 void DicomInstanceParameters::Data::ApplyRescale(Orthanc::ImageAccessor& image, | 238 void DicomInstanceParameters::Data::ApplyRescale(Orthanc::ImageAccessor& image, |