how to reuse BRep::Mesh result after shape transformation
I am a new OCCT user and have the following problem: I created a TopoDS_Shape and use BRepMesh::Mesh to improve tesselation in visualization mode. When I however transform (rotation, scaling etc...) my shape after meshing and visualize it again, the tesselation is very coarse as if the meshing result is lost. My Code is the following
TopoDS_Shape myshape = ...
aisContext->Display(myshape); // The shape looks fine now
//now do the transform and visualize again
BRepBuilderAPI_GTransform transformer(myshape, transformMatrix, Standard_False);
myshape = brepBuilderGTransform.Shape();
aisContext->Display(myshape); // The shape looks coarse?!, The meshing is obviously not copied on transform
Please see the attached image to see what I mean. Of course I can do another Meshing after transform. Is it possible to avoid a second meshing? Is there any possibility the reuse the first meshing result?