Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1476:4db187d29731 | 1477:5732edec7cbd |
---|---|
107 | 107 |
108 void AlignVectorsWithRotation(Matrix& r, | 108 void AlignVectorsWithRotation(Matrix& r, |
109 const Vector& a, | 109 const Vector& a, |
110 const Vector& b); | 110 const Vector& b); |
111 | 111 |
112 void ComputeNormalFromCosines(Vector& normal, | |
113 const Vector& cosines); | |
114 | |
115 bool ComputeNormal(Vector& normal, | |
116 const Orthanc::DicomMap& dicom); | |
117 | |
112 inline float ComputeBilinearInterpolationUnitSquare(float x, | 118 inline float ComputeBilinearInterpolationUnitSquare(float x, |
113 float y, | 119 float y, |
114 float f00, // source(0, 0) | 120 float f00, // source(0, 0) |
115 float f01, // source(1, 0) | 121 float f01, // source(1, 0) |
116 float f10, // source(0, 1) | 122 float f10, // source(0, 1) |