Added three new Python scripts to utils/WrapperTemplates:
makeWrapperConfigFile.py (the main script)
pythonutils/extractor.py (utilities class for parsing information out of the .h file)
pythonutils/distiller.py (utilities class for writing information to the .lwp file)
They implement a partial but functional proof of concept for turning C++ headers for ITK/OTB filters into wrapper configuration files for LUMASS. You'll find a more detailed writeup of what was and wasn't done in the attached Word document. I included some thoughts about where to potentially go from here as well. (I hope! Let me know if the upload didn't work and I'll get it to you through another channel.)
Note: It says that 5 files were changed but only 4 of those are actually meaningful. The changes in makeWrapperFactory.py are purely related to (auto)formatting that my IDE does and weren't strictly speaking meant to be committed at all. There are no functional changes within that script.
Added three new Python scripts to utils/WrapperTemplates:
They implement a partial but functional proof of concept for turning C++ headers for ITK/OTB filters into wrapper configuration files for LUMASS. You'll find a more detailed writeup of what was and wasn't done in the attached Word document. I included some thoughts about where to potentially go from here as well. (I hope! Let me know if the upload didn't work and I'll get it to you through another channel.)
[ITKOTB_automated_filter_wrapping.docx] (https://github.com/manaakiwhenua/LUMASS/files/15055634/ITKOTB_automated_filter_wrapping.docx)
Note: It says that 5 files were changed but only 4 of those are actually meaningful. The changes in makeWrapperFactory.py are purely related to (auto)formatting that my IDE does and weren't strictly speaking meant to be committed at all. There are no functional changes within that script.