Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

DavidSpielman
Copy link
Contributor

…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

noether_gui/include/noether_gui/widgets/tpp_widget.h Outdated Show resolved Hide resolved
noether_gui/include/noether_gui/widgets/tpp_widget.h Outdated Show resolved Hide resolved
noether_gui/include/noether_gui/widgets/tpp_widget.h Outdated Show resolved Hide resolved
noether_gui/src/widgets/tpp_widget.cpp Outdated Show resolved Hide resolved
noether_gui/src/widgets/tpp_widget.cpp Outdated Show resolved Hide resolved
noether_gui/src/widgets/tpp_widget.cpp Outdated Show resolved Hide resolved
noether_gui/src/widgets/tpp_widget.cpp Outdated Show resolved Hide resolved
noether_gui/src/widgets/tpp_widget.cpp Outdated Show resolved Hide resolved
noether_gui/src/widgets/tpp_widget.cpp Outdated Show resolved Hide resolved
Copy link
Member

@marip8 marip8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavidSpielman please confirm that the latest changes still work correctly with your test case. Once that is confirmed, this should be ready to merge

@DavidSpielman
Copy link
Contributor Author

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

@marip8 marip8 merged commit abd63c4 into ros-industrial:master Dec 14, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants