Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/OpenGL/OpenGLTextureArray.h @ 2063:b6b5e1ca1cc2 deep-learning
rename
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 03 May 2023 22:00:38 +0200 |
parents | 86e0e92a2e0d |
children | 15f2e52835a1 |
comparison
equal
deleted
inserted
replaced
2062:f5db73779f2d | 2063:b6b5e1ca1cc2 |
---|---|
103 unsigned int unit) const; | 103 unsigned int unit) const; |
104 | 104 |
105 void Upload(const Orthanc::ImageAccessor& image, | 105 void Upload(const Orthanc::ImageAccessor& image, |
106 unsigned int layer); | 106 unsigned int layer); |
107 | 107 |
108 class DownloadedVolume : public boost::noncopyable | 108 class DownloadedArray : public boost::noncopyable |
109 { | 109 { |
110 private: | 110 private: |
111 std::string buffer_; | 111 std::string buffer_; |
112 Orthanc::PixelFormat format_; | 112 Orthanc::PixelFormat format_; |
113 unsigned int width_; | 113 unsigned int width_; |
114 unsigned int height_; | 114 unsigned int height_; |
115 unsigned int depth_; | 115 unsigned int depth_; |
116 | 116 |
117 public: | 117 public: |
118 DownloadedVolume(const OpenGLTextureArray& texture); | 118 DownloadedArray(const OpenGLTextureArray& texture); |
119 | 119 |
120 Orthanc::PixelFormat GetFormat() const | 120 Orthanc::PixelFormat GetFormat() const |
121 { | 121 { |
122 return format_; | 122 return format_; |
123 } | 123 } |