comparison Framework/Volumes/ImageBuffer3D.h @ 316:ce48c3b3b0e9

fix for new ImageAccessor API
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Oct 2018 12:45:27 +0200
parents 5412adf19980
children 557c8ff1db5c
comparison
equal deleted inserted replaced
310:348e00b837b9 316:ce48c3b3b0e9
46 float minValue_; 46 float minValue_;
47 float maxValue_; 47 float maxValue_;
48 48
49 void ExtendImageRange(const Orthanc::ImageAccessor& slice); 49 void ExtendImageRange(const Orthanc::ImageAccessor& slice);
50 50
51 Orthanc::ImageAccessor GetAxialSliceAccessor(unsigned int slice, 51 void GetAxialSliceAccessor(Orthanc::ImageAccessor& target,
52 bool readOnly) const; 52 unsigned int slice,
53 53 bool readOnly) const;
54 Orthanc::ImageAccessor GetCoronalSliceAccessor(unsigned int slice, 54
55 bool readOnly) const; 55 void GetCoronalSliceAccessor(Orthanc::ImageAccessor& target,
56 unsigned int slice,
57 bool readOnly) const;
56 58
57 Orthanc::Image* ExtractSagittalSlice(unsigned int slice) const; 59 Orthanc::Image* ExtractSagittalSlice(unsigned int slice) const;
58 60
59 template <typename T> 61 template <typename T>
60 T GetPixelUnchecked(unsigned int x, 62 T GetPixelUnchecked(unsigned int x,