I tried to wrap an extremely simple C++ function for Python but could never make it work.
Since you mentioned
“I can now write my own C++ Python extension and pass VTK/Python arguments to it”
I believe you have much more experience on this. Thanks.
Btw, I found your question while edited my question, the system recommended that to me.