# How to convert a vtkLineSource into vtkImageData,and render like a line not a Cuboid！

**URL:** <https://discourse.vtk.org/t/how-to-convert-a-vtklinesource-into-vtkimagedata-and-render-like-a-line-not-a-cuboid/4413>\
**Category:** Development\
**Tags:** jobs\
**Created:** [October 14, 2020, 3:58am UTC](https://discourse.vtk.org/t/how-to-convert-a-vtklinesource-into-vtkimagedata-and-render-like-a-line-not-a-cuboid/4413 "2020-10-14T03:58:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.vtk.org/user_avatar/discourse.vtk.org/wulicheng/32/1990_2.png) [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Post date:** [October 14, 2020, 3:58am UTC](https://discourse.vtk.org/t/how-to-convert-a-vtklinesource-into-vtkimagedata-and-render-like-a-line-not-a-cuboid/4413/1 "2020-10-14T03:58:18Z")

</div>

![图片](https://discourse.vtk.org/uploads/default/original/2X/2/28fb306bc0c87ebb9b8b13aa95e59481cb17a9cb.png)
