comparison Core/Images/ImageBuffer.h @ 2861:9b4251721f22

ImageAccessor now non-copyable
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Oct 2018 17:46:02 +0200
parents 878b59270859
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2857:482631e4e290 2861:9b4251721f22
99 unsigned int GetBytesPerPixel() const 99 unsigned int GetBytesPerPixel() const
100 { 100 {
101 return ::Orthanc::GetBytesPerPixel(format_); 101 return ::Orthanc::GetBytesPerPixel(format_);
102 } 102 }
103 103
104 ImageAccessor GetAccessor(); 104 void GetReadOnlyAccessor(ImageAccessor& accessor);
105 105
106 ImageAccessor GetConstAccessor(); 106 void GetWriteableAccessor(ImageAccessor& accessor);
107 107
108 bool IsMinimalPitchForced() const 108 bool IsMinimalPitchForced() const
109 { 109 {
110 return forceMinimalPitch_; 110 return forceMinimalPitch_;
111 } 111 }