How I can use drawMat?

Hello,

I have a simple question but I couln’t answer using several forum, google or reading the several .h.
I want to draw a cv:Mat.
I found this threads:

http://forum.openframeworks.cc/t/does-ofxcv::drawmat-support-rgba/12446/0

I added the ofxOpenCv in addibs.make and included the “ofxOpenCv.h” in the cpp but I can’t use
because It was declarated. (I tryed with ofxCv but thiis ambito doesn’t exist)
src/testApp.cpp:201:22: error: ‘drawMat’ no se declaró en este ámbito

Thank you!

Hello,

For now, I can draw a mat.

Mat frame;
ofImage image;

image.setFromPixels((unsigned char *) IplImage(frame).imageData,frame.size().width, frame.size().height,OF_IMAGE_COLOR);

But I think that drawMat is more efficient.