Hi Milan, 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.
On Thu, Jun 9, 2011 at 10:52 AM, Milan Mitrovic <[email protected]>wrote: > Hello everyone, > > I am trying to use paraview to visualize a particle cloud with some > properties. To do this I output the data as vtk polydata. I create n > particles and n vertices. on the particles. Paraview draws this nicely > and I can use it for what I want. > > The problem is that the first point is moved back to origin. Is this a > bug or a feature? What should I do to get around it? Is there some > other way to get my data into paraview (different vtk type maybe?)? > > Thanks for your time, > Milan Mitrovic > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > -- Robert Maynard
_______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
