[Paraview] Image Filters And Changing Extent - Paraview 3.6.2

Eric Nodwell enodwell at ucalgary.ca
Wed Jan 6 15:11:39 EST 2010


In ParaView 3.6.2 it appears to be still impossible for a filter to have
output extent different than input extent.

Here is a relatively recent post from someone with the same issue.

http://markmail.org/message/frmcm2wnce3ye6ae

Is there any suggested work-around for this?

As a demonstration, I have attached ImageConstantPad.xml, which converts
the VTK class vtkImageConstantPad into a ParaView filter.  Regardless of
how much padding is requested, the output image will be no larger than
the input image.

Even when the extents are forced, by for example subclassing
vtkImageConstantPad and overriding UPDATE_EXTENT before calling
vtkImageConstantPad::Request_Data, thus forcing at least
vtkImageConstantPad itself to update correctly, subsequent filters in
the pipeline still receive the original (incorrect) UPDATE_EXTENT.

Eric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageConstantPad.xml
Type: application/xml
Size: 1559 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100106/c5739949/attachment.xml>


More information about the ParaView mailing list