Mercurial > hg > orthanc-stone
diff Framework/Toolbox/GeometryToolbox.h @ 1477:5732edec7cbd
sorting frames in 3D
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Jun 2020 15:48:59 +0200 |
parents | 2d8ab34c8c91 |
children |
line wrap: on
line diff
--- a/Framework/Toolbox/GeometryToolbox.h Wed Jun 17 18:21:26 2020 +0200 +++ b/Framework/Toolbox/GeometryToolbox.h Thu Jun 18 15:48:59 2020 +0200 @@ -109,6 +109,12 @@ const Vector& a, const Vector& b); + void ComputeNormalFromCosines(Vector& normal, + const Vector& cosines); + + bool ComputeNormal(Vector& normal, + const Orthanc::DicomMap& dicom); + inline float ComputeBilinearInterpolationUnitSquare(float x, float y, float f00, // source(0, 0)