I'm very new to OCC,
I want to store pointers to every element of a cube (a topods_shape called aShape) in a vector of pointers so after that I can call them to apply an operation (fillet for example).
So I use this code:
TopoDS_Shape *shp = anIterator.Value();
the problem is that the iterator method value() does not returns the "real" topods_shape, but a temporary "copy" wich I can't point to.
I've also tried with top_explorer, and the current() also has this problem.
Is there a way to achieve this? or do you have a better way?