[Paraview-developers] Source info "memory" problem

Reuter, Michael A. reuterma at ornl.gov
Thu Nov 21 14:29:21 EST 2013


Hi,

I have a weird problem of a source losing its "memory" after applying a plugin. The source is from a reader that can handle data with or without time step information (see Before_Plugin.jpg showing data with time steps). I then apply a plugin (rebinner) that allows me to alter the number and/or range of the time steps. In this case, I'm leaving both the range and number the same, but changing these doesn't seem to matter to the problem. I wanted to go back to the original source, so I deleted the rebinner plugin, and I found that the original source had lost not only its time info, but the array it was looking at was also gone (see After_Plugin.jpg) and data no longer appears in the view. If I do the same exercise using the reader and rebinner but for data without time steps, the original source doesn't lose its "memory". Therefore, this has something to do with time info handling. I'm having this issue in 3.98.1, but I've tested against 4.1.0-RC1 and see the same issue. I thought about trying to catch the time step issue in RequestData, but UPDATE_TIME_STEP is returning values, however, they are the wrong ones. The slightly bigger concern is the loss of the signal array from the source. I tried using RequestUpdateExtent to replace the time info in the reader, but this caused more issues and didn't fix the original problem. Is there anything obvious I'm overlooking that I should be investigating further?

The source for the reader is here:
https://github.com/mantidproject/mantid/blob/master/Code/Mantid/Vates/ParaviewPlugins/ParaViewReaders/MDEWNexusReader/vtkMDEWNexusReader.cxx

The source for the rebinner is here:
https://github.com/mantidproject/mantid/blob/master/Code/Mantid/Vates/ParaviewPlugins/ParaViewFilters/MDEWRebinningCutterOperator/vtkMDEWRebinningCutter.cxx

Thanks,
M

Dr. Michael Reuter
Data Analysis and Visualization Group
Neutron Data Analysis and Visualization Division
Oak Ridge National Laboratory

Office: 1-865-241-7216
Fax: 1-865-574-6080
Email: reuterma at ornl.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: After_Plugin.jpg
Type: image/jpeg
Size: 77343 bytes
Desc: After_Plugin.jpg
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131121/d9e88bc9/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Before_Plugin.jpg
Type: image/jpeg
Size: 82404 bytes
Desc: Before_Plugin.jpg
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131121/d9e88bc9/attachment-0003.jpg>


More information about the Paraview-developers mailing list