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

Transforming aligned volumes with different rotations #224

Open
drouin-simon opened this issue Feb 7, 2019 · 0 comments
Open

Transforming aligned volumes with different rotations #224

drouin-simon opened this issue Feb 7, 2019 · 0 comments
Labels

Comments

@drouin-simon
Copy link
Member

Two volumes with embeded rotations are sometimes transformed differently when their common parent is transformed. This could be caused by the fact that origin and step of image objects are stored in the vtkImageData while the rotation read from a file is stored in the object's transform, which leads to an incorrect order in the transforms.

The solution that should be considered is to store the origin and step with the rotation in the transform of the volume and always have origin = (0,0,0) and step = (1,1,1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant