# Acquire 3D Point data using LineWidtget2

**URL:** https://discourse.vtk.org/t/acquire-3d-point-data-using-linewidtget2/3360
**Category:** Support
**Tags:** doxygen, jobs, training, proposal, file-formats
**Created:** [May 21, 2020, 6:14am UTC](https://discourse.vtk.org/t/acquire-3d-point-data-using-linewidtget2/3360 "2020-05-21T06:14:08Z")
**Posts on this page:** 1
**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: [May 21, 2020, 6:14am UTC](https://discourse.vtk.org/t/acquire-3d-point-data-using-linewidtget2/3360/1 "2020-05-21T06:14:08Z")

</div>

Hello,

I’m using VTK9 and VS2015 C++  
and I loaded Ply Data and Line in 3D Space using LineWidget2.

I want to get the coordinate (=X, Y) and height values (=Z) of 3D Point included in Line drawn with LineWidget2.

Finally, I want to take the X, Y, and Z values of the points included in the line and express it as a profile.

Is this possible?  
Please let me know if there is a way. please.

Thanks!
