# How to get mirrored view from vtkcamera

**URL:** https://discourse.vtk.org/t/how-to-get-mirrored-view-from-vtkcamera/898
**Category:** Support
**Created:** [May 3, 2019, 10:01pm UTC](https://discourse.vtk.org/t/how-to-get-mirrored-view-from-vtkcamera/898 "2019-05-03T22:01:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jay](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@Jay](https://discourse.vtk.org/u/Jay)
#### Post date: [May 3, 2019, 10:01pm UTC](https://discourse.vtk.org/t/how-to-get-mirrored-view-from-vtkcamera/898/1 "2019-05-03T22:01:57Z")

</div>

I used the VTK camera to change the position and focal length and was able to see the scene.  
Now I was wondering how can I get the mirror image of the scene (Horizontal flip i.e. left becomes right & right becomes left)

I found that there is vtkImageFlip class applied on images.  
[https://vtk.org/doc/nightly/html/classvtkImageFlip.html#details](https://vtk.org/doc/nightly/html/classvtkImageFlip.html#details)  
How can I achieve the same using the scene information from vtkCamera

Is there any function or ways to achieve this using vtk

Thanks for you time

Regards,  
Jay

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [May 9, 2019, 4:38am UTC](https://discourse.vtk.org/t/how-to-get-mirrored-view-from-vtkcamera/898/2 "2019-05-09T04:38:15Z")

</div>

I’m not sure if you can apply flip by adjusting camera transforms (it could have side effects if you flip between left/right handed coordinate system).

One potential solution is to flip all your data sets (polydata, images, etc.) in the renderer. Since flipping turns surface inside out, you need to flip surface normals, too (using vtkPolyDataNormals or vtkReverseSense).
