# state file generated using paraview version 5.6.0

# ----------------------------------------------------------------
# setup views used in the visualization
# ----------------------------------------------------------------

# trace generated using paraview version 5.6.0
#
# To ensure correct image size when batch processing, please search 
# for and uncomment the line `# renderView*.ViewSize = [*,*]`

#### import the simple module from the paraview
from paraview.simple import *
#### disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()

# Create a new 'Light'
light1 = CreateLight()
light1.Enable = 0
light1.Intensity = 0.15

# get the material library
materialLibrary1 = GetMaterialLibrary()

# create light
# Create a new 'Render View'
renderView1 = CreateView('RenderView')
renderView1.ViewSize = [1280, 1024]
renderView1.AnnotationColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid = 'GridAxes3DActor'
renderView1.OrientationAxesVisibility = 0
renderView1.OrientationAxesLabelColor = [0.0, 0.0, 0.0]
renderView1.OrientationAxesOutlineColor = [0.0, 0.0, 0.0]
renderView1.StereoType = 0
renderView1.CameraPosition = [1.2819688766798885, 0.9465342094224396, 2.226917962201193]
renderView1.CameraFocalPoint = [-0.058570883910919316, -0.13916964202250456, -0.10145370363366712]
renderView1.CameraViewUp = [-0.12329430559727593, 0.924694275878659, -0.3601930182062501]
renderView1.CameraParallelScale = 0.9354143466934853
renderView1.Background = [1.0, 1.0, 1.0]
renderView1.AdditionalLights = light1
renderView1.OSPRayMaterialLibrary = materialLibrary1

# init the 'GridAxes3DActor' selected for 'AxesGrid'
renderView1.AxesGrid.XTitleColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid.XTitleFontFile = ''
renderView1.AxesGrid.YTitleColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid.YTitleFontFile = ''
renderView1.AxesGrid.ZTitleColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid.ZTitleFontFile = ''
renderView1.AxesGrid.GridColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid.XLabelColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid.XLabelFontFile = ''
renderView1.AxesGrid.YLabelColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid.YLabelFontFile = ''
renderView1.AxesGrid.ZLabelColor = [0.0, 0.0, 0.0]
renderView1.AxesGrid.ZLabelFontFile = ''

# ----------------------------------------------------------------
# restore active view
SetActiveView(renderView1)
# ----------------------------------------------------------------

# ----------------------------------------------------------------
# setup the data processing pipelines
# ----------------------------------------------------------------

# create a new 'Sphere'
sphere1 = Sphere()
sphere1.Radius = 0.05
sphere1.ThetaResolution = 64
sphere1.PhiResolution = 64

# create a new 'Box'
box1 = Box()
box1.XLength = 1.5
box1.ZLength = 0.5

# create a new 'Transform'
transform1 = Transform(Input=sphere1)
transform1.Transform = 'Transform'

# init the 'Transform' selected for 'Transform'
transform1.Transform.Translate = [-0.75, -0.5, -0.25]

# create a new 'Transform'
transform2 = Transform(Input=sphere1)
transform2.Transform = 'Transform'

# init the 'Transform' selected for 'Transform'
transform2.Transform.Translate = [0.75, 0.5, 0.25]

# create a new 'Extract Edges'
extractEdges1 = ExtractEdges(Input=box1)

# ----------------------------------------------------------------
# setup the visualization in view 'renderView1'
# ----------------------------------------------------------------

# show data from box1
box1Display = Show(box1, renderView1)

# trace defaults for the display properties.
box1Display.Representation = 'Surface'
box1Display.AmbientColor = [0.0, 0.0, 0.0]
box1Display.ColorArrayName = [None, '']
box1Display.Opacity = 0.5
box1Display.BackfaceRepresentation = 'Cull Backface'
box1Display.OSPRayScaleArray = 'Normals'
box1Display.OSPRayScaleFunction = 'PiecewiseFunction'
box1Display.SelectOrientationVectors = 'None'
box1Display.ScaleFactor = 0.1
box1Display.SelectScaleArray = 'None'
box1Display.GlyphType = 'Arrow'
box1Display.GlyphTableIndexArray = 'None'
box1Display.GaussianRadius = 0.005
box1Display.SetScaleArray = ['POINTS', 'Normals']
box1Display.ScaleTransferFunction = 'PiecewiseFunction'
box1Display.OpacityArray = ['POINTS', 'Normals']
box1Display.OpacityTransferFunction = 'PiecewiseFunction'
box1Display.DataAxesGrid = 'GridAxesRepresentation'
box1Display.SelectionCellLabelFontFile = ''
box1Display.SelectionPointLabelFontFile = ''
box1Display.PolarAxes = 'PolarAxesRepresentation'

# init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
box1Display.OSPRayScaleFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
box1Display.ScaleTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
box1Display.OpacityTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'GridAxesRepresentation' selected for 'DataAxesGrid'
box1Display.DataAxesGrid.XTitleColor = [0.0, 0.0, 0.0]
box1Display.DataAxesGrid.XTitleFontFile = ''
box1Display.DataAxesGrid.YTitleColor = [0.0, 0.0, 0.0]
box1Display.DataAxesGrid.YTitleFontFile = ''
box1Display.DataAxesGrid.ZTitleColor = [0.0, 0.0, 0.0]
box1Display.DataAxesGrid.ZTitleFontFile = ''
box1Display.DataAxesGrid.GridColor = [0.0, 0.0, 0.0]
box1Display.DataAxesGrid.XLabelColor = [0.0, 0.0, 0.0]
box1Display.DataAxesGrid.XLabelFontFile = ''
box1Display.DataAxesGrid.YLabelColor = [0.0, 0.0, 0.0]
box1Display.DataAxesGrid.YLabelFontFile = ''
box1Display.DataAxesGrid.ZLabelColor = [0.0, 0.0, 0.0]
box1Display.DataAxesGrid.ZLabelFontFile = ''

# init the 'PolarAxesRepresentation' selected for 'PolarAxes'
box1Display.PolarAxes.PolarAxisTitleColor = [0.0, 0.0, 0.0]
box1Display.PolarAxes.PolarAxisTitleFontFile = ''
box1Display.PolarAxes.PolarAxisLabelColor = [0.0, 0.0, 0.0]
box1Display.PolarAxes.PolarAxisLabelFontFile = ''
box1Display.PolarAxes.LastRadialAxisTextColor = [0.0, 0.0, 0.0]
box1Display.PolarAxes.LastRadialAxisTextFontFile = ''
box1Display.PolarAxes.SecondaryRadialAxesTextColor = [0.0, 0.0, 0.0]
box1Display.PolarAxes.SecondaryRadialAxesTextFontFile = ''

# show data from extractEdges1
extractEdges1Display = Show(extractEdges1, renderView1)

# trace defaults for the display properties.
extractEdges1Display.Representation = 'Surface'
extractEdges1Display.AmbientColor = [0.0, 0.0, 0.0]
extractEdges1Display.ColorArrayName = [None, '']
extractEdges1Display.DiffuseColor = [0.0, 0.0, 0.0]
extractEdges1Display.LineWidth = 10.0
extractEdges1Display.RenderLinesAsTubes = 1
extractEdges1Display.OSPRayScaleArray = 'Normals'
extractEdges1Display.OSPRayScaleFunction = 'PiecewiseFunction'
extractEdges1Display.SelectOrientationVectors = 'None'
extractEdges1Display.ScaleFactor = 0.1
extractEdges1Display.SelectScaleArray = 'None'
extractEdges1Display.GlyphType = 'Arrow'
extractEdges1Display.GlyphTableIndexArray = 'None'
extractEdges1Display.GaussianRadius = 0.005
extractEdges1Display.SetScaleArray = ['POINTS', 'Normals']
extractEdges1Display.ScaleTransferFunction = 'PiecewiseFunction'
extractEdges1Display.OpacityArray = ['POINTS', 'Normals']
extractEdges1Display.OpacityTransferFunction = 'PiecewiseFunction'
extractEdges1Display.DataAxesGrid = 'GridAxesRepresentation'
extractEdges1Display.SelectionCellLabelFontFile = ''
extractEdges1Display.SelectionPointLabelFontFile = ''
extractEdges1Display.PolarAxes = 'PolarAxesRepresentation'

# init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
extractEdges1Display.OSPRayScaleFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
extractEdges1Display.ScaleTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
extractEdges1Display.OpacityTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'GridAxesRepresentation' selected for 'DataAxesGrid'
extractEdges1Display.DataAxesGrid.XTitleColor = [0.0, 0.0, 0.0]
extractEdges1Display.DataAxesGrid.XTitleFontFile = ''
extractEdges1Display.DataAxesGrid.YTitleColor = [0.0, 0.0, 0.0]
extractEdges1Display.DataAxesGrid.YTitleFontFile = ''
extractEdges1Display.DataAxesGrid.ZTitleColor = [0.0, 0.0, 0.0]
extractEdges1Display.DataAxesGrid.ZTitleFontFile = ''
extractEdges1Display.DataAxesGrid.GridColor = [0.0, 0.0, 0.0]
extractEdges1Display.DataAxesGrid.XLabelColor = [0.0, 0.0, 0.0]
extractEdges1Display.DataAxesGrid.XLabelFontFile = ''
extractEdges1Display.DataAxesGrid.YLabelColor = [0.0, 0.0, 0.0]
extractEdges1Display.DataAxesGrid.YLabelFontFile = ''
extractEdges1Display.DataAxesGrid.ZLabelColor = [0.0, 0.0, 0.0]
extractEdges1Display.DataAxesGrid.ZLabelFontFile = ''

# init the 'PolarAxesRepresentation' selected for 'PolarAxes'
extractEdges1Display.PolarAxes.PolarAxisTitleColor = [0.0, 0.0, 0.0]
extractEdges1Display.PolarAxes.PolarAxisTitleFontFile = ''
extractEdges1Display.PolarAxes.PolarAxisLabelColor = [0.0, 0.0, 0.0]
extractEdges1Display.PolarAxes.PolarAxisLabelFontFile = ''
extractEdges1Display.PolarAxes.LastRadialAxisTextColor = [0.0, 0.0, 0.0]
extractEdges1Display.PolarAxes.LastRadialAxisTextFontFile = ''
extractEdges1Display.PolarAxes.SecondaryRadialAxesTextColor = [0.0, 0.0, 0.0]
extractEdges1Display.PolarAxes.SecondaryRadialAxesTextFontFile = ''

# show data from transform1
transform1Display = Show(transform1, renderView1)

# trace defaults for the display properties.
transform1Display.Representation = 'Surface'
transform1Display.AmbientColor = [0.0, 0.0, 0.0]
transform1Display.ColorArrayName = [None, '']
transform1Display.DiffuseColor = [1.0, 0.0, 0.0]
transform1Display.OSPRayScaleArray = 'Normals'
transform1Display.OSPRayScaleFunction = 'PiecewiseFunction'
transform1Display.SelectOrientationVectors = 'None'
transform1Display.ScaleFactor = 0.15000000000000002
transform1Display.SelectScaleArray = 'None'
transform1Display.GlyphType = 'Arrow'
transform1Display.GlyphTableIndexArray = 'None'
transform1Display.GaussianRadius = 0.0075
transform1Display.SetScaleArray = ['POINTS', 'Normals']
transform1Display.ScaleTransferFunction = 'PiecewiseFunction'
transform1Display.OpacityArray = ['POINTS', 'Normals']
transform1Display.OpacityTransferFunction = 'PiecewiseFunction'
transform1Display.DataAxesGrid = 'GridAxesRepresentation'
transform1Display.SelectionCellLabelFontFile = ''
transform1Display.SelectionPointLabelFontFile = ''
transform1Display.PolarAxes = 'PolarAxesRepresentation'

# init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
transform1Display.OSPRayScaleFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
transform1Display.ScaleTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
transform1Display.OpacityTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'GridAxesRepresentation' selected for 'DataAxesGrid'
transform1Display.DataAxesGrid.XTitleColor = [0.0, 0.0, 0.0]
transform1Display.DataAxesGrid.XTitleFontFile = ''
transform1Display.DataAxesGrid.YTitleColor = [0.0, 0.0, 0.0]
transform1Display.DataAxesGrid.YTitleFontFile = ''
transform1Display.DataAxesGrid.ZTitleColor = [0.0, 0.0, 0.0]
transform1Display.DataAxesGrid.ZTitleFontFile = ''
transform1Display.DataAxesGrid.GridColor = [0.0, 0.0, 0.0]
transform1Display.DataAxesGrid.XLabelColor = [0.0, 0.0, 0.0]
transform1Display.DataAxesGrid.XLabelFontFile = ''
transform1Display.DataAxesGrid.YLabelColor = [0.0, 0.0, 0.0]
transform1Display.DataAxesGrid.YLabelFontFile = ''
transform1Display.DataAxesGrid.ZLabelColor = [0.0, 0.0, 0.0]
transform1Display.DataAxesGrid.ZLabelFontFile = ''

# init the 'PolarAxesRepresentation' selected for 'PolarAxes'
transform1Display.PolarAxes.PolarAxisTitleColor = [0.0, 0.0, 0.0]
transform1Display.PolarAxes.PolarAxisTitleFontFile = ''
transform1Display.PolarAxes.PolarAxisLabelColor = [0.0, 0.0, 0.0]
transform1Display.PolarAxes.PolarAxisLabelFontFile = ''
transform1Display.PolarAxes.LastRadialAxisTextColor = [0.0, 0.0, 0.0]
transform1Display.PolarAxes.LastRadialAxisTextFontFile = ''
transform1Display.PolarAxes.SecondaryRadialAxesTextColor = [0.0, 0.0, 0.0]
transform1Display.PolarAxes.SecondaryRadialAxesTextFontFile = ''

# show data from transform2
transform2Display = Show(transform2, renderView1)

# trace defaults for the display properties.
transform2Display.Representation = 'Surface'
transform2Display.AmbientColor = [0.0, 0.0, 0.0]
transform2Display.ColorArrayName = [None, '']
transform2Display.DiffuseColor = [1.0, 0.0, 0.0]
transform2Display.OSPRayScaleArray = 'Normals'
transform2Display.OSPRayScaleFunction = 'PiecewiseFunction'
transform2Display.SelectOrientationVectors = 'None'
transform2Display.ScaleFactor = 0.010000000894069673
transform2Display.SelectScaleArray = 'None'
transform2Display.GlyphType = 'Arrow'
transform2Display.GlyphTableIndexArray = 'None'
transform2Display.GaussianRadius = 0.0005000000447034835
transform2Display.SetScaleArray = ['POINTS', 'Normals']
transform2Display.ScaleTransferFunction = 'PiecewiseFunction'
transform2Display.OpacityArray = ['POINTS', 'Normals']
transform2Display.OpacityTransferFunction = 'PiecewiseFunction'
transform2Display.DataAxesGrid = 'GridAxesRepresentation'
transform2Display.SelectionCellLabelFontFile = ''
transform2Display.SelectionPointLabelFontFile = ''
transform2Display.PolarAxes = 'PolarAxesRepresentation'

# init the 'PiecewiseFunction' selected for 'OSPRayScaleFunction'
transform2Display.OSPRayScaleFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'ScaleTransferFunction'
transform2Display.ScaleTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'PiecewiseFunction' selected for 'OpacityTransferFunction'
transform2Display.OpacityTransferFunction.Points = [293.1499938964844, 0.0, 0.5, 0.0, 913.1500244140625, 1.0, 0.5, 0.0]

# init the 'GridAxesRepresentation' selected for 'DataAxesGrid'
transform2Display.DataAxesGrid.XTitleColor = [0.0, 0.0, 0.0]
transform2Display.DataAxesGrid.XTitleFontFile = ''
transform2Display.DataAxesGrid.YTitleColor = [0.0, 0.0, 0.0]
transform2Display.DataAxesGrid.YTitleFontFile = ''
transform2Display.DataAxesGrid.ZTitleColor = [0.0, 0.0, 0.0]
transform2Display.DataAxesGrid.ZTitleFontFile = ''
transform2Display.DataAxesGrid.GridColor = [0.0, 0.0, 0.0]
transform2Display.DataAxesGrid.XLabelColor = [0.0, 0.0, 0.0]
transform2Display.DataAxesGrid.XLabelFontFile = ''
transform2Display.DataAxesGrid.YLabelColor = [0.0, 0.0, 0.0]
transform2Display.DataAxesGrid.YLabelFontFile = ''
transform2Display.DataAxesGrid.ZLabelColor = [0.0, 0.0, 0.0]
transform2Display.DataAxesGrid.ZLabelFontFile = ''

# init the 'PolarAxesRepresentation' selected for 'PolarAxes'
transform2Display.PolarAxes.PolarAxisTitleColor = [0.0, 0.0, 0.0]
transform2Display.PolarAxes.PolarAxisTitleFontFile = ''
transform2Display.PolarAxes.PolarAxisLabelColor = [0.0, 0.0, 0.0]
transform2Display.PolarAxes.PolarAxisLabelFontFile = ''
transform2Display.PolarAxes.LastRadialAxisTextColor = [0.0, 0.0, 0.0]
transform2Display.PolarAxes.LastRadialAxisTextFontFile = ''
transform2Display.PolarAxes.SecondaryRadialAxesTextColor = [0.0, 0.0, 0.0]
transform2Display.PolarAxes.SecondaryRadialAxesTextFontFile = ''

# ----------------------------------------------------------------
# finally, restore active source
SetActiveSource(box1)
# ----------------------------------------------------------------