VisPro  1.0
Project of Visualisierung 2
RGBBufferView.h
Go to the documentation of this file.
1 #pragma once
2 
7 // Standard
8 #include <iostream>
9 #include <fstream>
10 #include <sstream>
11 #include <stdio.h>
12 #include <stdlib.h>
13 
14 #include "StringHelpers.hpp"
15 #include <opencv2\opencv.hpp>
16 #include <opencv2\imgproc\imgproc.hpp>
17 #include <opencv2\highgui\highgui.hpp>
18 #include <opencv2\features2d\features2d.hpp>
19 #include <opencv2\nonfree\features2d.hpp>
20 #include <opencv2\highgui\highgui.hpp>
21 #include <opencv2\nonfree\nonfree.hpp>
22 
23 #include <Windows.h>
24 #include <opencv2\highgui\highgui_c.h>
25 
26 #include <glew.h>
27 
28 #include "BufferView.h"
29 
30 
33 class RGBBufferView : public BufferView{
34 
35 private:
36 
37  byte *m_RGBValues;
38  cv::Mat m_RGBMat;
39  cv::Mat m_BGRMat;
40 
41 public:
42  RGBBufferView(int width, int height, const std::string &windowName);
43 
44 protected:
45  virtual cv::Mat ReadBufferToMatrix();
46 };
virtual cv::Mat ReadBufferToMatrix()
Definition: RGBBufferView.cpp:16
Definition: RGBBufferView.h:33
Definition: BufferView.h:36
Buffer view base class file.