Wrapping of classes that do not derive from vtkObject
@dgobbi Within SlicerRT project, a class was wrapped in VTK7 but not in VTK8. @cpinter was then wondering if it happened our of luck or if something else need to be done to support it.
The header of the class is here: https://github.com/SlicerRt/SlicerRT/blob/master/SlicerRtCommon/SlicerRtCommon.h
Associated build system is here, which ends up calling SlicerMacroPythonWrapModuleVTKLibrary, which in turn calls the Slicer module vtkMacroKitPythonWrap, and ultimately it class the VTK macro vtk_wrap_hierarchy
and vtk_wrap_python3
. See here
More details are available here: https://issues.slicer.org/view.php?id=4462
Edited by Jean-Christophe Fillion-Robin