I use AIS_InteractiveContext's Vertex Mode to get a TopoDS_Vertex By MouseClick。
But i don't no how to get it's parent shape.
1.What I do now is to traverse every known TopoDS_ Shape, and get child Vertex to compare with my click Vertex.
However, this method will birng serious efficiency problem when there are a lot of TopoDS_ Shape.
2. I try to call MapShapesAndAncestors Mthod to build a map. But i don't know the rootShape of the selected TopoDS_Vertex.(Actuallly the rootShape is what i'm looking for.)
Similar Question: https://dev.opencascade.org/content/how-many-parent-face-edge
Does anyone know how I can get this information ?