Attached XML should do the trick. Load this as a plugin and then two
filters will be available ContinuousDilate3D and ContinuousErode3D.
On Mon, Feb 1, 2016 at 3:17 PM, Scott, W Alan <[email protected]> wrote:
> Does anyone know the python (programmable filter, I suppose) needed to
> expose the Erode and Dilate filters?
>
>
>
> Thanks,
>
>
>
> Alan
>
>
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
<ServerManagerConfiguration>
<ProxyGroup name="filters">
<SourceProxy name="ContinuousDilate3D" class="vtkImageContinuousDilate3D">
<InputProperty name="Input" command="SetInputConnection">
<ProxyGroupDomain name="groups">
<Group name="sources"/>
<Group name="filters"/>
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData"/>
</DataTypeDomain>
</InputProperty>
<IntVectorProperty name="KernelSize"
number_of_elements="3"
default_values="1 1 1"
command="SetKernelSize">
<IntRangeDomain name="range" />
</IntVectorProperty>
</SourceProxy>
<SourceProxy name="ContinuousErode3D" class="vtkImageContinuousErode3D">
<InputProperty name="Input" command="SetInputConnection">
<ProxyGroupDomain name="groups">
<Group name="sources"/>
<Group name="filters"/>
</ProxyGroupDomain>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData"/>
</DataTypeDomain>
</InputProperty>
<IntVectorProperty name="KernelSize"
number_of_elements="3"
default_values="1 1 1"
command="SetKernelSize">
<IntRangeDomain name="range" />
</IntVectorProperty>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
_______________________________________________
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
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview