Mercurial > hg > orthanc-stone
diff Framework/Toolbox/GeometryToolbox.h @ 156:441cfe8e7440 wasm
fill matrix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Feb 2018 15:22:35 +0100 |
parents | c5044bbfc303 |
children | 2309e8d86efe |
line wrap: on
line diff
--- a/Framework/Toolbox/GeometryToolbox.h Fri Feb 02 10:02:27 2018 +0100 +++ b/Framework/Toolbox/GeometryToolbox.h Thu Feb 08 15:22:35 2018 +0100 @@ -136,6 +136,18 @@ const Vector& edgeFrom, const Vector& edgeTo); + void FillMatrix(Matrix& target, + size_t rows, + size_t columns, + const double values[]); + + void FillVector(Vector& target, + size_t size, + const double values[]); + + void Convert(Matrix& target, + const Vector& source); + inline float ComputeBilinearInterpolationInternal(float x, float y, float f00, // source(x, y)