Microsoft обеспечивает удобный инструмент под названием "Перфоратор", который может сказать Вам, которыми части Вашего приложения WPF представляются в программном обеспечении. Это - часть большего набора "Производительности Профильные Инструменты", которые можно найти здесь .
It sounds like you want the inverse of Q1 times Q2. Transforming by the inverse of Q1 will rotate the object back to its original frame (the initial orientation, as you say), and then transforming by Q2 will rotate it to its new orientation.
Note that the standard definition of a quaternion applies transformations in a right-to-left multiplication order, so you'll want to compute this as Q = Q2*Q1^{-1}.