Jimmy,
You can use `vtkSMPropertyHelper(glyph,
"Scalars").SetInputArrayToProcess(vtkDataObject::POINT, "Diameters")`.
Utkarsh
On Mon, Oct 23, 2017 at 5:19 AM, A . wrote:
> Dear community,
>
>
> I'm having a hard time figuring out how to set the "Scalars" property of a
> glyph object with the
Dear community,
I'm having a hard time figuring out how to set the "Scalars" property of a
glyph object with the C++ API.
In Python it's as easy as: glyph.Scalars=['POINTS', 'ScaleByThis']
In C++ I would assume something like: vtkSMPropertyHelper(glyph, "Scalars",
true).Set("['POINTS', 'Diam