I have multiple point cloud data that are positioned based on pose graph’s vertices and I want to visualize it partly based on the camera position.
The updateZoomFromWheel function has already been written by default as an example.
First question
I want to write the mouse interaction function in the paraview’s backend which is similar to the following link. How can I achieve this?
Second question
What is the efficient way to load and unload data, I have already found two ways:
Hide(point_cloud_ply, viewProxy)
and
Delete(point_cloud_ply)
del point_cloud_ply
Delete method seems to be more efficient than Hide.
Thanks. The answer to the second question is clear to me.
About the first question, I want to write it myself while using the existing one as reference.
Because I want to delete and show 3D objects based on camera position which is affected by the user’s mouse input.