itk-vtk-viewer
itk-vtk-viewer copied to clipboard
Reset Camera resizes image with Distance Widget
I saw some odd behavior today. Performing Camera Reset shrinks the display of the image when using the Distance Widget.
Steps to reproduce:
- Load a .vti image in the itk-vtk-viewer.
- Switch view to X plane (or Y or Z)
- Enable the Distance Widget and take a measurement on the image
- Click Reset Camera.
Result: Image shrinks substantially
@seattlewayne is the above what you observe or is there a bigger change?
I am seeing a much bigger change. After Reset Camera the image is rendered a quarter the size (or less) than the default. I have attached a simple test file that shows this behavior.
I bet the issue is related to the aspect ratio of the data. (That I did not look at).
The test file provided has a uniform aspect ratio on all three axes.