# The range of the SetPosition values.

**URL:** https://discourse.vtk.org/t/the-range-of-the-setposition-values/5835
**Category:** Support
**Created:** [May 21, 2021, 6:24am UTC](https://discourse.vtk.org/t/the-range-of-the-setposition-values/5835 "2021-05-21T06:24:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kim\_William](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kim_william/32/373_2.png) [@Kim\_William](https://discourse.vtk.org/u/Kim_William)
#### Post date: [May 21, 2021, 6:24am UTC](https://discourse.vtk.org/t/the-range-of-the-setposition-values/5835/1 "2021-05-21T06:24:08Z")

</div>

Hi all.

I have a question about the SetPosition function of the vtkCamera class.

I have found a reference manual for the SetPosition function.  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/4/4c5f0653da83b2a299229aeb510bfe56f57242c1.png)

But I don’t understand what is the range of the position.  
(I can pass the value minus to plus.)

Could you please explain me what is the range of the position?

Thank you.

Best regards,  
William Kim

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [May 21, 2021, 10:11am UTC](https://discourse.vtk.org/t/the-range-of-the-setposition-values/5835/2 "2021-05-21T10:11:47Z")

</div>

The position is any point in 3D space.

---

<div class="post-metadata">

### Author: ![Kim\_William](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kim_william/32/373_2.png) [@Kim\_William](https://discourse.vtk.org/u/Kim_William)
#### Post date: [May 28, 2021, 5:56am UTC](https://discourse.vtk.org/t/the-range-of-the-setposition-values/5835/3 "2021-05-28T05:56:13Z")

</div>

Thank you for your reply.

So, you mean that the range of the position is depends on the 3D space?

---

<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 30, 2021, 2:18pm UTC](https://discourse.vtk.org/t/the-range-of-the-setposition-values/5835/4 "2021-05-30T14:18:21Z")

</div>

You define the 3D space. Whatever works the best for you.

For example, in medical imaging it is common to use millimeter as coordinate value unit, left/posterior/superior anatomical directions as axis directions, and origin is chosen near the center of the region of interest.

---

<div class="post-metadata">

### Author: ![Kim\_William](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kim_william/32/373_2.png) [@Kim\_William](https://discourse.vtk.org/u/Kim_William)
#### Post date: [May 31, 2021, 12:43am UTC](https://discourse.vtk.org/t/the-range-of-the-setposition-values/5835/5 "2021-05-31T00:43:00Z")

</div>

Thank you for your help!
