Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix PYBIND11_VTK_TYPECASTER macro and supply typecasters for vtkRende… #5

Merged
merged 1 commit into from
May 30, 2023

Conversation

MILeach
Copy link
Collaborator

@MILeach MILeach commented May 25, 2023

Closes #1

Tested using Ubuntu 22.04, VTK 7.1.1 and python 3.10.

The PR includes a fix to the PYBIND11_VTK_TYPECASTER macro and then uses this macro to register vtkRenderer and vtkOpenGLRenderer with pybind. Python notebooks using visualisation now correctly display a rendering window, although the window doesn't show any output so this needs further investigation.

@MILeach MILeach requested a review from kwabenantim May 25, 2023 16:10
Copy link
Member

@kwabenantim kwabenantim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @MILeach. Returning vtkRenderer works now for me as well.

@kwabenantim kwabenantim merged commit ded78c3 into update May 30, 2023
@kwabenantim kwabenantim mentioned this pull request Jun 7, 2023
3 tasks
@kwabenantim kwabenantim deleted the vtk-renderer-fix branch June 7, 2023 13:48
kwabenantim added a commit that referenced this pull request Jun 9, 2023
fix PYBIND11_VTK_TYPECASTER macro and supply typecasters for vtkRende…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants