I’d like to add support to geografted figures but I am unable to understand how to get the DzVertexMesh for the combined figure.
I used to get the vertex mesh for a standard figure like this:
myVertexMesh = qobject_cast<DzVertexMesh*>(myFigure->getObject()->getCachedGeom());
However, that wouldn’t work on a geografted figure because it reads only the base figure geometry.
I’ve been taking a look also at the dzgraftingfigureshape.h header (BTW, no documentation about this class is available yet), but I couldn’t understand if there are some functions that would actually return the combined vertex mesh, facet mesh, selection map etc.
Any chance of getting some help, or maybe a working example? Thanks