Can only color map vtkDataSet with scalar attribute component 0
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
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?