VisPro  1.0
Project of Visualisierung 2
ZBufferView Class Reference

#include <ZBufferView.h>

Inheritance diagram for ZBufferView:
BufferView

Public Member Functions

 ZBufferView (int width, int height, const std::string &windowName, GLuint fboHandle)
 
- Public Member Functions inherited from BufferView
 BufferView (int width, int height, const std::string &windowName, Channels channels=Channels::RGB)
 
virtual bool ShowBufferView (bool show)
 
virtual bool UpdateBufferView ()
 

Protected Member Functions

virtual cv::Mat ReadBufferToMatrix ()
 
- Protected Member Functions inherited from BufferView
virtual std::vector< std::tuple< cv::Mat, std::string > > SplitMatrixToChannels (const cv::Mat &rgbMat)
 
virtual std::string GetBufferWindowChannelName (const std::string &channelName)
 

Additional Inherited Members

- Protected Attributes inherited from BufferView
std::string m_bufferWindowName = "buffer view"
 
std::vector< std::tuple< HWND, std::string > > m_bufferWindowHandles
 
int m_width = 1024
 
int m_height = 800
 
Channels m_channels
 

Detailed Description

Z buffer view.

Constructor & Destructor Documentation

ZBufferView::ZBufferView ( int  width,
int  height,
const std::string &  windowName,
GLuint  fboHandle 
)

Constructor.

Parameters
widthwidth of buffer
heightheight of buffer
windowNamebasic name part of OpenCV windows for viewing the buffer
fboHandleframe buffer object to extract z buffer

Member Function Documentation

cv::Mat ZBufferView::ReadBufferToMatrix ( )
protectedvirtual

Read the given matrix into an OpenCV matrix.

Returns
return the RGB matrix.

Implements BufferView.


The documentation for this class was generated from the following files: