Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
186:fac46066b933 | 187:a12ca0f4aaaa |
---|---|
156 | 156 |
157 uint16_t GetVoxelGrayscale16(unsigned int x, | 157 uint16_t GetVoxelGrayscale16(unsigned int x, |
158 unsigned int y, | 158 unsigned int y, |
159 unsigned int z) const; | 159 unsigned int z) const; |
160 | 160 |
161 // Get the 3D position of a point in the volume, where x, y and z | |
162 // lie in the [0;1] range | |
163 Vector GetCoordinates(float x, | |
164 float y, | |
165 float z) const; | |
166 | |
161 | 167 |
162 class SliceReader : public boost::noncopyable | 168 class SliceReader : public boost::noncopyable |
163 { | 169 { |
164 private: | 170 private: |
165 Orthanc::ImageAccessor accessor_; | 171 Orthanc::ImageAccessor accessor_; |