Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2058:c0627145b441 deep-learning
added OpenGLTexture::IsLinearInterpolation()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 24 Apr 2023 17:09:23 +0200 |
parents | 0b596428e60c |
children | 86e0e92a2e0d |
comparison
equal
deleted
inserted
replaced
2057:8bb8d9c0cfd0 | 2058:c0627145b441 |
---|---|
42 unsigned int width_; | 42 unsigned int width_; |
43 unsigned int height_; | 43 unsigned int height_; |
44 | 44 |
45 Orthanc::PixelFormat format_; | 45 Orthanc::PixelFormat format_; |
46 OpenGL::IOpenGLContext& context_; | 46 OpenGL::IOpenGLContext& context_; |
47 bool isLinearInterpolation_; | |
47 | 48 |
48 void Setup(Orthanc::PixelFormat format, | 49 void Setup(Orthanc::PixelFormat format, |
49 unsigned int width, | 50 unsigned int width, |
50 unsigned int height, | 51 unsigned int height, |
51 bool isLinearInterpolation, | 52 bool isLinearInterpolation, |
78 unsigned int GetHeight() const | 79 unsigned int GetHeight() const |
79 { | 80 { |
80 return height_; | 81 return height_; |
81 } | 82 } |
82 | 83 |
84 bool IsLinearInterpolation() const | |
85 { | |
86 return isLinearInterpolation_; | |
87 } | |
88 | |
83 void Setup(Orthanc::PixelFormat format, | 89 void Setup(Orthanc::PixelFormat format, |
84 unsigned int width, | 90 unsigned int width, |
85 unsigned int height, | 91 unsigned int height, |
86 bool isLinearInterpolation) | 92 bool isLinearInterpolation) |
87 { | 93 { |