How to get the pixel data of the current view after adjusting the camera?

I use volume actor to create MPR view. When I adjust the camera, I want to get the pixel data of the new view before rendering. Can you help me?

You will need to renderWindow.captureImages to get the canvas pixel data. You can see the method signature here. For a single viewport, you will call it like renderWindow.captureImages()[0].then((base64URI) => ...).