I have been using python bindings to vtk and vtk for a few years now. I am now working on a legacy Fortran project and would like to have native access to the vtk library or something like it. does anyone have any suggestions?
An example would be able to pass a vtkPolyData like object to vtkFeatureEdges()
any thoughts on the best way to do this?
It should be possible to write C++ code that acts as an adapter. Basically it would be necessary to write the adapter functions in C++, they would have to be declared ‘
extern "C"’, and they would have to conform to the Fortran ABI. It could be done by someone who is familiar with calling C code from Fortran.
Thank you @dgobbi That is essentially what I was thinking based on what I was seeing.