ros-industrial / noether

Tool path planning and surface segmenter
111 stars 43 forks source link

Added visualization tool that allows user to toggle visibility of applie… #208

Closed DavidSpielman closed 6 months ago

DavidSpielman commented 7 months ago

…d tool path and mesh modifiers

I created a mesh modifier that splits a given mesh with an origin at (0,0,0) in half by filtering the points on one side of the y axis and saving the inlier and outlier meshes of this operation into one combined mesh.

Originally, I used the concatenate() method from pcl::PolygonMesh to visualize the modified meshes into one combined mesh, but this resulted in a broken combined mesh. I verified that the inlier and outlier meshes from my mesh modifier were valid, and I confirmed that they could be concatenated into a single mesh in Open3D. The combined mesh was then manually created from the given input meshes instead of using the concatenate() method. How the concatenate method combines meshes will require further investigation.

Below are images showing the functionality of the visualization tool. The checkboxes that are ticked show the components that they control the visibility of.

orig_mesh_modif_tp orig_mesh_orig_tp modif_mesh modif_mesh_orig_tp modif_mesh_modif_tp

DavidSpielman commented 6 months ago

@marip8 I have reviewed the changes, and they still work with the test case I used.