[Paraview] filter accepting multiple inputs: possible with one vtkMulitiGroupDataSet and one vtkDataSet?

Berk Geveci berk.geveci at gmail.com
Fri Aug 4 08:48:14 EDT 2006


Hi Shawn,

This seems to be a bug (although not related to what John is describing).
Somehow, the input menu gets populated by composite and simple data objects.
Unless the bug is fixed, there doesn't seem to be a way around it.

-Berk

On 8/3/06, shawn mckenzie <shawn.mcknezie at gmail.com> wrote:
>
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060804/323c98f1/attachment.htm


More information about the ParaView mailing list