# is there have an interface convert vtktransform to eulerangle?

**URL:** https://discourse.vtk.org/t/is-there-have-an-interface-convert-vtktransform-to-eulerangle/11052
**Category:** Support
**Tags:** code
**Created:** [March 27, 2023, 3:34am UTC](https://discourse.vtk.org/t/is-there-have-an-interface-convert-vtktransform-to-eulerangle/11052 "2023-03-27T03:34:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [March 27, 2023, 1:02pm UTC](https://discourse.vtk.org/t/is-there-have-an-interface-convert-vtktransform-to-eulerangle/11052/2 "2023-03-27T13:02:21Z")

</div>

Hello,

As far as I know, VTK doesn’t have anything like that. A quick answer: use C++'s `<cmath>`'s `atan2()`. A gimbal-lock-proof answer: Eigen library. See [Equivalent rotations of a set of rotations. - #3 by Paulo\_Carvalho](https://discourse.vtk.org/t/equivalent-rotations-of-a-set-of-rotations/8355/3) .

take care,

PC

---

_[View the full topic](https://discourse.vtk.org/t/is-there-have-an-interface-convert-vtktransform-to-eulerangle/11052)._
