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(invlerp, transfer-function): auto invlerp range #614

Open
wants to merge 69 commits into
base: master
Choose a base branch
from

Conversation

seankmartin
Copy link
Contributor

@seankmartin seankmartin commented Jul 15, 2024

Allows auto setting the data range on invlerp widgets to the min - max, 1 - 99, or 5 - 95.

image

Related to #482

Other changes

  1. Transfer functions no longer bake their default points into the JSON state. This will make it more future proof, and allow to be more flexible with the design of defaults.
  2. This includes the changes from fix(volume-rendering): correct data access for histogram in volume rendering with unequal chunk sizes #632, otherwise when computing auto limits in 3D, the lower limit can bounce around. In addition, without these fixes, the 3D auto-limit is often quite removed from the 2D. The 2D/3D auto limit mismatch remains due to the differences in calculation, but is reduced.
  3. Transfer functions get a clear points button.
  4. Transfer functions will auto update the points to match the bounds unless:
    a. The points are manually changed by the user.
    b. The points have been loaded from the JSON state.
    c. Clearing the points re-enables auto-update, clearing it from a and b.

@seankmartin seankmartin changed the title Feature/auto invlerp range feat(invlerp): auto invlerp range Jul 18, 2024
@seankmartin seankmartin changed the title feat(invlerp): auto invlerp range feat(invlerp, transfer-function): auto invlerp range Aug 12, 2024
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.

1 participant