[Paraview-developers] Selecting blocks from drop down list

Jorge Bañuls jorgebanuls at gmail.com
Fri Jul 15 07:18:43 EDT 2016


Hi Andy,

Indeed, the vtkExtractBlock filter is what I'm using in my script to
extract the blocks, which are currently specified by the user in the
properties panel as a string with the name of the block(s). Now that you
mention it though, it could be useful to see how this filter creates the
checklist. Is there a way to access the code behind this filter?

Thanks a lot for your help,

Jorge Bañuls

On 15 July 2016 at 12:06, Andy Bauer <andy.bauer at kitware.com> wrote:

> Have you looked at the Extract Blocks filter? That  may already be doing
> what you need and if not, it at least shows how to check the boxes for
> blocks that you want.
>
> On Fri, Jul 15, 2016 at 6:53 AM, Jorge Bañuls <jorgebanuls at gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm developing a filter for Paraview and I need to be able to select
>> blocks from the properties panel (the input is a vtkMultiBlockDataSet). The
>> approach I'm using right now is to write the name of the block(s) and then
>> process that string within the script, but I would like to be able to check
>> the blocks I need from a list. I've seen many examples of how to do this,
>> but only for variables arrays (e.g. the list displays the cell arrays
>> existing in the input). Any ideas on how to apply this to display and
>> select the blocks?
>>
>> Thanks in advance for your help,
>>
>> Jorge Bañuls
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=Paraview-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160715/04b94c70/attachment.html>


More information about the Paraview-developers mailing list