8000 ENH: Set a continuous CTF for the ctkVTKScalarsToColorsView as an edi… by MichaelColonel · Pull Request #1032 · commontk/CTK · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ENH: Set a continuous CTF for the ctkVTKScalarsToColorsView as an edi… #1032

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

Merged
merged 1 commit into from
May 17, 2022

Conversation

MichaelColonel
Copy link

…table function or as a read only one

This is a part of the first bug fix in the Slicer color legend issue.

Copy link
Member
@lassoan lassoan left a comment

Choose a reason for hiding this comment

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

Thank you, it looks good to me.

It could be better to show the points just not make them interactive, and it would be nicer to allow changing editable state anytime (not just when setting the function to the plots). But your implementation follows current patterns used in this file, so it is acceptable - the design can be improved in the future.

@MichaelColonel
Copy link
Author

It could be better to show the points just not make them interactive, and it would be nicer to allow changing editable state anytime (not just when setting the function to the plots).

I tried to modify the widget and the view by using editColors property, but i couldn't find how to deactivate mouse events for control points. I will comeback to this later.

@lassoan lassoan merged commit ec816cb into commontk:master May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0