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

feat: change image user layer UI labels #496

Merged
merged 10 commits into from
Nov 6, 2023

Conversation

seankmartin
Copy link
Contributor

@seankmartin seankmartin commented Oct 10, 2023

Goal

To try and make it clearer that opacity and blending don't impact volume rendering, only the cross-section slice view

@google-cla
Copy link

google-cla bot commented Oct 10, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

{
label: 'Volume rendering (experimental)',
toolJson: VOLUME_RENDERING_JSON_KEY,
...checkboxLayerControl(layer => layer.volumeRendering),
},
{
label: 'Resolution (3d)',
label: 'Resolution indicator (3D)',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Per the comment in the other PR, the change to this label may be unnecessary if it is changed to control the number of samples.

@export_tool
class VolumeRenderingTool(Tool):
__slots__ = ()
TOOL_TYPE = "volumeRendering"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Per the comment in the other PR, I think there could be one option that controls the volume rendering mode, with one mode being "off" --- then there wouldn't be a separate tool and python option.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, I'll change the other PR to have this new mode controllable from Python and remove the new tool from this PR

@seankmartin seankmartin changed the title feat: change image user layer UI labels and control VR on/off from Python feat: change image user layer UI labels Oct 18, 2023
@jbms jbms merged commit 6217f5d into google:master Nov 6, 2023
20 checks passed
@seankmartin seankmartin deleted the feat/small-changes branch November 9, 2023 08:35
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