Is it possible to provide an example of vtkProgrammableGlyphFilter in Python? I’m not sure how to handle the void function pointer.
I have just created an example based on the C++ version. Please see ProgrammableGlyphFilter.
Essentially you just create an observer and define a __call__
method. Also the class is initialised with the vtkProgrammableGlyphFilter
via the __init__()
method so there is no need to check for existence etc.
Also ProgrammableGlyphs may be of use.