How to use the UseImageActor properties of the vtkResliceCursorRepresentation object

I found that there is a significant difference in grayscale display between the vtkResliceCursorWidget and vtkImageViewer2 classes when displaying images at the same window width and level. Through comparison, it was found that vtkImageViewer2 displays images more accurately, using the ImageActor object。 the displaying object of vtkResliceCursorWidget vtkResliceCursorRepresentation that also has the UseImageActor attribute, But when I use UseImageActorON or SetUseImageActor() to set it to 1, the image is not displayed