MantisBT - ParaView
View Issue Details
0011045ParaViewBugpublic2010-07-27 10:272011-09-01 13:31
Yumin Yuan 
Marcus D. Hanwell 
highmajoralways
closedfixed 
Development 
3.12 
0011045: Select Input Array is not working properly for 2D histogram
Load can.ex2
Turn on all Variables from left panel
Load histogram filter, then select different input array from the panel, the histogram view shows weird results.
Marcus volunteered to fix this :).
No tags attached.
Issue History
2010-07-27 10:27Yumin YuanNew Issue
2010-07-27 10:28Yumin YuanStatusbacklog => tabled
2010-07-27 10:28Yumin YuanAssigned To => Marcus D. Hanwell
2010-07-28 14:09Marcus D. HanwellNote Added: 0021524
2010-09-24 11:26Marcus D. HanwellNote Added: 0022341
2010-09-24 11:45Marcus D. HanwellNote Added: 0022342
2010-09-24 11:45Marcus D. HanwellStatustabled => @80@
2010-09-24 11:45Marcus D. HanwellFixed in Version => Development
2010-09-24 11:45Marcus D. HanwellResolutionopen => fixed
2010-10-27 21:08Alan ScottNote Added: 0022724
2010-10-27 21:08Alan ScottStatus@80@ => closed
2011-09-01 13:31Utkarsh AyachitFixed in VersionDevelopment => 3.12

Notes
(0021524)
Marcus D. Hanwell   
2010-07-28 14:09   
I have been looking into this, and it is due to the way that the histogram filter is changing the column names of the vtkTable. The state loading logic in the vtkSMContextNamedOptionsProxy stores series properties by column name, and ParaView seems to be assuming that column index is fine (as it only sets the visibility on the first run). Just looking into the best way to fix up this logic to deal with histograms.
(0022341)
Marcus D. Hanwell   
2010-09-24 11:26   
Commit c4469d7 has a partial fix for the issue - it keeps both column names constant, and so this issue goes away. I need to modify the default visibility when averaging is turned on in the proxy, in order to fully fix the issue.
(0022342)
Marcus D. Hanwell   
2010-09-24 11:45   
Commit 9dc9a63 resolves the last part of this, changing the default visibility of the columns when plotting histograms. Not sure if this is a little hackish, as it is changing behavior based on the X series name but it does behave as expected.
(0022724)
Alan Scott   
2010-10-27 21:08   
Tested local client, Windows, trunk.