# How to rotate OrthogonalSlicesDeg in slices?

**URL:** <https://discourse.slicer.org/t/how-to-rotate-orthogonalslicesdeg-in-slices/20892>\
**Category:** Development\
**Tags:** python\
**Created:** [December 2, 2021, 11:27pm UTC](https://discourse.slicer.org/t/how-to-rotate-orthogonalslicesdeg-in-slices/20892 "2021-12-02T23:27:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jumbojing](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jumbojing/32/10811_2.png) [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Post date:** [December 2, 2021, 11:32pm UTC](https://discourse.slicer.org/t/how-to-rotate-orthogonalslicesdeg-in-slices/20892/2 "2021-12-02T23:32:07Z")

</div>

@lassoan@Juicy@jamesobutler @jcfr @pieper

我的具体思路是: 通过Ctrl + Alt + Left-click-and-drag的方法, 找到一个矢量, 返回并保存这个矢量的位置和在三个slice(RAS) 角度, 利用[rotateOrthogonalSlicesDeg](https://github.com/SlicerHeart/SlicerHeart/blob/5be64b4b68fcbfbdc7ed463913f52a74208b6d07/ValveView/ValveView.py#L275-L303) 找回这个视图,

> My specific idea is: Find a vector by Ctrl + Alt + Left-click-and-drag from slices, return and save the position of this vector and the angle of the three slices (RAS), use the [rotateOrthogonalSlicesDeg](https://github.com/SlicerHeart/SlicerHeart/blob/5be64b4b68fcbfbdc7ed463913f52a74208b6d07/ValveView/ValveView.py#L275-L303) to retrieve this vector views (sense) or move this vector’s position and succeed its angle…

---

_[View the full topic](https://discourse.slicer.org/t/how-to-rotate-orthogonalslicesdeg-in-slices/20892)._
