File size: 832 Bytes
a8b7b1e
 
 
 
 
 
 
 
77dc289
 
 
1
2
3
4
5
6
7
8
9
10
11
Please generate a ParaView Python script for the following operations. 
Read in the file named "ml-slice-iso/data/ml-slice-iso.vtk". 
Slice the volume in a plane parallel to the y-z plane at x=0.
Take a contour through the slice at the value 0.5. 
Color the contour red. Use a white background.
Rotate the view to look at the +x direction. 
Save a screenshot of the result in the filename "ml-slice-iso/results/{agent_mode}/ml-slice-iso.png". 
The rendered view and saved screenshot should be 1920 x 1080 pixels.
(Optional, but must save if use paraview) Save the paraview state as "ml-slice-iso/results/{agent_mode}/ml-slice-iso.pvsm".
(Optional, but must save if use python script) Save the python script as "ml-slice-iso/results/{agent_mode}/ml-slice-iso.py".
Do not save any other files, and always save the visualization image.