# Direction? Coordinate? How to change

**URL:** https://discourse.vtk.org/t/direction-coordinate-how-to-change/4641
**Category:** Support
**Tags:** doxygen, jobs, training, proposal, file-formats
**Created:** [November 12, 2020, 8:47am UTC](https://discourse.vtk.org/t/direction-coordinate-how-to-change/4641 "2020-11-12T08:47:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Seram](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seram/32/1783_2.png) [@Seram](https://discourse.vtk.org/u/Seram)
#### Post date: [November 12, 2020, 8:47am UTC](https://discourse.vtk.org/t/direction-coordinate-how-to-change/4641/1 "2020-11-12T08:47:23Z")

</div>

Hello

I want to change the direction as shown on the right.  
What should I do…?

 ![이미지 583](https://discourse.vtk.org/uploads/default/original/2X/4/481ece0965269c834aaf8caad42fbbfc428660c3.png)

 ![image](https://discourse.vtk.org/uploads/default/original/2X/b/b01eb20b5d81de8db05c15c6d58bcfbca2c1a418.png)

I am getting a lot of help every time.  
Thank you.

BR

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [November 12, 2020, 1:09pm UTC](https://discourse.vtk.org/t/direction-coordinate-how-to-change/4641/2 "2020-11-12T13:09:20Z")

</div>

Try [this](https://vtk.org/doc/nightly/html/classvtkCamera.html#a682d87d50817200b5e501c792eca6010).  
Set focal point to origin and

```auto
m_vtkRenderer->GetActiveCamera()->SetViewUp(0, -1, 0)

```

To understand how the camera system works in general (OpenGL/Vulkan/DirectX), I’d recommend reading [this](https://learnopengl.com/Getting-started/Camera)

---

<div class="post-metadata">

### Author: ![Seram](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seram/32/1783_2.png) [@Seram](https://discourse.vtk.org/u/Seram)
#### Post date: [November 13, 2020, 12:49am UTC](https://discourse.vtk.org/t/direction-coordinate-how-to-change/4641/4 "2020-11-13T00:49:14Z")

</div>

hanks for the good answer and documentation.

As per your document, only the Camera’s View has changed.  
What should I do when I want to change the direction of the data itself?

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [November 13, 2020, 2:55am UTC](https://discourse.vtk.org/t/direction-coordinate-how-to-change/4641/5 "2020-11-13T02:55:05Z")

</div>

[vtkTransformFilter](https://vtk.org/doc/nightly/html/classvtkTransformFilter.html)
