Access volume rendering result

Using the volume rendering tool, I can view the brain vascular tree more clearly.

However, I want to access this output from within the Python code. Just like a segmentation node. So how can I get the rendering result? Can I transfer to a standalone node?

You can capture the image rendered in the 3D view as shown in this example in the script repository.

But my goal is not to export the rendering result to a 2d image file. I’m trying to get brain vessels in 3d. I think the most convenient way is to use “Scalar Opacity Mapping” under the “Volume Rendering” tool. A wonderful vascular tree information can be extracted. However, I want to assign this manuel rendering result to a 3d variable (or a node variable, 3d dijital matrix variable) and use it within the program.