Hello everyone,
please, pay attention to publication
https://vtk.org/Wiki/Example_from_and_to_python_converters
Example given here does not work.
In general it is not possible to do wrapper from c++ to python using boost. Yes, we send and receive one at the same address of object in c++ and in python, but we can’t work correct with memory, which connected with this address.
Herewith, if we type in Google “vtk c++ python wrapper example” then we get first link https://vtk.org/Wiki/VTK/Python_Wrapping_FAQ, using which we can see this example.
I spent a week to make sure that this method cannot work for vtk, due to the inability to work correct with copy constructor for vtk classes.
If I am not right, explain me please in what. Else, please remove the link to this example.
Thanks