Ask Your Question

johnmarinelli's profile - activity

2018-08-30 07:14:58 -0600 received badge  Nice Question (source)
2015-03-10 12:31:07 -0600 received badge  Student (source)
2015-03-10 11:25:11 -0600 asked a question Embedding OpenCV Viz3d and Qt

I'd like to have an OpenCv Viz3d window in my Qt application. I'm aware that there are other similar questions, but those are in regards to OpenCV's 2d imaging capabilities.

So far, my approach has been to create a class that inherits from QWidget and cv::viz::Viz3d. However, I can't figure out how to override cv::viz::Viz3d's paint event to display inside of the GUI rather than its own window.

If there's a way to retrieve a cv::Mat from cv::viz::Viz3d, that could potentially work as well; however, it doesn't seeem like I can get a cv::Mat from Viz3d.