VisPro  1.0
Project of Visualisierung 2
ZBufferView.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 
32 class ZBufferView : public BufferView{
33 
34 private:
35  float *m_depthValues;
36  cv::Mat m_depthMat;
37  cv::Mat m_grayMat;
38  GLuint m_fboHandle;
39 
40 public:
47  ZBufferView(int width, int height, const std::string &windowName, GLuint fboHandle);
48 
49 protected:
50  virtual cv::Mat ReadBufferToMatrix();
51 
52 };
Definition: ZBufferView.h:32
virtual cv::Mat ReadBufferToMatrix()
Definition: ZBufferView.cpp:14
ZBufferView(int width, int height, const std::string &windowName, GLuint fboHandle)
Definition: ZBufferView.cpp:3
Definition: BufferView.h:36
Buffer view base class file.