# Can I switch tube to poind cloud?

**URL:** <https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213>\
**Category:** Support\
**Created:** [February 25, 2021, 2:43pm UTC](https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213 "2021-02-25T14:43:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 25, 2021, 2:43pm UTC](https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213/1 "2021-02-25T14:43:17Z")

</div>

I created a tube from two points, and I need show it in PLC as a pointCloud. Can I resample it as a pointcloud file(Just many points vtx coordinate). I exported cube as a ply but the file is still be a mesh model.

---

<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:** [February 25, 2021, 4:39pm UTC](https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213/2 "2021-02-25T16:39:44Z")

</div>

A surface mesh is a point cloud (with some additional information), so you don’t need to do any conversion create point cloud from a mesh.

What is PLC?

What is your overall goal?

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 26, 2021, 12:43pm UTC](https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213/3 "2021-02-26T12:43:10Z")

</div>

The cube.ply(export from slicer) just contains top and button circle points, but no body points.  
I donnot know vtk/slicer could fill the tube body with points.  
What am I doing is following the picture:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/d/2d301fb7da3c147114d665edc0e955cb2150648f.jpeg)

---

<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:** [February 26, 2021, 12:45pm UTC](https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213/4 "2021-02-26T12:45:46Z")

</div>

It is not clear why this is a problem.

What is PLC?

What is your overall goal?

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 26, 2021, 12:48pm UTC](https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213/5 "2021-02-26T12:48:49Z")

</div>

sorry the “plc” is pcl.  
I need show the cube created from slicer in pcl

---

<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:** [February 26, 2021, 1:09pm UTC](https://discourse.slicer.org/t/can-i-switch-tube-to-poind-cloud/16213/6 "2021-02-26T13:09:48Z")

</div>

To get help with this, you need to be more specific about what point cloud do you need and why. The “why” (high-level goal) is important because it helps in understanding the task even if requirements are incomplete; and it ensures we solve the right problem.
