Hello everyone,
Dose someone know after using VTK rendering, how to achieve the interaction of the model? Such as pick-up point, edge, surface, etc.And Prehighlight or highlight the model.
I notice the article in quaoar's blog and VTK Integration Services (VIS) in occ official artice to use IVtkTools_ShapePicker to get IVtk_ShapeIdList.But when I test ,in mouse OnLeftButtonDown() event i clicked the mode face but the pick num is always 0.
Have a simple method to implement pick and highlight?
Occt version: OpenCASCADE-7.7.0-vc14-64
Vtk Version: 9.2.5
Thanks in advance!


Dose someone know after using VTK rendering, how to achieve the interaction of the model? Such as pick-up point, edge, surface, etc.And Prehighlight or highlight the model.
I notice the article in quaoar's blog and VTK Integration Services (VIS) in occ official artice to use IVtkTools_ShapePicker to get IVtk_ShapeIdList.But when I test ,in mouse OnLeftButtonDown() event i clicked the mode face but the pick num is always 0.
Have a simple method to implement pick and highlight?
Occt version: OpenCASCADE-7.7.0-vc14-64
Vtk Version: 9.2.5
Thanks in advance!

