# how to mirror the image?

**URL:** https://discourse.vtk.org/t/how-to-mirror-the-image/1707
**Category:** Support
**Created:** [September 6, 2019, 5:54am UTC](https://discourse.vtk.org/t/how-to-mirror-the-image/1707 "2019-09-06T05:54:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pingdan](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pingdan](https://discourse.vtk.org/u/pingdan)
#### Post date: [September 6, 2019, 5:54am UTC](https://discourse.vtk.org/t/how-to-mirror-the-image/1707/1 "2019-09-06T05:54:07Z")

</div>

![1](https://discourse.vtk.org/uploads/default/original/1X/d478362320292ca99a0cfe1df520ffaa7d7219a2.png)  
m\_Renderer-\>GetActiveCamera()-\>SetViewUp(0, 0, -1);  
I set the camera by SetViewUp(), and now I want to exchange the image left and right. I mean I want to mirror the image along red line. how can I set camera, which function can change the image left and right?

---

<div class="post-metadata">

### Author: ![pingdan](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pingdan](https://discourse.vtk.org/u/pingdan)
#### Post date: [September 6, 2019, 6:59am UTC](https://discourse.vtk.org/t/how-to-mirror-the-image/1707/2 "2019-09-06T06:59:35Z")

</div>

I try to use SetPostion to set the position, but it doesn’t work.

 ![pos1](https://discourse.vtk.org/uploads/default/original/1X/08eac2d7cdd6b0728b3d238ab1c5e732ed4e34f6.jpeg)
