[vtkusers] generating Line mesh from points

Alex Malyushytskyy alexmalvtk at gmail.com
Mon Jun 24 19:21:47 EDT 2013


You can always read any format file yourself (using pure C++ ) and create
polydata manually.

http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadPlainText
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/LongLine

Regards,
   Alex


On Mon, Jun 24, 2013 at 2:57 PM, Piyusha <gadepiyusha at gmail.com> wrote:

> Hello,
> I am trying to read in data from tecplot which has a zonetype of Lineseg
> and
> as I understand vtkTecplotReader does not read in that zonetype. Is there
> an
> alternative way of doing this? I tried reading in the points and storing
> them in vtkPoints and using the vtkCellArray for the connectivity but I
> cannot understand how to combine the 2 to give a vtkPolyData because the
> connectivity Ids are random and not continuous.
>
> I have attached the point and connectivity information:
> TextReader.txt
> <http://vtk.1045678.n5.nabble.com/file/n5721576/TextReader.txt>
> connectivity.txt
> <http://vtk.1045678.n5.nabble.com/file/n5721576/connectivity.txt>
>
> Any help would be appreciated.
>
> Thanks,
> Piyusha
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/generating-Line-mesh-from-points-tp5721576.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130624/4172afba/attachment.htm>


More information about the vtkusers mailing list