Lines Matching refs:image2Draw_mat
2285 DefaultViewPort::DefaultViewPort(CvWindow* arg, int arg2) : QGraphicsView(arg), image2Draw_mat(0) in DefaultViewPort()
2311 image2Draw_mat = cvCreateMat(viewport()->height(), viewport()->width(), CV_8UC3); in DefaultViewPort()
2312 cvZero(image2Draw_mat); in DefaultViewPort()
2323 if (image2Draw_mat) in ~DefaultViewPort()
2324 cvReleaseMat(&image2Draw_mat); in ~DefaultViewPort()
2405 if (!image2Draw_mat || !CV_ARE_SIZES_EQ(image2Draw_mat, mat)) in updateImage()
2407 if (image2Draw_mat) in updateImage()
2408 cvReleaseMat(&image2Draw_mat); in updateImage()
2411 image2Draw_mat = cvCreateMat(mat->rows, mat->cols, CV_8UC3); in updateImage()
2412 …image2Draw_qt = QImage(image2Draw_mat->data.ptr, image2Draw_mat->cols, image2Draw_mat->rows, image… in updateImage()
2415 ratioX = width() / float(image2Draw_mat->cols); in updateImage()
2416 ratioY = height() / float(image2Draw_mat->rows); in updateImage()
2422 cvConvertImage(mat, image2Draw_mat, (origin != 0 ? CV_CVTIMG_FLIP : 0) + CV_CVTIMG_SWAP_RB); in updateImage()
2580 ratioX = width() / float(image2Draw_mat->cols); in resizeEvent()
2581 ratioY = height() / float(image2Draw_mat->rows); in resizeEvent()
2585 QSize newSize = QSize(image2Draw_mat->cols, image2Draw_mat->rows); in resizeEvent()
2884 if(image2Draw_mat) in sizeHint()
2885 return QSize(image2Draw_mat->cols, image2Draw_mat->rows); in sizeHint()
2893 …image2Draw_qt = QImage(image2Draw_mat->data.ptr, image2Draw_mat->cols, image2Draw_mat->rows,image2… in draw2D()