| from paraview.simple import * |
|
|
| |
| paraview.simple._DisableFirstRenderCameraReset() |
|
|
| |
| wavelet1 = Wavelet(registrationName='Wavelet1') |
|
|
| |
| renderView1 = GetActiveViewOrCreate('RenderView') |
|
|
| |
| wavelet1Display = Show(wavelet1, renderView1, 'UniformGridRepresentation') |
|
|
| |
| wavelet1Display.Representation = 'Outline' |
|
|
| |
| renderView1.ResetCamera(False) |
|
|
| |
| renderView1.Update() |
|
|
| |
| plotOverLine1 = PlotOverLine(registrationName='PlotOverLine1', Input=wavelet1) |
|
|
| |
| plotOverLine1Display = Show(plotOverLine1, renderView1, 'GeometryRepresentation') |
|
|
| |
| plotOverLine1Display.Representation = 'Surface' |
|
|
| |
| lineChartView1 = CreateView('XYChartView') |
|
|
| |
| plotOverLine1Display_1 = Show(plotOverLine1, lineChartView1, 'XYChartRepresentation') |
|
|
| |
| layout1 = GetLayoutByName("Layout #1") |
|
|
| |
| AssignViewToLayout(view=lineChartView1, layout=layout1, hint=0) |
|
|
| |
| plotOverLine1Display_1.SeriesOpacity = ['arc_length', '1', 'RTData', '0.3', 'vtkValidPointMask', '0.3', 'Points_X', '0.3', 'Points_Y', '0.3', 'Points_Z', '0.3', 'Points_Magnitude', '0.3'] |
| plotOverLine1Display_1.SeriesPlotCorner = ['Points_Magnitude', '0', 'Points_X', '0', 'Points_Y', '0', 'Points_Z', '0', 'RTData', '0', 'arc_length', '0', 'vtkValidPointMask', '0'] |
| plotOverLine1Display_1.SeriesLineStyle = ['Points_Magnitude', '1', 'Points_X', '1', 'Points_Y', '1', 'Points_Z', '1', 'RTData', '1', 'arc_length', '1', 'vtkValidPointMask', '1'] |
| plotOverLine1Display_1.SeriesLineThickness = ['Points_Magnitude', '2', 'Points_X', '2', 'Points_Y', '2', 'Points_Z', '2', 'RTData', '2', 'arc_length', '2', 'vtkValidPointMask', '2'] |
| plotOverLine1Display_1.SeriesMarkerStyle = ['Points_Magnitude', '0', 'Points_X', '0', 'Points_Y', '0', 'Points_Z', '0', 'RTData', '0', 'arc_length', '0', 'vtkValidPointMask', '0'] |
| plotOverLine1Display_1.SeriesMarkerSize = ['Points_Magnitude', '4', 'Points_X', '4', 'Points_Y', '4', 'Points_Z', '4', 'RTData', '4', 'arc_length', '4', 'vtkValidPointMask', '4'] |
| plotOverLine1Display_1.SeriesVisibility = ['arc_length', 'Points_Z', 'RTData'] |
|
|
| |
| SaveScreenshot('chart-opacity/results/{agent_mode}/chart-opacity.png', lineChartView1) |
|
|