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(viewer): add opacityPoints event to image actor #175

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

PaulHax
Copy link
Collaborator

@PaulHax PaulHax commented Aug 27, 2024

Opacity Points are source of truth for normalized opacity points.

Comment on lines +21 to +34
imageActor.send({
type: 'opacityPoints',
points: [
[60, 0.1],
[100, 0.9],
[220, 0.2],
],
component: 0,
});
imageActor.send({
type: 'colorRange',
range: [60, 220],
component: 0,
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@thewtex Set opacity points event that works now

Opacity Points are source of truth for normalized opacity points.
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

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

@PaulHax awesome, thank you!!

@thewtex thewtex merged commit 11f916c into InsightSoftwareConsortium:main Aug 28, 2024
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