[Paraview] ParaViewWeb, vtk filters python description

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jun 25 17:08:00 EDT 2012


I'm not sure I understand what you mean by "Where is the python file
which describes the way of using vtk Filters in ParaViewWeb?"

The one that is imported by default is the pwsimple.py which is an
extension of the simple.py of regular ParaView.

But having said that, you can't easily mix VTK filter and ParaView
proxy together, unless you just want to do some data processing
without rendering.
But as I remember, you did a ParaView plugin for that, so normally,
once loaded you should be able to use it.

Did you try to load that plugin at startup with the extra argument of PWServer ?

Seb

On Mon, Jun 25, 2012 at 4:25 PM, Alex <tuanha_it0306 at yahoo.com> wrote:
> Hi everybody,
>    Well, I found that using vtk Filter (Threshold, Clip, etc.) is simple
> within ParaViewWeb, we have a list of filters so that we can use the filters
> @ http://paraview.org/Wiki/ParaView/Users_Guide/List_of_filters
>    We can use "threshold =
> paraview.Threshold({Input:proxy,ThresholdRange:[300,600]})" to applicate a
> threshold between 300 and 600 for an image.
>    So, my question is : where can I find the python script .py which
> describes the way of using vtk Filters in ParaViewWeb?
>
>    If there isn't any file python script like that, how can we define a
> function that take in value as described above? How can we tell the
> ParaViewWeb to take in different type of variable?
>    I mean : def ImageThreshold(proxy,ThresholdRange......) or something like
> that?
>
>    Thank you very much for your reply.
>    Good day everybody :)
>
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list