comparison OrthancStone/Sources/OpenGL/OpenGLTextureArray.cpp @ 2063:b6b5e1ca1cc2 deep-learning

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 May 2023 22:00:38 +0200
parents f5db73779f2d
children 15f2e52835a1
comparison
equal deleted inserted replaced
2062:f5db73779f2d 2063:b6b5e1ca1cc2
221 #endif 221 #endif
222 } 222 }
223 } 223 }
224 224
225 225
226 OpenGLTextureArray::DownloadedVolume::DownloadedVolume(const OpenGLTextureArray& texture) : 226 OpenGLTextureArray::DownloadedArray::DownloadedArray(const OpenGLTextureArray& texture) :
227 format_(texture.format_), 227 format_(texture.format_),
228 width_(texture.width_), 228 width_(texture.width_),
229 height_(texture.height_), 229 height_(texture.height_),
230 depth_(texture.depth_) 230 depth_(texture.depth_)
231 { 231 {
280 #endif 280 #endif
281 } 281 }
282 } 282 }
283 283
284 284
285 Orthanc::ImageAccessor* OpenGLTextureArray::DownloadedVolume::GetLayer(unsigned int layer) const 285 Orthanc::ImageAccessor* OpenGLTextureArray::DownloadedArray::GetLayer(unsigned int layer) const
286 { 286 {
287 if (layer >= depth_) 287 if (layer >= depth_)
288 { 288 {
289 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); 289 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);
290 } 290 }