I want to select an edge with left mouse button.
For example,think that I have a cube and I want to select its one of edges with left mouse button click.
When I wrote this code :
TopoDS_Shape vertex = Handle(AIS_Shape)::DownCast( theSelection->SelectedInteractive() )->Shape();
I first create a cube and then whenever I try to pick a vertex it highlights the vertex when the mouse cursor on it,but when I click it,it does not do anything.
I want to select it when I click the left mouse button.
Thank you in advance..