Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2032:d10bab7cc396 deep-learning
added OpenGLTexture::Download()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 21 Jan 2023 16:48:56 +0100 |
parents | 7053b8a0aaec |
children | 4b24b7533346 |
line wrap: on
line diff
--- a/OrthancStone/Sources/OpenGL/OpenGLTexture.h Fri Dec 23 17:51:07 2022 +0100 +++ b/OrthancStone/Sources/OpenGL/OpenGLTexture.h Sat Jan 21 16:48:56 2023 +0100 @@ -24,6 +24,7 @@ #pragma once #include "OpenGLIncludes.h" +#include "IOpenGLContext.h" #include <Images/ImageAccessor.h> @@ -34,8 +35,6 @@ { namespace OpenGL { - class IOpenGLContext; - class OpenGLTexture : public boost::noncopyable { private: @@ -63,6 +62,8 @@ bool isLinearInterpolation); void Bind(GLint location); + + Orthanc::ImageAccessor* Download(Orthanc::PixelFormat format); }; } }