How to set the size of resliced image in vtkImageReslice ??

Currently, I need to reslice a 2D image from a 3D volume image. The vtkImageReslice is a good choice.

My code is:

vtkSmartPointer<vtkImageReslice> resliceOperation = vtkSmartPointer<vtkImageReslice>::New();
resliceOperation->SetInputData(img);
resliceOperation->SetOutputDimensionality(2);
    resliceOperation->SetAutoCropOutput(true);
resliceOperation->SetSlabNumberOfSlices(1);
resliceOperation->SetOutputSpacing(1, 1, 1);
resliceOperation->SetResliceAxes(resliceAxes);
resliceOperation->Update();

This code work. However, I need the size of resliced image is 100*100, in which the center should be that in resliceAxes. And I use the code:

resliceOperation->SetOutputExtent(0, 100, 0, 100, 0, 1);

However, what I need is: originalReslicedImage[ centerX - 50: centerX + 50, centerY - 50: centerY + 50], where (centerX, centerY) is the center point in resliceAxes. But, now, what I get is: originalReslicedImage[0:100, 0:100].

How can I obtain the originalReslicedImage[ centerX - 50: centerX + 50, centerY - 50: centerY + 50] as the output of vtkImageReslice.

Any suggestion is appreciated.