Hi, Henry,
One way to do it is to assign multiple scalars to each vertex or cell in your geometry. Take a look at this: https://github.com/Kitware/VTK/blob/master/Examples/DataManipulation/Python/Arrays.py . It’s in Python, but translating that to another langage shouldn’t be a problem as the APIs are much the same.
cheers,
Paulo