[Paraview] Parameter Filters

David E DeMarle dave.demarle at kitware.com
Tue Sep 6 18:21:59 EDT 2011


There isn't an in built mechanism for that.

The python programmable filter runs on the server, so it can not
control other filters along the pipeline (although it can set up
internal filters if you are familiar with programming at the vtk
level).

You best bet may be to use a python macro, which is the same thing
really as python trace or the python shell, ie client side python
scripting. From there you can control properties of filters up and
down the pipeline.

Another tool that might be useful are custom filters. Custome filters
are really canned pipeline segments. Ie construct pipeline a->b->c and
then condense all of that into custom filter Z so that you can reuse
the set whenever you like. You can choose any, all or none of the
properties on filters a,b,c to expose in your new filter Z.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909



On Fri, Sep 2, 2011 at 2:19 PM, Ajjp V W <ajjp.vw at gmail.com> wrote:
> Hi,
>
> Is it possible to create new filters (such as Python Programmable
> Filter) which control parameter values of other filters? For instance,
> how to control a slice origin, normal plane and offset using some
> other new filter control parameter and some numerical formula to
> constrain slice to remain vertical?
>
> Thanking you.
>
> Sincerely,
> --
> Ajjp V W
> _______________________________________________
> 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