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

Box clipping actor #216

Merged
merged 7 commits into from
Jan 15, 2024
Merged

Box clipping actor #216

merged 7 commits into from
Jan 15, 2024

Conversation

paskino
Copy link
Contributor

@paskino paskino commented Jan 10, 2024

closes #77

After investigating in a minimal example, I found a workaround to display the clipped poly data (cube). This workaround is necessary because there has been a change in the VTK behaviour with version >=9.1.

The change requires adding the following to the appropriate actor properties

actor.GetProperty().SetRepresentationToWireframe()
actor.GetProperty().SetRenderLinesAsTubes(True)

@paskino paskino self-assigned this Jan 10, 2024
@lauramurgatroyd
Copy link
Member

Can this PR include an update to the recipe and the environment.yml files?

- vtk=8.1.2

Or will this come in a later PR?

@paskino
Copy link
Contributor Author

paskino commented Jan 11, 2024

I just forgot to add meta.yaml to the commit. Done now.

@lauramurgatroyd
Copy link
Member

Please also update the environment .yml files that are in the same folder as the meta.yml

@paskino
Copy link
Contributor Author

paskino commented Jan 12, 2024

@lauramurgatroyd I removed the restriction to VTK 8.1.2

@paskino paskino merged commit b9a10f3 into master Jan 15, 2024
3 checks passed
@casperdcl casperdcl deleted the box_clipping_actor branch January 15, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

With vtk9 the pointcloud outline doesn't display and nor does the image registration box
2 participants