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

Add toolbar to configure 3D viewer #347

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from
Draft

Add toolbar to configure 3D viewer #347

wants to merge 21 commits into from

Conversation

paskino
Copy link
Collaborator

@paskino paskino commented Jun 15, 2023

Takes from https://github.com/Dagonite/CILViewer/tree/viewer_toolbar into current master

Tested with vtk9 and vtk8

supersedes #337
closes #331

The FormDialog for Volume render settings still is missing the following properties:

Currently a workaround is in place by setting 2 parameters from CLI for the cilviewer
https://github.com/vais-ral/CILViewer/blob/9287248ccf12f2a8e1e549d9637770aca01ce2e0/Wrappers/Python/ccpi/viewer/standalone_viewer.py#L168-L169

  • scale_factor controls how many (?) steps there are in the slider, default is 100. See UISliderWidget
  • max_opacity controls the maximum opacity of the volume render opacity transfer function.

@paskino paskino changed the title update master with 3D toolbar Add toolbar to configure 3D viewer Jun 16, 2023
@paskino paskino mentioned this pull request Jun 16, 2023
@paskino
Copy link
Collaborator Author

paskino commented Jun 17, 2023

Unit tests are missing...

@paskino
Copy link
Collaborator Author

paskino commented Jan 24, 2024

The FormDialog for Volume render settings still is missing:

@hrobarts
Copy link

@lauramurgatroyd showed me how to use the tool bar and it worked really well for this shell dataset from https://doi.org/10.5281/zenodo.6983008
current_render_0002

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.

Make toolbar for the 3D viewer
3 participants