[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    Re: [Paraview] vtk internals: vtkUnstructuredGrid versus
From:       Dan Lussier <dtlussier () gmail ! com>
Date:       2010-11-28 21:54:48
Message-ID: AANLkTi=VQC0No7krQt8uzpwAd7ss=movUciMLxZWqd=M () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Ok - thanks. I'll give that a try.

If anybody can shed light on how XDMF topology types map onto VTK data types
within Paraview that would be great too.

Dan

On Sun, Nov 28, 2010 at 3:08 PM, David Doria <daviddoria@gmail.com> wrote:

> On Sun, Nov 28, 2010 at 3:51 PM, Dan Lussier <dtlussier@gmail.com> wrote:
> > I had a question about the nature of the underlying VTK data.
> > In my work I am often visualizing particle data, which I currently have
> in
> > XMDF files with Polyvertex topology.  When I load the files into PV, the
> > data ends up being represented by a vtkUnstructuredGrid.  What is the
> > difference between vtkUnstructuredGrid versus vtkPolyData?  I know that
> both
> > inherit from abstract vtkPointSet so they are generally fairly
> > interchangeable as most filters appear to require only a vtkPointSet.
>  Are
> > there any filters that would take one but not the other?
>
> vtkUnstructuredGrid allows you to have 3D (volumetric) cells, where
> vtkPolyData only allow a maximum of 2D (polygonal) cells.
>
> http://www.vtk.org/Wiki/VTK/Tutorials/3DDataTypes
>
> > Some filters I am looking to use want a vtkPointSet input, but I have
> > vtkImageData (via XMDF 3DCoRectMesh topology).  What would be the best
> way
> > to make the conversion in Paraview?
> > Many thanks.
> > Dan Lussier
>
> vtkImageDataGeometryFilter does this, but I don't see an interface for it
> in PV.
>
> Here is an example of how to use it:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/ImageDataGeometryFilter
>
> and here is how to make an existing VTK filter accessible in ParaView:
> http://www.vtk.org/Wiki/Plugin_HowTo#Enabling_an_existing_VTK_filter
>
> Good luck,
>
> David
>

[Attachment #5 (text/html)]

Ok - thanks. I&#39;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">&lt;<a \
href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</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 &lt;<a href="mailto:dtlussier@gmail.com">dtlussier@gmail.com</a>&gt; \
wrote:<br> &gt; I had a question about the nature of the underlying VTK data.<br>
&gt; In my work I am often visualizing particle data, which I currently have in<br>
&gt; XMDF files with Polyvertex topology.  When I load the files into PV, the<br>
&gt; data ends up being represented by a vtkUnstructuredGrid.  What is the<br>
&gt; difference between vtkUnstructuredGrid versus vtkPolyData?  I know that both<br>
&gt; inherit from abstract vtkPointSet so they are generally fairly<br>
&gt; interchangeable as most filters appear to require only a vtkPointSet.  Are<br>
&gt; 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> &gt; Some filters I am looking to use want a vtkPointSet input, but I \
have<br> &gt; vtkImageData (via XMDF 3DCoRectMesh topology).  What would be the best \
way<br> &gt; to make the conversion in Paraview?<br>
&gt; Many thanks.<br>
&gt; Dan Lussier<br>
<br>
</div>vtkImageDataGeometryFilter does this, but I don&#39;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>



_______________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic