tomviz icon indicating copy to clipboard operation
tomviz copied to clipboard

Reset center of rotation after transforms

Open yijiang1 opened this issue 9 years ago • 3 comments

The default rotation center is at the center of the matrix: screen shot 2016-09-05 at 12 54 24 pm

If I do some transform that changes data size, say downsample by 2, then the rotation center often ends up at the corner like this screen shot 2016-09-05 at 12 54 36 pm

Is that possible to reset the rotation center to the center of the matrix after transforms?

yijiang1 avatar Sep 05 '16 17:09 yijiang1

Yes in theory, but in some cases that could lead to annoying behavior. What if you have two images open that occupy different spaces and you want to apply some transforms to both? Then the center will move to whichever transform was performed last, which could be just as irritating as the behavior now. Moreover, if the transforms for both images re-execute, the center could jump around as you are interacting with the visualization. There could even be a race condition between the thread where the transform is running and the main UI race condition.

cquammen avatar Oct 27 '16 21:10 cquammen

I can't think of any situations when people want the rotation center to be somewhere else other than the center of the matrix. I'd even automatically reset the rotation center if a transform changes matrix size. In general, I think the best way to handle multiple datasets is to put them in separate RenderView windows.

yijiang1 avatar Oct 28 '16 20:10 yijiang1

Can we just center all datasets to the origin? This is a recurring difficulty for users.

Hovden avatar Aug 07 '18 13:08 Hovden