#include <glwidget.h>
List of all members.
Public Member Functions |
| GLWidget (QWidget *_parent) |
QImage | mat2qimage (const cv::Mat &mat) |
| Convert from cv::Mat to Qt::QImage.
|
void | processOpenCV () |
| do OpenCV stuff
|
cv::Mat | qimage2mat (const QImage &qimage) |
| Convert from Qt::QImage to cv::Mat.
|
void | sendImage (cv::Mat *img) |
Private Member Functions |
void | timerEvent (QTimerEvent *_event) |
| called when the timer is triggered
|
Private Attributes |
std::vector< uint8_t > | m_rgb |
| the image data from the Kinect
|
cv::Mat | mImage |
QImage | qframe |
Detailed Description
Definition at line 14 of file glwidget.h.
Constructor & Destructor Documentation
GLWidget::GLWidget |
( |
QWidget * |
_parent | ) |
|
Member Function Documentation
void GLWidget::initializeGL |
( |
| ) |
|
|
protected |
QImage GLWidget::mat2qimage |
( |
const cv::Mat & |
mat | ) |
|
Convert from cv::Mat to Qt::QImage.
Definition at line 124 of file glwidget.cpp.
void GLWidget::paintGL |
( |
| ) |
|
|
protected |
void GLWidget::processOpenCV |
( |
| ) |
|
cv::Mat GLWidget::qimage2mat |
( |
const QImage & |
qimage | ) |
|
Convert from Qt::QImage to cv::Mat.
Definition at line 113 of file glwidget.cpp.
void GLWidget::resizeGL |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
protected |
void GLWidget::sendImage |
( |
cv::Mat * |
img | ) |
|
void GLWidget::timerEvent |
( |
QTimerEvent * |
_event | ) |
|
|
private |
called when the timer is triggered
Definition at line 182 of file glwidget.cpp.
Member Data Documentation
std::vector<uint8_t> GLWidget::m_rgb |
|
private |
the image data from the Kinect
Definition at line 49 of file glwidget.h.
The documentation for this class was generated from the following files: