My vtk version is 9.1. When I used the mpr example, some problems occurred, and the centerline was not clearly displayed. Then I added this sentence to search for information
resliceCursorRep[i]->GetResliceCursorActor()->GetCenterlineProperty(0)->SetRepresentationToWireframe();//
resliceCursorRep[i]->GetResliceCursorActor()->GetCenterlineProperty(1)->SetRepresentationToWireframe();//
resliceCursorRep[i]->GetResliceCursorActor()->GetCenterlineProperty(2)->SetRepresentationToWireframe();//
Then the centerline can be displayed, but there are some new problems. When the centerline is in the vertical position, the color of the centerline will become black. I don't know how to solve this problem. Please help me