VisPro  1.0
Project of Visualisierung 2
TextureView.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include "BufferView.h"
8 
11 class TextureView : public BufferView
12 {
13 
14 protected:
15  GLubyte *m_texBuffer;
16  cv::Mat m_texMat;
17  GLuint m_textureID;
18  GLuint m_textureUnitID;
19 
20 public:
29  TextureView(int width, int height, const std::string &windowName, Channels channels, GLuint textureUnitID, GLuint textureID);
30 
31 protected:
32  virtual cv::Mat ReadBufferToMatrix();
33 };
Channels
Definition: BufferView.h:30
TextureView(int width, int height, const std::string &windowName, Channels channels, GLuint textureUnitID, GLuint textureID)
Definition: TextureView.cpp:3
Definition: TextureView.h:11
virtual cv::Mat ReadBufferToMatrix()
Definition: TextureView.cpp:22
Definition: BufferView.h:36
Buffer view base class file.