Ok - thanks. I'll give that a try.<div><br></div><div>If anybody can shed light on how XDMF topology types map onto VTK data types within Paraview that would be great too.</div><div><br></div><div>Dan</div><br><div class="gmail_quote">
On Sun, Nov 28, 2010 at 3:08 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@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 class="im">On Sun, Nov 28, 2010 at 3:51 PM, Dan Lussier <<a href="mailto:dtlussier@gmail.com">dtlussier@gmail.com</a>> wrote:<br>
> I had a question about the nature of the underlying VTK data.<br>
> In my work I am often visualizing particle data, which I currently have in<br>
> XMDF files with Polyvertex topology. When I load the files into PV, the<br>
> data ends up being represented by a vtkUnstructuredGrid. What is the<br>
> difference between vtkUnstructuredGrid versus vtkPolyData? I know that both<br>
> inherit from abstract vtkPointSet so they are generally fairly<br>
> interchangeable as most filters appear to require only a vtkPointSet. Are<br>
> there any filters that would take one but not the other?<br>
<br>
</div>vtkUnstructuredGrid allows you to have 3D (volumetric) cells, where<br>
vtkPolyData only allow a maximum of 2D (polygonal) cells.<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Tutorials/3DDataTypes" target="_blank">http://www.vtk.org/Wiki/VTK/Tutorials/3DDataTypes</a><br>
<div class="im"><br>
> Some filters I am looking to use want a vtkPointSet input, but I have<br>
> vtkImageData (via XMDF 3DCoRectMesh topology). What would be the best way<br>
> to make the conversion in Paraview?<br>
> Many thanks.<br>
> Dan Lussier<br>
<br>
</div>vtkImageDataGeometryFilter does this, but I don't see an interface for it in PV.<br>
<br>
Here is an example of how to use it:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/ImageDataGeometryFilter" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/ImageDataGeometryFilter</a><br>
<br>
and here is how to make an existing VTK filter accessible in ParaView:<br>
<a href="http://www.vtk.org/Wiki/Plugin_HowTo#Enabling_an_existing_VTK_filter" target="_blank">http://www.vtk.org/Wiki/Plugin_HowTo#Enabling_an_existing_VTK_filter</a><br>
<br>
Good luck,<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>