Implementation of o3d.t.geometry.TriangleMesh.clip_plane
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).
### My Question
In my code I am sequentially clipping a mesh by a large number of planes, but this operation is very slow relative to the rest of my code and as far as I can tell from checking my performance manager (Windows 11 and Ubuntu, both on CPU), single-threaded. I've looked through the repo and it seems that the clip_plane operation is currently implemented with the vtkClipPolyData class, which appears to be single-threaded. Is there an obvious way to parallelise this operation?
VTK also has a vtkPolyDataPlaneClipper class, which is multithreaded but seems to be implemented on a slightly different set of inputs (apologies for the vagueness -- I am not familiar with C++). Would this be a possible future option for faster plane clipping?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.