VisPro  1.0
Project of Visualisierung 2
RGBBufferView Class Reference

#include <RGBBufferView.h>

Inheritance diagram for RGBBufferView:
BufferView

Public Member Functions

 RGBBufferView (int width, int height, const std::string &windowName)
 
- 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

Views the RGB buffer of default frame buffer.

Member Function Documentation

cv::Mat RGBBufferView::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: