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.
I don't know it either, but I think that you could use a QOpenGLWidget to display your 3D data (like in 2D case where you have to convert your Mat image to QPixmap). In this case you should implement the display function yourself. Check some tutorials, it's very intuitive.
@johnmarinelli. Did you find solution to embend Viz3d windows to qt gui based on widgets?
@Bleach, please do not post answers here, if you have a question or comment, thank you.