Hi Milan,<div><br></div><div>This sounds like a bug in your code. VTK does not enforce the first point being at origin. I would confirm your code is using zero based indexing and is properly relating the cell -> point relationship.<br>
<br><div class="gmail_quote">On Thu, Jun 9, 2011 at 10:52 AM, Milan Mitrovic <span dir="ltr"><<a href="mailto:milanm@student.ethz.ch">milanm@student.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello everyone,<br>
<br>
I am trying to use paraview to visualize a particle cloud with some<br>
properties. To do this I output the data as vtk polydata. I create n<br>
particles and n vertices. on the particles. Paraview draws this nicely<br>
and I can use it for what I want.<br>
<br>
The problem is that the first point is moved back to origin. Is this a<br>
bug or a feature? What should I do to get around it? Is there some<br>
other way to get my data into paraview (different vtk type maybe?)?<br>
<br>
Thanks for your time,<br>
Milan Mitrovic<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br>
</div>