Well I guess I have to figure out three more tasks:
- Get slicer to understand the size and the shape of the viewport
- Figure out how to call zoom function for red,green and yellow viewports. I found how to do it for the 3d Camera (Zoom in or out via python interactor version 4.8.0 on MAC). Considering the movement of Camera and zoom in/out in 3D world is signitifcantly different, I suppose different view/zoom in and out methods are used for red,green and yellow viewport.
- Zoom in/out to get bounds of segment fit the viewport
To get this done correctly, I will have to spend some time
I will be reading more today and tomorrow and in the next week about this, try to figure it out…