[vtkusers] vtkPolyData to a vtkUnstructuredGrid

Burlen Loring burlen.loring at gmail.com
Fri Jul 11 18:08:42 EDT 2014


It would help if you post an example with some data so that we can see 
exactly what you're doing.

On 07/11/2014 01:29 PM, Allen Sanderson wrote:
>
> Hello,
>
> I have a vtkPolyData structure that contains vtkPolyLines or 
> vertex(s). In the course of the coding the vtkPolyData needs to be 
> converted to a vtkUnstructuredGrid. I have used the example here using 
> the append filter:
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToUnstructuredGrid
>
> However, no lines come across only points. I have also iterated 
> through each cell and moved the point id list over with the same 
> results, no lines
>
> As such, I am wondering why lines might not be moved over.
>
> Cheers,
>
> Allen
>
>
> Allen Sanderson
> SCI Institute
> University of Utah
> www.sci.utah.edu <http://www.sci.utah.edu/>
>
>
>
>
>
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140711/2fd41b57/attachment.html>


More information about the vtkusers mailing list