Does ParaviewWeb implement the VTK pick function?

I now need to implement a function that uses the mouse to pick up the data displayed in the Canvas.I observe that VTK has already defined the method of point pick and cell pick, if this is already encapsulated, can we add it to the project of ParaviewWeb?

Yes, you just need to make sure you also send the mouse position when you are not dragging and perform the “selection” call on the server side to send back the summary that the client wants to show.

1 Like