I would like to know if there was a direct API to reset a vtkOrientedGridTransform to identity.
Is there any workaround to do it?
If not I was planning to set zeros in the displacement fields manually.
Thanks in advance for any feedback!
Yes, you can set displacements to 0 in the coefficient image as it is done in Documentation/Nightly/ScriptRepository - Slicer Wiki by calling:
Sorry I try and let you know
Since displacement field has 3 components, maybe you need to use
FillComponent(component, 0) for component 0, 1, 2 (instead of just
Your solution was correct and did the job.