Unsolved QGraphics + Qt3D Render to Create Meshes
-
Hello All,
I have a project, where in I need to import an image, draw regions of interests, move the regions of interests in the z plane and to each of these region of interests, generate a mesh.I have used QGraphicsPixmapItem, QGraphicsRectItem, QGraphicsEllipseItem, QGraphicsScene, subclassed each of them to handle mouse events, and am able to create, resize, move back to front etc.,
Issues currently being faced.
a. I have subclassed QGraphicsPolygonItem and QGraphicsScene, so that whenever, I click the screen when polygon creation is selected to start taking points on the screen. I am able to get the screen points, but unable to draw the polygon.
b. I would like to know the steps required to be followed for creating mesh for each of the items.
Any pointers would be really help.
Thanks and Regards