enthought / enthought/mayavi

Extract View from Mayavi Scene

Open
#589 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

I am using mlab to produce a Mayavi figure/scene with a triangular mesh using mlab.show(). Once the scene is open, I can manipulate the mesh to be in the view that I would like. I would like to extract this view from the current scene so I can generate other images using the exact same view. Is there a way to extract the current view (azimuth, elevation, distance, focal point) from an open figure/scene? I have tried to estimate the view from the original settings using v = view(), but it is not as precise as I would like. Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.