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

PLOTTING: add affine transform widget #739

Open
RobPasMue opened this issue Sep 19, 2023 · 4 comments
Open

PLOTTING: add affine transform widget #739

RobPasMue opened this issue Sep 19, 2023 · 4 comments

Comments

@RobPasMue
Copy link
Member

We should consider adding this new widget from PyVista pyvista/pyvista#4803

@AlejandroFernandezLuces
Copy link
Contributor

Just FYI, this was added in pyvista==0.42, we still have the 0.41 version due to the documentation.

@RobPasMue
Copy link
Member Author

Okay, no problem :) Once it's available we will bump it. We will also have to bump the minimum PyVista requirement to 0.42 in that case

@AlejandroFernandezLuces
Copy link
Contributor

AlejandroFernandezLuces commented Sep 22, 2023

Overview of this feature

What we want

We were looking for an affine transform that applies the transformations to all of the scene. We were looking to substitute the axis widgets that we already have in the corner for an interactable one to move all of the objects of the scene around.

What PyVista currently has

PyVista currently offers an affine transform widget, that is meant to be attached to a particular actor. This allows to apply the affine transformations to this object in particular. Currently, you can not perform affine transformations to a list of actors, which is what we were looking for.

Conclusions

Since we cannot easily implement what we want with the current PyVista features, I think we should wait until this feature is implemented in PyVista to continue the development here.

@RobPasMue
Copy link
Member Author

Please open an issue on PyVista to see if they could implement an option to apply this widget to the entire scene. Thanks @AlejandroFernandezLuces!

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

No branches or pull requests

2 participants