simphony / simphony-mayavi

The mayavi adapters to the simphony framework
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

Make snapshot function capable of data selection and restoring scene setup #132

Closed kitchoi closed 8 years ago

kitchoi commented 8 years ago

Assume Mayavi 4.4.3.

Possible implementations:

Signature:

snapshot(cuds, filename, data=None, restore_visualisation=None)

Usage:

snapshot(cuds=particles, filename="saved.png",
                data=("TEMPERATURE", "VELOCITY"), 
                restore_visualisation="saved_scene.mv2")    # saved_scene.mv2 is previously saved
kitchoi commented 8 years ago

Discussion should go to the wiki page or the PR#136. Closing.

kitchoi commented 8 years ago

This PR is related and is merged #145