[Paraview] List to select zones in object panel for a custom reader

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Sep 1 08:26:56 EDT 2010


Paul,

Why is this any different from array-selection already provided by many readers?

Utkarsh

On Wed, Sep 1, 2010 at 8:21 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> Hi,
> I have a reader and would like to have a list box in the object panel to
> select which zones to read in from the file.  The number of zones can change
> depending on the file.  Does anyone have any suggestions for how to do this?
>  My ideas were:
>
> add a new vtkSM*Domain
>
> I don't think this is possible in a plugin because pqSMAdaptor needs to be
> updated for any new class (is that right?)
>
> create a custom panel and have one information only property to get the
> number of zones and another property to set the zones
>
> would the set property need to be a string that I put comma-separated zone
> indexes or is there a way to change the number of elements in an integer
> vector?
>
> Thanks in advance,
> Paul
> _______________________________________________
> 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