[Paraview] vtkPVPostFilter bug question
Biddiscombe, John A.
biddisco at cscs.ch
Mon Jun 6 03:47:47 EDT 2011
Recently (3.10 onwards I think) a new filter was added to paraview which does some 'conversion' of inputs so that they can operate with filters that they would otherwise not do so.
I am finding that some filters of mine which produce vtkStructuredGrid output, produce no visible output inn paraview and after some painful debugging have tracked it down to vtkPVPostFilter, specifically
When vtkPVPostFilter is passind datasets directly from input to output without taking any action, it does a simple
output->ShallowCopy(input);
I had to add
output->CopyInformation(input);
in order for my datasets to become visible in the PV GUI.
I believe that this is a bug in pvPostFilter, and I suspect it is new because the executive used to do a lot of the information copying without filters needing to do it.
The odd thing is that some vtkStructuredGrid sources were still working without the extra information copy and so I'm not 100% sure it's a bug (or some deficiency in the datasets).
Can one of the kitware chaps comment on why I might have trouble with some filters, but not with others. The key part seems to be that the Extent information needs to be set in the information as well as the dataset and when doing a copyStructure, it isn't passed through.
JB
--
John Biddiscombe, email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110606/4aaa17df/attachment.htm>
More information about the ParaView
mailing list