[vtkusers] vtkPolyData to vtkStructuredGrid
Shriram N
shriram.uc at gmail.com
Sun Jun 3 16:29:00 EDT 2007
Hi all,
I have a bunch of random points in 3D with associated scalar and vector
values. I have managed to create a vtk polydata
file from the data. Here's a link to a sample file in case any of you would
like to have a look.
http://acm.cs.uic.edu/~shriram/259200.vtk
I am able to draw glyphs and hedgehogs using this dataset. In order to be
able to draw iso-surfaces and streamlines, I
understand that we need a structured grid. Is there something in vtk to
convert polydata to a structured grid? I have looked
at vtkShepardMethod and vtkInterpolatedVelocityField. Shepard method returns
vtkImageData (which I can use to draw
iso surfaces but not streamlines since the vector values are missing) and I
can't seem to get vtkInterpolatedVelocityField
to work correctly.
Any help would be greatly appreciated.
Thanks,
Shriram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070603/8c70b16e/attachment.htm>
More information about the vtkusers
mailing list