As per my other thread, I have been trying to access some C++ functions through Python. Specifically, I am trying to access the GetPossibleConversions function of vtkSegmentation. The function was not available through Release Slicer(4.11 and 5.1). I have just built Slicer5.1 (and SlicerRT) from source on Windows 10, and the function is still not available.
Could someone point me to some documentation on how to wrapping VTK objects for Python? My understanding is that the process should be automatic, but I can’t figure out why some functions are wrapped and not others.
This method returns a very complex structure (vector of C++ object vectors and associated values), that cannot be automatically Python-wrapped. In the next two weeks I’ll add Python-wrappable, vtkObject based classes for storing segmentation conversion paths and parameters. These will make conversion methods available in Python.