Mercurial > hg > orthanc-stone
diff Framework/Volumes/ImageBuffer3D.h @ 187:a12ca0f4aaaa wasm
ImageBuffer3D::GetCoordinates
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 15 Mar 2018 17:45:48 +0100 |
parents | db21c1810c89 |
children | 371da7fe2c0e |
line wrap: on
line diff
--- a/Framework/Volumes/ImageBuffer3D.h Thu Mar 15 16:11:45 2018 +0100 +++ b/Framework/Volumes/ImageBuffer3D.h Thu Mar 15 17:45:48 2018 +0100 @@ -158,6 +158,12 @@ unsigned int y, unsigned int z) const; + // Get the 3D position of a point in the volume, where x, y and z + // lie in the [0;1] range + Vector GetCoordinates(float x, + float y, + float z) const; + class SliceReader : public boost::noncopyable {