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

shawn mckenzie shawn.mcknezie at gmail.com
Thu Aug 3 11:38:57 EDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060803/72a7c2ff/attachment.htm


More information about the ParaView mailing list