<div dir="ltr">Hey Allen!<div><br></div><div>Probably a bug in the append filter, it must not be converting with polylines type cells correctly for some reason.</div><div><br></div><div>As Burlen said it would help if you could post a small example data set. That will make it trivial to replicate the problem and fix it.</div>
<div><br></div><div>Otherwise, try using a different filter to do the conversion (as a side effect, like append does). Threshold is my habitual choice for * to unstructured conversion.</div><div><br></div><div><br></div>
<div>
<br></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Fri, Jul 11, 2014 at 6:08 PM, Burlen Loring <span dir="ltr"><<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
It would help if you post an example with some data so that we can
see exactly what you're doing.<div><div class="h5"><br>
<br>
<div>On 07/11/2014 01:29 PM, Allen Sanderson
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<br>
<div>
<div>Hello,</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToUnstructuredGrid" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToUnstructuredGrid</a></div>
<div><br>
</div>
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
<div><br>
</div>
<div>As such, I am wondering why lines might not be moved over. <br>
<div><br>
<div><span style="border-collapse:separate;font-size:12px;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;border-spacing:0px">
<div style="margin:0px">Cheers,</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">Allen</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px"><font face="Helvetica" size="3">Allen Sanderson</font></div>
<div style="margin:0px"><font face="Helvetica" size="3">SCI Institute</font></div>
<div style="margin:0px"><font face="Helvetica" size="3">University of Utah</font></div>
<div style="margin:0px"><font face="Helvetica" size="3"><a href="http://www.sci.utah.edu/" target="_blank">www.sci.utah.edu</a></font></div>
<br>
</span></span><br>
</span></div>
<br>
</div>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>