You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add complete inverse transformation support to register_projected_positions!
- Add apply_inverse_transform, apply_inverse_transform_func, apply_inverse_float32convert, and apply_inverse_model kwargs
- These enable correct projection from non-data spaces back to data space
- Add early-exit optimization to skip redundant transform/inverse pairs when input_space === output_space
- Add apply_inverse_model_to_positions helper function
- Update docstring with new kwargs
- Add tests for inverse transform_func
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Unreleased
4
4
5
-
- Added `apply_inverse_float32convert` kwarg to `register_projected_positions!`to correctly apply inverse float32convert when projecting from non-data space to data space [#5485](https://github.com/MakieOrg/Makie.jl/pull/5485)
5
+
- Added complete inverse transformation support to `register_projected_positions!`with `apply_inverse_transform`, `apply_inverse_transform_func`, `apply_inverse_float32convert`, and `apply_inverse_model` kwargs. These enable correct projection from non-data spaces back to data space. Includes early-exit optimization to skip redundant transform/inverse pairs when `input_space === output_space`.[#5485](https://github.com/MakieOrg/Makie.jl/pull/5485)
6
6
- Added loading spinner in WGLMakie that displays while the plot is being loaded [#5469](https://github.com/MakieOrg/Makie.jl/pull/5469)
7
7
- Moved decoration plots in `Axis3` to `ax.blockscene` so they no longer show up as user plots in the Axis3 [#5463](https://github.com/MakieOrg/Makie.jl/pull/5463)
8
8
- Fixed issue with `transformation` being applied multiple times when set by a user in a recipe that passes applicable attributes to child plots [#5464](https://github.com/MakieOrg/Makie.jl/pull/5464)
@@ -16,12 +16,15 @@ to allow clip space clipping to happen elsewhere.)
16
16
- `output_space = :pixel` sets the output space. Can be `:space` or `:markerspace` to refer to those plot attributes or any static space like `:pixel`.
17
17
- `input_name = :positions` sets the source positions which will be projected.
18
18
- `output_name = Symbol(output_space, :_, input_name)` sets the name of the projected positions.
19
-
- `apply_transform = input_space === :space` controls whether transformations and float32convert are applied.
19
+
- `apply_transform = input_space === :space` controls whether forward transformations and float32convert are applied.
20
20
- `apply_transform_func = apply_transform` controls whether `transform_func` is applied.
21
21
- `apply_float32convert = apply_transform` controls whether `float32convert` is applied.
22
22
- `apply_model = apply_transform` controls whether the `model` matrix is applied.
23
23
- `apply_clip_planes = false` controls whether points clipped by `clip_planes` are replaced by NaN. (Does not consider clip space clipping. Only applies if `is_data_space(input_space)`.)
24
-
- `apply_inverse_float32convert = true` controls whether inverse `float32convert` is applied when projecting to data space.
24
+
- `apply_inverse_transform = output_space === :space` controls whether inverse transformations are applied when projecting to data space.
25
+
- `apply_inverse_transform_func = apply_inverse_transform` controls whether inverse `transform_func` is applied.
26
+
- `apply_inverse_float32convert = apply_inverse_transform` controls whether inverse `float32convert` is applied.
0 commit comments