MantisBT - ParaView
View Issue Details
0010012ParaViewBugpublic2009-12-08 09:442010-03-09 21:54
Utkarsh Ayachit 
Zhanping Liu 
normalminorhave not tried
closedduplicate 
 
3.8 
0010012: Calculator remembering past arrays
From Paul Edwards:

> create a box
> apply calculator filter: array name "a", value "1"
> apply calculator again: array name "b", value "2"
>
> now change the input for the second calculator to the box and you get
> the following error:
>
> vtkArrayCalculator (0x28b3d40): Invalid array name: a
>
> Even though it doesn't use that array...
No tags attached.
related to 0009604closed Zhanping Liu Changing Result Array Name in Calculator raises error in depending Calculator 
Issue History
2009-12-08 09:44Utkarsh AyachitNew Issue
2009-12-08 10:06Utkarsh AyachitRelationship addedduplicate of 0009604
2009-12-08 10:06Utkarsh AyachitDuplicate ID0 => 9604
2009-12-08 10:06Utkarsh AyachitStatusbacklog => @80@
2009-12-08 10:06Utkarsh AyachitResolutionopen => duplicate
2009-12-08 10:06Utkarsh AyachitAssigned To => Utkarsh Ayachit
2009-12-08 10:07Utkarsh AyachitStatus@80@ => tabled
2009-12-08 10:07Utkarsh AyachitRelationship deleted0009604
2009-12-08 10:07Utkarsh AyachitRelationship addedrelated to 0009604
2009-12-08 11:20Utkarsh AyachitNote Added: 0018724
2010-01-11 10:41Utkarsh AyachitAssigned ToUtkarsh Ayachit => Zhanping Liu
2010-03-04 13:05Zhanping LiuNote Added: 0019710
2010-03-04 13:05Zhanping LiuStatustabled => @80@
2010-03-09 21:54Alan ScottNote Added: 0019789
2010-03-09 21:54Alan ScottStatus@80@ => closed

Notes
(0018724)
Utkarsh Ayachit   
2009-12-08 11:20   
From Dominik Szczerba:

> Create a custom filter using calculator and the data (u,v,w,p)
> sqrt(u^2+v^2+w^2). Save a custom filter. Now re-open the data but now do not
> read 'p' array this time (XDMF). Apply custom filter. Calculator will complain
> p is absent.
(0019710)
Zhanping Liu   
2010-03-04 13:05   
This problem was fixed through the addition of new class vtkPVArrayCalculator.h/cxx and changes to some related files (see below). Now the user is able to change the input of a calculator.

===
VTK/Graphics/vtkArrayCalculator.h/cxx
ParaView/Qt/Components/pqCalculatorPanel.h/cxx
ParaView/Servers/Fitlers/CMakeLists.txt
ParaView/Servers/Fitlers/vtkPVArrayCalculator.h/cxx (addition)
ParaView/Servers/ServerManager/Resources/filters.xml
(0019789)
Alan Scott   
2010-03-09 21:54   
Tested local server, XP, trunk.