-
- Downloads
Simplify PyVTKClass struct by removing vtk_mangle.
The vtk_mangle member was exactly the same as the python name for the class, so it can be retrieved from the PyTypeObject. I also renamed the vtk_cppname member to vtk_name and renamed its attrib to __vtkname__. This attrib is what the VTK GetClassName() method returns.
Showing
- Wrapping/PythonCore/PyVTKObject.cxx 13 additions, 15 deletionsWrapping/PythonCore/PyVTKObject.cxx
- Wrapping/PythonCore/PyVTKObject.h 5 additions, 9 deletionsWrapping/PythonCore/PyVTKObject.h
- Wrapping/PythonCore/vtkPythonUtil.cxx 4 additions, 5 deletionsWrapping/PythonCore/vtkPythonUtil.cxx
- Wrapping/PythonCore/vtkPythonUtil.h 1 addition, 2 deletionsWrapping/PythonCore/vtkPythonUtil.h
- Wrapping/Tools/vtkWrapPythonClass.c 3 additions, 3 deletionsWrapping/Tools/vtkWrapPythonClass.c
Loading
Please register or sign in to comment