[Paraview] Loading a filter plugin (Was: Collecting slices in a contour plot)
Moreland, Kenneth
kmorel at sandia.gov
Tue May 12 12:36:10 EDT 2009
Daniele,
Are you running the ParaView you compiled from scratch or the binary you downloaded? It probably will not work to try to load the plugin into the distribured binary.
If you cannot load the plugin into the ParaView you compiled from scratch, try compiling both ParaView and the plugin with the CMAKE_BUILD_TYPE CMake variable set to Debug.
-Ken
On 5/12/09 4:27 AM, "Daniele Avitabile" <d.avitabile at gmail.com> wrote:
Dear Ken,
thanks very much for your help. I am on Mac OS X Leopard on Intel. I did not know how to add a new filter to Paraview, and here is what I have done
1) I have compiled Paraview from scratch
2) I have run ccmake and then make on the filter you gave me
3) I have now a libMergeTimeStepsSMPlugin.dylib
I open Paraview and try to load the new plugin via the plugin manager. I receive the error message "The file libMergeTimeStepsSMPlugin.dylib" is not a valid Qt plugin. I am using Qt 4.4
Do you know what should I do?
Best.
Daniele
On Mon, May 4, 2009 at 6:52 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
The VTK time support is documented in a 2007 IEEE Vis paper. I don't know if it is documented any better elsewhere. You can get the paper from here.
http://www.cs.unm.edu/~kmorel/documents/TimeVis-IEEE2007.html <http://www.cs.unm.edu/%7Ekmorel/documents/TimeVis-IEEE2007.html>
I also implemented a very simple filter to merge the time steps like you want. The source, complete with plugin, is attached to this message. The attachment may or may not make it to the paraview users' list.
-Ken
On 5/4/09 10:41 AM, "Daniele Avitabile" <d.avitabile at gmail.com <http://d.avitabile@gmail.com> > wrote:
Thank you for your prompt reply. Is there somewhere when I can learn how to do such filter?
Thanks in advance.
Daniele
On Mon, May 4, 2009 at 4:28 PM, Moreland, Kenneth <kmorel at sandia.gov <http://kmorel@sandia.gov> > wrote:
Another potential solution is to make a filter that loads all the timesteps from the upstream pipeline and merge their geometry together. No such filter exists right now, but it would be straightforward to implement.
-Ken
On 5/2/09 6:35 PM, "Berk Geveci" <berk.geveci at kitware.com <http://berk.geveci@kitware.com> <http://berk.geveci@kitware.com> > wrote:
Wouldn't it be easier to treat z as t. So instead of multiple vtk
files, you could create one vtk file where the third axis represents
time. You could then use slice or extract subset filters to get the
plane that you want. You can do something similar for a file series
but you would have to write a custom filter in C++ (Python would not
do).
-berk
On Sun, Apr 26, 2009 at 4:37 AM, Daniele Avitabile
<d.avitabile at gmail.com <http://d.avitabile@gmail.com> <http://d.avitabile@gmail.com> > wrote:
> Hi all, I have a field u(x,y,t), stored in a set of .vtk files (one for each
> time steps). What I need to do is the following,
>
> 1) At each time steps, cut a slice, say through y=0, so as to have a set of
> curves
> u(x,0,t1)
> u(x,0,t2)
> u(x,0,t3) ...
>
> 2) build a contour plot of the surface formed by stacking the above lines on
> top of each other
>
> Is there a filter for that or do I have to write a python script? If I have
> to use python, can you give me an idea of how to do that?
>
> Thanks
>
> Daniele
>
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com> <http://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
>
>
_______________________________________________
Powered by www.kitware.com <http://www.kitware.com> <http://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
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov <http://kmorel@sandia.gov> <http://kmorel@sandia.gov>
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel <http://www.cs.unm.edu/%7Ekmorel> <http://www.cs.unm.edu/%7Ekmorel>
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov <http://kmorel@sandia.gov>
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel <http://www.cs.unm.edu/%7Ekmorel>
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090512/d2322e06/attachment.htm>
More information about the ParaView
mailing list