MantisBT - ParaView
View Issue Details
0014189ParaView(No Category)public2013-07-25 15:432016-08-12 09:59
Utkarsh Ayachit 
David Thompson 
normalminorhave not tried
closedmoved 
 
 
TBD
incorrect functionality
0014189: vtkScalarsToColors::SetAnnotations(...) does not update correctly.
If vtkScalarsToColors::SetAnnotations(..,...) is called with certain arrays, and those array are later changed from code outside vtkScalarsToColors, vtkScalarsToColors never realizes the change. Calling SetAnnotations(..) again has no effect.

e.g.

vtkVariantArray* foo=...
vtkStringArray* bar=...

/// fill values

stc->SetAnnotations(foo, bar);

/// Render/Update the LUT. Annotations shown/used as expected

/// change values in foo and bar

stc->SetAnnnotations(foo, bar);

/// Render/Update the LUT. Annotations won't be changed, it will still
/// use the old values. DOing the following overcomes the issue:

stc->SetAnnnotations(NULL, NULL);
stc->SetAnnnotations(foo, bar);
No tags attached.
Issue History
2013-07-25 15:43Utkarsh AyachitNew Issue
2013-07-25 15:43Utkarsh AyachitAssigned To => David Thompson
2016-08-12 09:59Kitware RobotNote Added: 0038426
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved

Notes
(0038426)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.