# How to display a transformed single image in 3D view?

**URL:** <https://discourse.slicer.org/t/how-to-display-a-transformed-single-image-in-3d-view/27658>\
**Category:** Support\
**Created:** [February 6, 2023, 1:40pm UTC](https://discourse.slicer.org/t/how-to-display-a-transformed-single-image-in-3d-view/27658 "2023-02-06T13:40:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RafaelPalomar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rafaelpalomar/32/1436_2.png) [@RafaelPalomar](https://discourse.slicer.org/u/RafaelPalomar)\
**Post date:** [February 8, 2023, 6:08am UTC](https://discourse.slicer.org/t/how-to-display-a-transformed-single-image-in-3d-view/27658/2 "2023-02-08T06:08:11Z")

</div>

Displaying objects in the 3D view may require re-centering the view.

There is a button in the 3D view widget for re-centering the view:

![2b41629bf071c9b19a13136e63d509f1557e62e5](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/d/0d11786b8dfbd99e99452de4e5d4333e6cb53354.png)  
_(extracted from [How, from python-scritps, to trigger the click-function of "center of the 3D view on the scene"? - #8 by aiden.zhu](https://discourse.slicer.org/t/how-from-python-scritps-to-trigger-the-click-function-of-center-of-the-3d-view-on-the-scene/8181/8))_

You can use the following python snippet if you prefer to do that programmatically (_from [Script repository — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#center-the-3d-view-on-the-scene)_):

```python
layoutManager = slicer.app.layoutManager()
threeDWidget = layoutManager.threeDWidget(0)
threeDView = threeDWidget.threeDView()
threeDView.resetFocalPoint()

```

---

_[View the full topic](https://discourse.slicer.org/t/how-to-display-a-transformed-single-image-in-3d-view/27658)._
