Question
I am implementing an MPR viewer using VTK (axial / sagittal / coronal) based on the FourPaneViewer / ResliceCursor examples.
My setup includes:
-
vtkResliceImageViewer -
vtkResliceCursorWidget -
vtkImagePlaneWidget -
Custom
LeftButtonPressEventobserver to reposition the reslice cursor -
Parallel projection camera
Problem:
When I move slices (mouse click, scroll, or reslice cursor interaction), the image itself stays centered but the background expands or shrinks
I have tried:
-
Enabling parallel projection
-
Calling
ResetCamera()only once -
Disabling auto camera clipping (
SetAutoAdjustCameraClippingRange(false)) -
Restoring
ParallelScaleafter slice changes
But the background scaling issue still occurs
.
