MantisBT - VTK
View Issue Details
0000495VTK(No Category)public2004-01-07 18:342016-08-12 09:54
john platt 
Will Schroeder 
lowfeaturealways
closedmoved 
 
 
0000495: Can only color map vtkDataSet with scalar attribute component 0
Can only colour map vtkDataSet using component 0 of scalar attribute data. The local instance of vtkPolyDataMapper in vtkDataSetMapper only copies the array component for field data. You are still required to use ColorByArrayComponent() to set the required component but the docs warn that this is a legacy method.

vtkDataSetMapper.cxx about line 132 - removing the check on the scalarmode gives me the required functionality but still requires use of ColorByArrayComponent(). Perhaps a default parameter in SetScalarModeToUse***() specifying the required component would be cleaner?
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036708
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

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

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