# Get information from vtk model

**URL:** <https://discourse.slicer.org/t/get-information-from-vtk-model/4571>\
**Category:** Support\
**Tags:** segmentation, vtk\
**Created:** [October 29, 2018, 2:37pm UTC](https://discourse.slicer.org/t/get-information-from-vtk-model/4571 "2018-10-29T14:37:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![siaeleni](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@siaeleni](https://discourse.slicer.org/u/siaeleni)\
**Post date:** [October 29, 2018, 2:37pm UTC](https://discourse.slicer.org/t/get-information-from-vtk-model/4571/1 "2018-10-29T14:37:43Z")

</div>

Hello,

I am trying to get information from a vtk model that I load at Slicer. More specifically I have a vtk model, (two cylinders) that I import it at Slicer and I want to find the center of each one in RAS. Is there any module/way that can be helpful?

Thanks,  
Eleni

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 29, 2018, 2:48pm UTC](https://discourse.slicer.org/t/get-information-from-vtk-model/4571/2 "2018-10-29T14:48:25Z")

</div>

See this topic about how to compute “center” of a model/segment: [Get center of gravity of a segment](https://discourse.slicer.org/t/get-center-of-gravity-of-a-segment/4287/15?u=lassoan)

---

<div class="post-metadata">

**Author:** ![siaeleni](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@siaeleni](https://discourse.slicer.org/u/siaeleni)\
**Post date:** [October 29, 2018, 8:31pm UTC](https://discourse.slicer.org/t/get-information-from-vtk-model/4571/3 "2018-10-29T20:31:05Z")

</div>

Thanks, that works as fine!  
What if I want to get the orientation of the cylinders?
