Mercurial > hg > orthanc-stone
diff Framework/Volumes/ImageBuffer3D.h @ 192:371da7fe2c0e wasm
FiniteProjectiveCamera::ApplyRaytracer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Mar 2018 17:11:11 +0100 |
parents | a12ca0f4aaaa |
children | 7a031ac16b2d |
line wrap: on
line diff
--- a/Framework/Volumes/ImageBuffer3D.h Fri Mar 16 15:01:52 2018 +0100 +++ b/Framework/Volumes/ImageBuffer3D.h Fri Mar 16 17:11:11 2018 +0100 @@ -49,10 +49,10 @@ void ExtendImageRange(const Orthanc::ImageAccessor& slice); Orthanc::ImageAccessor GetAxialSliceAccessor(unsigned int slice, - bool readOnly); + bool readOnly) const; Orthanc::ImageAccessor GetCoronalSliceAccessor(unsigned int slice, - bool readOnly); + bool readOnly) const; Orthanc::Image* ExtractSagittalSlice(unsigned int slice) const; @@ -172,7 +172,7 @@ std::auto_ptr<Orthanc::Image> sagittal_; // Unused for axial and coronal public: - SliceReader(ImageBuffer3D& that, + SliceReader(const ImageBuffer3D& that, VolumeProjection projection, unsigned int slice);