Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2039:e0906b7c67b9 deep-learning
const
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 28 Jan 2023 15:48:01 +0100 |
parents | a72ca4959aa6 |
children | 0fa4c0ca429d |
comparison
equal
deleted
inserted
replaced
2038:a72ca4959aa6 | 2039:e0906b7c67b9 |
---|---|
82 } | 82 } |
83 | 83 |
84 void Load(const Orthanc::ImageAccessor& image, | 84 void Load(const Orthanc::ImageAccessor& image, |
85 bool isLinearInterpolation); | 85 bool isLinearInterpolation); |
86 | 86 |
87 void Bind(GLint location); | 87 void Bind(GLint location) const; |
88 | 88 |
89 Orthanc::ImageAccessor* Download(Orthanc::PixelFormat format); | 89 Orthanc::ImageAccessor* Download(Orthanc::PixelFormat format) const; |
90 | 90 |
91 /** | 91 /** |
92 * By default, textures are mirrored at the borders. This | 92 * By default, textures are mirrored at the borders. This |
93 * function will set out-of-image access to zero. | 93 * function will set out-of-image access to zero. |
94 **/ | 94 **/ |