TomographicImaging / CILViewer

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

Issue with viewer orientation #352

Open lauramurgatroyd opened 1 year ago

lauramurgatroyd commented 1 year ago

XY axis is expected to be in this orientation: image

Switching to XZ view and back again keeps the XY axes in the same orientation. However, switching to YZ and back again, causes it to become oriented like this: image

lauramurgatroyd commented 1 year ago

See https://github.com/vais-ral/CILViewer/issues/104 for related work on orientation

DanicaSTFC commented 2 months ago

This is about the rotations done in x y z. we should set the view rather than rotating.

code in https://github.com/vais-ral/CILViewer/blob/471c82a81f3b95dd6f177a7890596d9c40f4df22/Wrappers/Python/ccpi/viewer/CILViewer2D.py#L331-L344