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

Allow updating of existing mayavi mesh visualizations #32

Open
jabooth opened this issue Sep 14, 2016 · 0 comments
Open

Allow updating of existing mayavi mesh visualizations #32

jabooth opened this issue Sep 14, 2016 · 0 comments

Comments

@jabooth
Copy link
Member

jabooth commented Sep 14, 2016

Have this in my jabphd repo - basic use case is you need to render out a whole load of similar meshes with same camera setup:

fig = mlab.figure()
set_camera(fig, nice_pose_camera)
# render_function shows the mesh and returns a function that will update the view
# for new mesh data
update = render_mesh(mean)
mlab.safefig(...)
for mesh in meshes_to_visualize:
    update(mesh)
    mlab.safefig(...)

Issue is it takes something OOP ATM in menpo (per-mesh visualizer) and changes it to persist for many meshes.

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

No branches or pull requests

1 participant