For vtkImageData filters, you need to override "RequestInformation"
method to provide information about whole_extents, spacing and origin.
Look at VTK/Graphics/vtkRTAnalyticSource.cxx as an example. Ideally,
your RequestData() method should also look at the extents that were
actually requested and
Hello everyone,
I am trying to write a VTK reader to read custom volumetric data into Paraview.
I started with the example vtkImageAlgorithm
(http://www.itk.org/Wiki/VTK_Examples_vtkImageAlgorithm_Filter) and
changed it so the Filter doesn't take any input and output a
vtkImageData.
To simplify,