enh(viz): allow dynamic scene 2D size
Description
This enhancement comes from a discussion of !729 (merged):
-
@eduhamel started a discussion: (+2 comments) Question for my culture.
Since range is now computed dynamically, does that still makes sense to specify
x
andy
? Or do I completely misunderstand those parameters?
The 2D scene requires its size to be set at the start. However, when using it to display a transfer function graph, it is not really obvious for the user to specify this size, since it depends from the image. In !729 (merged), the viewport is dynamically computed and we should find a way to do the same for the scene.
Proposal
- Allow changing the scene size according to the image min and max...
- Create specific slots ?
- We might need other use cases to not specialize the code to the display of transfer functions.
Functional specifications
Workflow, UX/UI design, screenshots, etc...
Technical specifications
Details of the implementation
Test plan
Describe how you will verify that the implementation fulfills the specifications