Hi, I think a bug was placed in vtk-9.2.2. In vtkResliceCursorRepresentation class at about line 309, line 310.
in void vtkResliceCursorRepresentation::ResetCamera() function. It defined a vector of 3 dimensions like:
double worldFocalPoint[3];
this->Renderer->GetWorldPoint(worldFocalPoint);
But when i debug in the GetWroldPoint function, it need a vector of 4 dimensions like i found in the vtkViewport class:
vtkSetVector4Macro(WorldPoint, double);
vtkGetVectorMacro(WorldPoint, double, 4);