Give each array a name (vtkDataArray::SetName()) and use AddArray
(vtkFieldData:AddArray()) instead of using the atttibutes based API
(vtkDataSetAttributes::Set{Scalars/Tensors/Vectors})
ParaView uses named array access almost exclusively anyway.
David E DeMarle
Kitware, Inc.
Principal
How does one use 2 (or more) scalar fields in a dataset, e.g. one for a
colormap, one to scale glyphs? E.g., Pgmable Source:
pdo = self.GetPolyDataOutput()
num_pts = 2
newPts = vtk.vtkPoints()
cell_color_ID = vtk.vtkFloatArray()
cell_radius = vtk.vtkFloatArray()