TomographicImaging / CILViewer

A simple Viewer for 3D data built with VTK
Apache License 2.0
8 stars 6 forks source link

Code for saving initial camera should be moved into the viewer #327

Closed lauramurgatroyd closed 1 year ago

lauramurgatroyd commented 1 year ago

Currently this lives in the web viewer.

a CameraData object stores the original camera, so that it can be reset to later: https://github.com/vais-ral/CILViewer/blob/5953150362a94195d4284b0a933497b59f856919/Wrappers/Python/ccpi/web_viewer/trame_viewer3D.py#L100

https://github.com/vais-ral/CILViewer/blob/5953150362a94195d4284b0a933497b59f856919/Wrappers/Python/ccpi/web_viewer/trame_viewer3D.py#L372