Custom per-point glyphs

It looks like what I want is available in VTK: VTK: vtkProgrammableGlyphFilter Class Reference.

Is this something I could expose in Paraview as a simple XML plugin? I suppose I’m mostly worried about the function pointer, and whether it could take a python function.