[Paraview] filter accepting multiple inputs: possible with one
vtkMulitiGroupDataSet and one vtkDataSet?
John Biddiscombe
biddisco at cscs.ch
Fri Aug 4 08:10:54 EDT 2006
shawn
I had similar problems some time ago with multiple input filters and I
think I submitted a bug report. The problem is primarily caused by the
vtkCompositeDataPipeline executive which loops incorrectly over the
filter inputs when one is composite and the other regular. I've been
working through the code for other reasons (creating new executives for
time dependent data handling) and although I see where the problem lies,
have not actually fixed it. It's on my list of things to look at. If you
(or anyone else) implements any solutions before I do, then please let
me know.
JB
> All,
>
> I have a filter with two input ports. I would like to allow a
> multigroup data set in one port while the other takes in any vtkDataSet.
> Paraview does not let me input one of each ype. Although specified to
> allow both, when i run Paraview the widget only allows
> MultiGroupDataSet menu objects for both ports or regular dataSet
> objects for both.
>
> In my server manager xml i specify:
>
> <InputProperty
> name="Source"
> command="SetSource">
> <ProxyGroupDomain name="groups">
> <Group name="sources"/>
> <Group name="filters"/>
> </ProxyGroupDomain>
> <DataTypeDomain name="input_type"
> composite_data_supported="1">
> <DataType value="vtkDataSet"/>
> <DataType value="vtkMultiGroupDataSet"/>
> </DataTypeDomain>
> </InputProperty>
> <InputProperty name="Input" command="AddInput"
> clean_command="RemoveAllInputs" multiple_input="1">
> <ProxyGroupDomain name="groups">
> <Group name="sources"/>
> <Group name="filters"/>
> </ProxyGroupDomain>
> <DataTypeDomain name="input_type">
> <DataType value="vtkDataSet"/>
> </DataTypeDomain>
> </InputProperty>
>
>
> I am using a custom filter similar to vtkProbeFilter with two inputs.
> Is there any way to allow for this option (one input as
> vtkMultiGroupDataSet, the other as vtkDataSet)?
>
>
> Thank you in advance
> Shawn
> ------------------------------------------------------------------------
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
--
John Biddiscombe, email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the ParaView
mailing list